flash AS help?
flash AS help?
Out of context: Reply #7
- Started
- Last post
- 8 Responses
- plagro0
In response to antistatic's comment about onLoadInit - you're right, my apologies...
onLoadComplete is triggered when the file is completely loaded but before any of the functionality is loaded (eg gotoAndPlay etc), onLoadInit is triggered after the first frame of the file is loaded, so all of the functionality is available.
airey - simply swap onLoadComplete for onLoadInit in my code above. Also if you've never used it before, check out onLoadProgress which is really useful for making easy loading bars etc