Possibly, but I have not worked with data grids.
But deleting it completely will clear it so when you load it again it
will probably let the scroll bar get the correct height.
I'm thinking.
Karl
On Oct 4, 2009, at 5:57 PM, Paul Andrews wrote:
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
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders