
再帰表現法―スタック・ソート・ハノイの塔・検索・フラクタル図形・視覚処理・再帰方程式
再帰処理でものすごいループが発生する場合に
Flash Playerが無限ループと勘違いして、「実行速度が遅くなっています。」とかのアラートを出してスクリプトの実行を停止させてしまうのだけど、計算自体は間違っていない場合ここをなんとか踏ん張ってもらってアラートを出さずに終了してもらえないのだろうか?
悩ましいな・・・。
なんか良い計算方法ないかしら・・・。

再帰表現法―スタック・ソート・ハノイの塔・検索・フラクタル図形・視覚処理・再帰方程式
再帰処理でものすごいループが発生する場合に
Flash Playerが無限ループと勘違いして、「実行速度が遅くなっています。」とかのアラートを出してスクリプトの実行を停止させてしまうのだけど、計算自体は間違っていない場合ここをなんとか踏ん張ってもらってアラートを出さずに終了してもらえないのだろうか?
悩ましいな・・・。
なんか良い計算方法ないかしら・・・。
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 (opens in a new window)
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 (opens in a new window)
You can find more information in our Cookie Policy and Privacy policy.
「ぬう・・・」への5件の返信
1フレーム内でループしてるのがまずいと思うので、そのループを別のフレームに引き継げればいけるような気がしますー。javaとかだとそういうクラスがあるとかないとか・・・
パブリッシュの設定でスクリプトの制限時間というのがありますが、これは関係ないですかね。違ってたらすみません。
>1フレーム内でループしてるのがまずいと思うので
はぃmethod分かれてればタイマーで時差入れて実行も可能なのですが、再帰処理(そのメソッドからそのメソッドを呼び返す)なのでフレーム分けるって対応が難しいんですよね。数的に言うと
Σ(400-i)
i=0→400
見たいな再帰になりかねない・・みたいな・・。
>パブリッシュの設定でスクリプトの制限時間
おお?!それはCS3ですか?
実はまだFlash8なのです・・・orz
>パブリッシュの設定でスクリプトの制限時間
CS3でした。。
CS3でplayer8書き出しならいけるっぽいです。
おお!
その機能Flash8にも欲しい!w