all groups > flash actionscript > april 2004 >
You're in the

flash actionscript

group:

Tell me it isn't true!!



Tell me it isn't true!! targetplanet
4/15/2004 9:45:55 PM
flash actionscript: Is it true that when duplicating a movieclip that has a dynamicly loaded image,
the image will not duplicate?
This is what is happening to me, and from what I have read, it is a lost cause.
Please tell me it isn't so, and how to fix it...
Re: Tell me it isn't true!! Peter Blumenthal
4/15/2004 10:55:22 PM
Sorry, it IS so. You have to reload the content. Depending on the users
browser settings, the image will normally be cached.

--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'If I come across as a grumpy and twisted old man, it's just because I'm a
grumpy, twisted, old man." - me
---------------------------------------

Re: Tell me it isn't true!! Pete Hughes
4/16/2004 6:48:06 PM
For the caching to have a prayer of working, be sure to wait until Instance 1
of the image is loaded before trying to get repeats. Has anyone gotten that
approach to work reliably (can say DOES work not SHOULD work)? Seems risky to
me and being conservative I embed the image.
Re: Tell me it isn't true!! targetplanet
4/16/2004 7:11:47 PM
Well since I really didn't need 2 instances of the clip, I solved my problem be
swaping depths and moving clip, instead of creating and deleting a clip. It
just would have been smoother to dup...
I would be interested as to why duping the dynamic content doesn't work..
Re: Tell me it isn't true!! Peter Blumenthal
4/17/2004 12:49:17 PM
Yeah, I've used it fairly reliably for a 'collage' type application I built
a few months ago. As i said though, it DOES depend on the browser cache
settings of the user viewing the content.

--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'If I come across as a grumpy and twisted old man, it's just because I'm a
grumpy, twisted, old man." - me
---------------------------------------



Re: Tell me it isn't true!! Peter Blumenthal
4/17/2004 12:50:59 PM
I can't give you a technical rundown of why. You see the same behaviour
duplicating clips you have drawn into using Flash's drawing api, or clips
with dynamically attached sub-clips etc if you duplicate them dynamically
also.

--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'If I come across as a grumpy and twisted old man, it's just because I'm a
grumpy, twisted, old man." - me
---------------------------------------

..

AddThis Social Bookmark Button