Create a Complete Flash XML Gallery Tutorial – Actionscript 3.0

Create a Complete Flash XML Gallery Tutorial – Actionscript 3.0

In this video we will create a complete, yet simple XML gallery. This tutorial is somewhere between Interemediate and Advanced level so if you know a little bit about actionscript you should be just fine, but if you are adventurous you should be able be fine no matter your skill level. We will create nice click-through gallery using XML and actionscript 3.0.

More from Nathaniel Dodson
The Extract Filter – Photoshop CS2
The Extract Filter In Photoshop CS2 Learn how to make and use...
Read More
Join the Conversation

95 Comments

  1. says: Niranthm

    There can’t be much intuitive tutorial than this one! This is the way to go about AS3! Thank your for this tutorial! I just loved it! 

  2. Hi. I’ve folowed the instructions to the letter. Exact same structure – image numbering, images, xml file &swf in the same folder. The first trace event shows the xml file contents as shown in the tutorial. I get to line 17 and Control Test Movie throws the following error:

    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

    Any ideas anyone?

    Here’s the code:

    var xmlRequest:URLRequest = new URLRequest(“imageDataFood.xml”);

    var xmlLoader:URLLoader = new URLLoader(xmlRequest);

    var imgData:XML;

    var imageLoader:Loader;
    var rawImage:String;

    var imgNum:Number = 0;

    xmlLoader.addEventListener(Event.COMPLETE, xmlLoadedF);

    function xmlLoadedF(event:Event):void{
    imgData = new XML(event.target.data);

    rawImage = imgData.image[imgNum].imgURL;

    imageLoader = new Loader;

    imageLoader.load(new URLRequest(rawImage));

    master_mc.addChild(imageLoader);

    }

  3. says: Chris

    Hi,I nave a problem with the positioning. It gives me this error

    Scene 1, Layer ‘as3’, Frame 1, Line 33 1195: Attempted access of inaccessible method x through a reference with static type flash.display:Loader.

    on those two lines :

    imageLoader.x(stage.stageWidth-Number(rawW))/2;

    imageLoader.y(stage.stageHeight-Number(rawH))/2;

  4. Pingback: https://tribot.org
  5. Pingback: Economics Tuition
  6. Pingback: poker online
  7. Pingback: Agen Bandarq
  8. Pingback: yandex ankara
  9. Pingback: قاب گوشی
  10. Pingback: Casalinghi imola
  11. Pingback: yandex ankara
  12. Pingback: yandex ankara
  13. Pingback: de nature bohong
  14. Pingback: de nature jakarta
  15. Pingback: venus factor
  16. Pingback: obat kutil kelamin
  17. Pingback: Ciri Virus Hpv
  18. Pingback: Nanah
  19. Pingback: Sipilis
  20. Pingback: kanker
  21. Pingback: harga obat kencing
  22. Pingback: fightinjustice
  23. Pingback: nanah
  24. Pingback: benjolan
  25. Pingback: Obat Kencing Panas
  26. Pingback: itu
  27. Pingback: antibiotik
  28. Pingback: kemaluan bernanah
  29. Pingback: de nature official
  30. Pingback: obat kutil kelamin
  31. Pingback: hiv
  32. Pingback: kidul
  33. Pingback: kencing
  34. Pingback: kelapa
  35. Pingback: di
  36. Pingback: di
  37. Pingback: di
  38. Pingback: kutil
Leave a comment
Leave a comment

Your email address will not be published. Required fields are marked *