A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: loadMovie() question..With Screenshot.

  1. #1
    Member
    Join Date
    Mar 2003
    Location
    Tha 4th Die'Mention beyond the Plane of Tranquility
    Posts
    85

    loadMovie() question..With Screenshot.

    Hello Flash Ninja's!

    Thank you for taking the time to view my question. I hope I can explain myself properly. Below is a screenshot to help.

    I am developing a website and to save time I am using some tools I bought online. I would like to add these to my main.fla but the Web Photo Gallery and CoffeCup Calendar only publish .swf's and have no .fla with them.

    How do I get these components into the main.fla like shown in the picture?






    P.S. Could I just make tables in Dreamweaver and have the menu.swf control my other.swf in a different cell of the same table? This would solve everything but I dont think it will work.


  2. #2
    AS3 Mod
    Join Date
    Sep 2007
    Location
    O-H-I-O
    Posts
    2,385
    Do you have two empty movieclips on stage that should be loading your external swf files? I can't tell from your images. Also make sure you have your empty clips named.

    I can kind of read your code loadMovie but it's too small and disorted for my eyes.

  3. #3
    Member
    Join Date
    Mar 2003
    Location
    Tha 4th Die'Mention beyond the Plane of Tranquility
    Posts
    85
    Thanks sstalder for your reply!

    Indeed I do have two empty movie clips on the main stage. Below is my sweet AS2.0 with errors.

    //My sweet code in frame 1!!!!!
    loadMovie("gallery.swf","mySquare");
    loadMovie("mycalendar.swf","myCalendar");

    //Errors
    Error opening URL 'file:///C|/Documents%20and%20Settings/jfire/Desktop/Beta/Main.xml'
    Error opening URL 'file:///C|/Documents%20and%20Settings/jfire/Desktop/Beta/thumbnails/' //*This is for the photo gallery and the one below is the same as well.
    Error opening URL 'file:///C|/Documents%20and%20Settings/jfire/Desktop/Beta/images/'

  4. #4
    AS3 Mod
    Join Date
    Sep 2007
    Location
    O-H-I-O
    Posts
    2,385
    It appears to me that the gallery.swf and mycalendar.swf requires those files and directories. Do you have them created?

    Sometimes this also wont work locally, have you tried testing on the web?

  5. #5
    Member
    Join Date
    Mar 2003
    Location
    Tha 4th Die'Mention beyond the Plane of Tranquility
    Posts
    85
    The files are located in the same folder as the main. I never thought about testing on the web though. Thanks for the idea and for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center