Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Flash AS loadMovie....

Flash AS loadMovie....
Thread Tools
Mac Elite
Join Date: Oct 1999
Status: Offline
Reply With Quote
Nov 15, 2004, 01:58 AM
 
I've some loadMovie() functions for .swf files in an array, BUT also would like to bring it the top, as it were, with:
mainstage.swapDepths(getNextHighestDepth());

mainstage being the targeted movie clip for the swf. It appears to work, but after a time, though, the whole things starts blanking out and tweaking. Any thoughts?

Code:
function setStage() { unloadMovie(mainstage); unloadMovie(textarea); mainstage.swapDepths(getNextHighestDepth()); } function idClick(art, txt) { gotoAndPlay("id"); setStage(); loadMovie(idArtList[art], mainstage); loadMovie(idList[txt], textarea); }
Also, the **Click(); functions are called by on (release) of course.

Could it be just testing with duplicate array members screwing things up? Any ideas? Some better techniques?

The end result should be some art loads in a movieclip on one side, and text loads in the other. It all seems so simple...

Thanks.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2