A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Load JPG into flash Problem

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    3

    Load JPG into flash Problem

    Hi all,

    I am having a problem with the load image into flash behavior. I have it working but i need a script that would tell flash to unload that particular jpg when i click off to something else. Can someone please help.

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    loadMovie("image.jpg",target_mc);

    then

    unloadMovie(target_mc);

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Posts
    3
    can you explain a little bit in detail i am a designer i rarely code this stuff but i know enough to get by.

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    If you keep loading the new pictures in the same container clip, there's really no use in unloading the previous content, since loading a new content will automatically clear the previous one...

    If you still want to unload it, the correct syntax, would be...

    _level0.container_mc_instance_name.unloadMovie();

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