Mikael Wirén wrote:
Hi folks,
New member, or actually old member back on the list.
Backstory:
I am doing a flash piece for a clients intranet. Due to update policies i
have to work with flash player 8.
So i´m back to Flash 8 =).
I never did any component work back then.
Now i´m using a data grid component in one part of the movie.
Can anyone point me to some good reading about unloading a dataGrid
component.
Now i use:
destroyObject("my_dg")
to get rid of it.
But for some reason that plays havoc with removing the container movieClip
with:
removeMovieClip(content_clip)
Plus 2nd time i load the data grid the scrollbar is about 10px shorter than
the actual dataGrid?
It seems someone in their marketing staff got a look at the prototype and
decided to use it in a live presentation tomorrow.
So my work week starts early =)
And i had to do a pretty darn bad movieClip removal. I´m actually forcing
the container out by creating an empty movieClip at the same depth.
I have no clue what this does for preformance.
Any pointers to any documentation / resources / examples are greatly
appreciated.
A lot of people seem always to remove and recreate components. Would it
be possible to keep the component and just hide it, rather than remove
and recreate all the time?
Paul
Best regards
Micke
----------------------------------------------
Mikael Wirén
Flash Monkey / Co founder
Madness Marketing
http://www.madnessmarketing.com
[email protected]
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders