PDA

View Full Version : Help with ext Image / Text Fader



newLearner
June 6th, 2003, 05:25 PM
I am new to MX and have very basic concepts.

I have a very general requirement that seemed very simple:

Step 1:

Load a new external JPEG image into a MC with a string var encoding a string caption in the URL link (VALUE="../fadeTest.swf?someTextVar=TestCaption") within the EMBED / OBJECT sections.
I know how to do this and it semed to work fine.

STEP2:

When the JPEG is loaded I would like the substituted Text to Fade In over the JPEG. The JPEG should also fade in before the Text. The fade rate should be programmable.

STEP3:

After a programmable period of time say 5 seconds, the process is repeated with a new external JPEG and Text Captions
until the loop iterations is complete. The loop iteration is also programmable.

Seemed like a very normal MX functionality.

Now where do I start? Any help is truly appreciated

Thank you

Chris

IbnHaque
June 18th, 2007, 11:09 AM
I am new to MX and have very basic concepts.

STEP2:

When the JPEG is loaded I would like the substituted Text to Fade In over the JPEG. The JPEG should also fade in before the Text. The fade rate should be programmable.


Chris

Well I can't help you much with programming the times, I am kind of new to Actionscript as well. But if you want text to load over the movie once a given movie has loaded you can use something like this:

if(nextMovie!="movie1.swf"){
nextMovie="movie1.swf";
loadMovie("text.swf", text);
}

You would have to change your jpgs and texts into separate movies tho... lol.
Hope it helps