Re: [Flashcoders] duplicate movieclip with loading image

2007-01-05 Thread R�kos Attila

No, you cannot duplicate anything that was changed/loaded at runtime
(including images, child movieclips, variables, etc). The result of
the duplication is always an exact copy of the original movieclip
symbol (as it presented in the library). You have two options:

- you can load your image again and since it is already present in the
  browser's cache, it will load much faster
- capture the image into a BitmapData object and then you can copy it
  to another BitmapData in any movie clip

  Attila

nV Hi to all
nV is it possible
nV first load jpg in movie clip
nV holderCur.loadMovie(jpgLoaded);
nV 
nV then duplicate this clip after loading
nV holderCur.duplicateMovieClip(holderLast,1)
nV 
nV I could not see duplicated clip. What solution can be?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] duplicate movieclip with loading image

2007-01-05 Thread natalia Vikhtinskaya

Tell me please do images always in browser cache? I found today that my
browser doesn't do that and it loads the same image as a new. I checked the
folder with Temporary files  and did not found any swf or images from pages
that I visited. How it possible?

2007/1/5, Rákos Attila [EMAIL PROTECTED]:



No, you cannot duplicate anything that was changed/loaded at runtime
(including images, child movieclips, variables, etc). The result of
the duplication is always an exact copy of the original movieclip
symbol (as it presented in the library). You have two options:

- you can load your image again and since it is already present in the
browser's cache, it will load much faster
- capture the image into a BitmapData object and then you can copy it
to another BitmapData in any movie clip

Attila

nV Hi to all
nV is it possible
nV first load jpg in movie clip
nV holderCur.loadMovie(jpgLoaded);
nV
nV then duplicate this clip after loading
nV holderCur.duplicateMovieClip(holderLast,1)
nV
nV I could not see duplicated clip. What solution can be?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] duplicate movieclip with loading image

2007-01-05 Thread natalia Vikhtinskaya

Thank you! It can help.
I nothing did with my browser and can not understand why it stops caches
files. Any idea?

2007/1/5, [EMAIL PROTECTED] [EMAIL PROTECTED]:


hi,
you can load your jpg into an mc, then copy pixel using BitmapData class

see this:
http://www.senocular.com/flash/source.php?id=0.174

natalia Vikhtinskaya ha scritto:
 Hi to all
 is it possible
 first load jpg in movie clip
 holderCur.loadMovie(jpgLoaded);

 then duplicate this clip after loading
 holderCur.duplicateMovieClip(holderLast,1)

 I could not see duplicated clip. What solution can be?
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



--
massimiliano canestrari

- [EMAIL PROTECTED]
- [EMAIL PROTECTED]
- [EMAIL PROTECTED]

fix +39 (0)6 58333624
mobile +39 334 6523562
mobile +39 347 6706210
V. Pescia, 6 - roma
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com