yoshiweb.NET

setTimeout と setIntervalの書き方 for ActionScript 2.0 / 1.0

Flash CS4 で作った flaファイル ( ActionScript 2 )の setTimeout が
Flash CS5で「タイプが一致しません。」とコンパイルエラーがでて書き出せなかった!!

setTimeout は1度だけ実行してくれる setInterval だと思ってたけど
Flash CS5以降はsetIntervalにシンタックスは許可してない(?)みたい。

setTimeout 関数
http://help.adobe.com/ja_JP/AS2LCR/Flash_10.0/00000607.html

setInterval 関数
http://help.adobe.com/ja_JP/AS2LCR/Flash_10.0/00000605.html

setInterval(functionReference:Function, interval:Number, [param1:Object, param2, ..., paramN]) : Number
setInterval(objectReference:Object, methodName:String, interval:Number, [param1:Object, param2, ..., paramN]) : Number

↑下の書き方は setTimeout では使えない


FN0512001 - setTimeout()関数 - Flash : テクニカルノート
http://www.fumiononaka.com/TechNotes/Flash/FN0512001.html

Flash CS4までは使えましたがドキュメントに載ってないものは自己責任ってことですかね。

投稿日 : 2014年07月25日 - yoshiweb - カテゴリ: ActionScript

コメント

投稿者 : junk cars for cash

Thank you for any other fantastic post. The place else may just anybody get that type of information in such an ideal approach of writing?
I have a presentation subsequent week, and I am at the search for such info.
2022年07月05日 21時44分42秒

投稿者 : bit.ly

I love your blog.. very nice colors & theme. Did you create this website yourself or
did you hire someone to do it for you? Plz reply as I'm looking to construct
my own blog and would like to find out where
u got this from. cheers
2022年07月15日 09時02分49秒

投稿者 : tinyurl.com

Simply wish to say your article is as amazing. The clearness on your
publish is just cool and i could suppose you're an expert on this
subject. Well along with your permission allow me to clutch your
feed to stay up to date with impending post. Thank you
one million and please carry on the rewarding work.
2022年07月22日 14時05分59秒

投稿者 : t.co

This is very interesting, You're a very skilled blogger. I
have joined your rss feed and look forward to seeking more of your fantastic post.
Also, I have shared your website in my social networks!
2022年07月23日 03時24分32秒

投稿者 : tinyurl.com

Attractive portion of content. I simply stumbled upon your blog
and in accession capital to assert that I acquire actually loved account your blog posts.
Anyway I'll be subscribing on your augment and even I fulfillment you get admission to constantly fast.
2022年07月23日 10時57分04秒

投稿者 : tinyurl.com

Does your website have a contact page? I'm having a tough time locating it
but, I'd like to send you an e-mail. I've got some suggestions for your blog you might
be interested in hearing. Either way, great site and I look forward to
seeing it expand over time.
2022年07月26日 15時08分14秒

投稿者 : http://tinyurl.com/

If you would like to grow your know-how just keep visiting this web site and be updated with the
latest news posted here.
2022年07月28日 10時46分29秒

投稿者 : tinyurl.com

Great post! We are linking to this great post on our website.

Keep up the great writing.
2022年08月01日 10時06分12秒

投稿者 : tinyurl.com

I'm not sure exactly why but this blog is loading extremely slow for me.
Is anyone else having this issue or is it a problem on my end?

I'll check back later on and see if the problem still exists.
2022年08月02日 09時55分44秒

投稿者 : tinyurl.com

Having read this I thought it was very informative. I appreciate you spending some time and effort to
put this article together. I once again find myself spending a significant amount of time both reading
and commenting. But so what, it was still worthwhile!
2022年08月03日 12時05分55秒

投稿者 : http://www.isisinvokes.com

Fantastic site. Lots of helpful info here.
I'm sending it to a few buddies ans also sharing in delicious.
And certainly, thanks in your effort!
2022年08月08日 11時54分31秒

投稿者 : tinyurl.com

Wow, awesome blog structure! How long have you been blogging for?
you make running a blog look easy. The entire glance of your web site is great, as neatly as the content!
2022年08月08日 18時25分59秒

投稿者 : www.thaicann.com

Useful info. Fortunate me I discovered your website by chance, and I am shocked why this twist of fate did not happened in advance!

I bookmarked it.
2022年08月10日 10時41分11秒

投稿者 : http://tinyurl.com

Hi, I do think this is an excellent website. I stumbledupon it ;) I am going to come back yet again since i have saved as a favorite it.
Money and freedom is the best way to change, may you be rich and continue
to guide others.
2022年08月11日 01時23分55秒

投稿者 : special

This is the perfect webpage for everyone who wants to understand this
topic. You realize a whole lot its almost tough to argue with you (not that I actually
will need to…HaHa). You definitely put a new spin on a topic that has been discussed for
decades. Wonderful stuff, just excellent!
2022年08月11日 21時24分50秒

投稿者 : http://tinyurl.com/2hok28jk

whoah this blog is wonderful i love studying your articles.
Stay up the good work! You recognize, lots of individuals are looking around for this info,
you could help them greatly.
2022年08月13日 18時53分58秒

投稿者 : http://tinyurl.com

Hi there to all, how is all, I think every one is
getting more from this website, and your views are nice for new visitors.
2022年08月15日 10時30分01秒

投稿者 : tinyurl.com

Hi this is kind of of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually
code with HTML. I'm starting a blog soon but have no coding know-how so I wanted to get guidance from someone with experience.
Any help would be greatly appreciated!
2022年08月16日 22時34分44秒

投稿者 : tinyurl.com

Wow, superb blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your site is
wonderful, let alone the content!
2022年08月17日 18時42分51秒