MC collision detect
- Started
- Last post
- 6 Responses
- shellin
I know I can google this, and already have, but am not finding the right article, so I figured I'd try here.
Basically, I have a liquid layout full browser flash site, where the different movieclips are repositioning to the stage based on the browser size. I have maximized the movieclip elements to not overlap at 1024x768 resolution. When I resize the browser to less than that, the movieclips do overlap, which i don't want.
Basically, I would like there to be detection that makes the elements stop repositioning and the browser scroll bar appears so that the page can scroll. Make sense??
Any help or links on this is greatly appreciated. Thanks!
- lvl_130
i have also been trying to figure this out...
- lvl_130
right. i know what kirupa is. i have yet to find a solution to shellin's original question. the ability to show scrollbars when objects get moved/positioned out of the browser.
and not flash scroll bars.
- amullins0
just add an externalinterface call to a listener function which sets up the flash object's wrapper (in the dom) css so that it controls the browser scrollbars. make sense?
- Fariska0
since for a liquid layout you have to embed the flash as w=100% and h=100%, you cannot have scrollbars anymore.
You can call a javascript function from flash that switch the embedding parameters from 100% embed to w=yourvalue h=yourvalue. But possibly you will have to reload the flash.
Even if you read dinamically the size of the browser and then embed the flash with the dinamically read values, at every window resize you'll have the flash reloaded
So, the only solution seems to be flash scrollbars
- shellin0
Thanks for the help. Maybe a flash scroll bar is what I will need after the elements stop repositioning. Thanks for the link Fariska.