Welcome, Guest
  • Author Topic: External Text issue with Flash CS2 actionScript 2.0  (Read 4755 times)

    cferg

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    Hi anyone-
    I'm having a frustrating issue with loading external text, and I hope someone can help:

    Background:
    I've got photography site that has the main flash file ("index"). From there I load an external movie (let's say, "landscapes") into "index". My index, buttons, etc. all control the external movies. From the external movie ("landscapes"), I then load another external movie into landscapes to see the photos. So I click on thumbnail one it loads photos1 etc. All this works perfectly.

    Now for my issue: in the "photos1" swf file i have some simple commands: I transition in then "stop()";. On that same actions frame I execute "this.loadVariables ("pathname");". Now when I test the movie, my photo and text load in perfectly. When I move a movie clip up and test the "landscapes" file, it loads my photos1 file and subsequently the photo and text perfectly. HOWEVER, when I go to my root index SWF file and test it, it loads all external movie clips perfectly but DOES NOT LOAD MY EXTERNAL TEXT! What on earth is going on, I have checked everything from masks to broken code, and nothing. I think it might by something in my index.swf file, but have no idea. Has anyone else had a similar issue?

    Thanks for any help!

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: External Text issue with Flash CS2 actionScript 2.0
    « Reply #1 on: 02/28/09, 13:19 »
    sounds like a path issue.
    Make sure you are allways using relative paths - if you are not sure, where you are right now, place a trace(this) command into the section of doubt.
    happy flashing
    8)
    Ronald

    cferg

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    Re: External Text issue with Flash CS2 actionScript 2.0
    « Reply #2 on: 03/20/09, 23:29 »
    Thanks for your response. Why then would it show up two movie clips down, but not three? I did trace, and it showed my levels, but I'm not loading into levels. Crazy.

    Marc

    • Server what's that
    • *
    • Posts: 10
      • View Profile
    Re: External Text issue with Flash CS2 actionScript 2.0
    « Reply #3 on: 03/21/09, 01:34 »
    Are you using _root in your paths anywhere? In that case it could be a problem when you load that swf into another swf because then _root is not the same scope anymore, but the outer most timeline.

    As Ronald wrote, I would also recommend relative paths.

    //Marc

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: External Text issue with Flash CS2 actionScript 2.0
    « Reply #4 on: 03/21/09, 03:40 »
    It seams, you did not understand how flash loads movieclips.

    Every single movieclip needs its own level - if you reuse a level, the movieclip residing there will be overwritten.

    After you are using Flash 8 and AS2.0, and the next stept to AS3 has to be gone one day, dont get used to use fixed levels.

    Get used to objects, containers etc. to manage your movieclips.

    Even though Flash 8, AS2 still allows you using levels (if you dont use components ;) ), Flash CS3/4 ... AS3 do not support this inflexibla static addressing anymore.

    At first, it takes a little more learning - but then it makes life, at least with larger sites, much easyer and managable.
    happy flashing
    8)
    Ronald