Doodle Doo
Sign up
for our newsletter to read our latest news.


TIP #5 | LoadMovie and Alt Text

When using loadMovie to load an external jpg or swf into a holder movieclip, make sure to replace it with the newer MovieClipLoader code. A downside of loadMovie is that it causes any properties of the movieclip to be wiped out when the new content has been loaded, including any alt text that has been assigned.

So replace this code:

holder_mc.loadMovie(“external.swf”);
holder_mc._accProps = new Object();
holder_mc._accPRops.name = “alt text”;

With this:

var mcListener:Object = new Object();
mclListener.onLoadComplete = function() {
// assign alt text here when finished loading
}
var loader:MovieClipLoader = new MovieClipLoader();
loader.addListener(mclListener);
Loader.loadClip(“external.swf”,  holder_mc);

To read all the tips, select ‘Flash Accessibility Tips’ on the side bar.

29 Responses to “TIP #5 | LoadMovie and Alt Text”

  1. tyler Says:

    .

    ñýíêñ çà èíôó….

  2. David Says:

    .

    ñýíêñ çà èíôó….

  3. Rene Says:

    .

    tnx for info!…

  4. benjamin Says:

    .

    ñïñ!!…

  5. chris Says:

    .

    ñýíêñ çà èíôó!!…

  6. gene Says:

    .

    ñïñ!!…

  7. roland Says:

    .

    thanks for information!…

  8. Raymond Says:

    .

    tnx!!…

  9. vernon Says:

    .

    áëàãîäàðþ!…

  10. james Says:

    .

    ñïàñèáî çà èíôó….

  11. Terrance Says:

    .

    áëàãîäàðþ!…

  12. Freddie Says:

    .

    ñýíêñ çà èíôó….

  13. Fernando Says:

    .

    ñïàñèáî!…

  14. justin Says:

    .

    ñïñ!…

  15. norman Says:

    .

    ñýíêñ çà èíôó!…

  16. wayne Says:

    .

    ñïñ!…

  17. Gregory Says:

    .

    good!!…

  18. Donnie Says:

    .

    ñïàñèáî çà èíôó!…

  19. christopher Says:

    .

    áëàãîäàðñòâóþ!…

  20. Danny Says:

    .

    thanks for information….

  21. Adrian Says:

    .

    ñïàñèáî çà èíôó!…

  22. Alfredo Says:

    .

    thank you….

  23. marc Says:

    .

    hello….

  24. Wesley Says:

    .

    áëàãîäàðþ!…

  25. eddie Says:

    .

    ñïñ!!…

  26. Billy Says:

    .

    ñïàñèáî!!…

  27. alex Says:

    .

    thanks for information!…

  28. Aaron Says:

    .

    ñýíêñ çà èíôó!!…

  29. norman Says:

    .

    thanks for information….

Leave a Reply

You must be logged in to post a comment.