A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: runtime sharing

  1. #1
    membrillo
    Join Date
    Oct 2002
    Location
    Spain
    Posts
    122

    runtime sharing

    Hi
    I have one swf (main.swf) with a list with let's say 20 buttons, each of which will load an image into a container to the right of that list.
    Since there will be 20 images I thought I would stream them in order not to have to load a 800KB file.
    So I have another SWF (pics.swf)loading silently inside the main swf with all the pics in the timeline every 5 frames, and in every keyframe an action to make visible the button that calls the corresponding pic.
    This way the buttons show "loading image" and when pics.swf stream every button is make clicable and displays "image loaded".
    I have no problems with this part, but with what's next.

    Buton1 must be able to call pic1 from the library of pics.swf and it must appear immediately since that pic is already loaded (I guess)
    I think I must use attachMovie but I don't know how to do it properly.
    Also must the pics be inside a MC? Do the pics have to be exported for runtime sharing?

    Someone who has done this before may be can point me to the right way.
    Thanks

  2. #2
    membrillo
    Join Date
    Oct 2002
    Location
    Spain
    Posts
    122
    I think it will be clearer if you see what I have so far
    http://www.jvcreacion.com/conecta/seccion3.swf
    I hope someone can help me

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