A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: load & unload movie in the same button

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    27

    load & unload movie in the same button

    Hi. i'm loading a jpg into a holder with a button. but would like the same button to unload the mc...
    something like

    on release
    if holder.loaded
    unload
    else
    load....

    thank you in advance

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    loadMovie automatically performs unloadMovie to clear the holder clip

    test with a fast setInterval (1) and trace the bytesTotal property,
    for a split second it will show 0 as the unloadMovie action is activated

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Posts
    27
    i'm sorry i didn't understand..
    can anyone explain me, please

  4. #4
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    if loading into same holder, no need to unload, it does it automatically

    any clearer .. ??

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