A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: LoadMovie calling image outside flash

  1. #1
    Senior Member
    Join Date
    Aug 2009
    Posts
    113

    LoadMovie calling image outside flash

    Ok I have so many images for every html page. So what I want to do, instead of typing
    pic.loadMovie("image1.jpg","_level2");
    pic.loadMovie("image2.jpg","_level2");

    I just want to call a variable like

    PHP Code:
    pic.loadMovie("loadImage","_level2"); 
    Is it possible so that in HTML, ill just replace loadIMage with the real image1.jpg???

  2. #2
    var x:Number = 1; x /= 0;
    Join Date
    Dec 2004
    Posts
    549
    It sounds to me like you are trying to pass variables to flash from your HTML page. This link should help.

    http://www.manuelnegri.com/web_design/flash_tut1.htm
    Z¡µµ¥ D££

    Soup In A Box

  3. #3
    Senior Member
    Join Date
    Aug 2009
    Posts
    113
    i will read now. thank yo so much~

  4. #4
    Senior Member
    Join Date
    Aug 2009
    Posts
    113
    it was not working... can somebody help?

  5. #5
    Junior Member
    Join Date
    Dec 2002
    Posts
    8
    You should post the code that you have so it can be checked for errors.
    Jim

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