今やっている仕事で高さ6650以上(!)ある外部JPEGを読み込むことになったのですが、これが2880pxで見事にちょん切られますw
元々Flashのワークステージ、および手動で作成するオブジェクトの上限が2880pxってのは知っていたのですが、外部読み込みのJPEGにまで制限が発生するとは予想してなかったw
元のサイズを50%とか、入れ子にして親のサイズを取得とか色々やってみたけど、どーもうまくいかず。ということでとりあえずメモ。
今やっている仕事で高さ6650以上(!)ある外部JPEGを読み込むことになったのですが、これが2880pxで見事にちょん切られますw
元々Flashのワークステージ、および手動で作成するオブジェクトの上限が2880pxってのは知っていたのですが、外部読み込みのJPEGにまで制限が発生するとは予想してなかったw
元のサイズを50%とか、入れ子にして親のサイズを取得とか色々やってみたけど、どーもうまくいかず。ということでとりあえずメモ。
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
Google reCAPTCHA helps protect websites from spam and abuse by verifying user interactions through challenges.
Google Tag Manager simplifies the management of marketing tags on your website without code changes.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
A video-sharing platform for users to upload, view, and share videos across various genres and topics.
Service URL: www.youtube.com
You can find more information in our Cookie Policy and Privacy policy.
「外部JPEGが2880px以上の場合」への3件の返信
うーん、やっぱFlash内部ではどうしようもないですね。
2880px以上の場合はソース自体を分割するとかする必要があるかもしれません。(管理的にはリンケージで共有させるのが楽そうだけど、ビットマップがリンケージIDでアタッチとかできるのかと言われると自信なし)
はじめまして。
2880px以上のjpgですが、僕は6000pxのjpgを2000*3にしてそれを各個mcにして3つのmcを囲って6000pxのmcを作ってました・・・どうやら画像2枚を並べて4000pxのmcを作っても無理のようですね。
>tatsさん
そーですねー。もう画像ソース自体を区切ってもらう方法にしました。ただ今回は動的に連動するパターンだったんでMovieClipLoaderをつかってそれに配列渡してその各イメージの読み込みが全て完了してからASで配置場所を決定して表示という方法を取りました。
この手の管理は通常のloadMovieだと煩雑になるんですが、MovieClipLoaderだと一括で管理できるので、まさにMovieClipLoaderさまさまですw