8/16/2010 11:04:12 PM
Title:
Equivalent of Div scroll fixed in flex
Hi all.
I have a doubt regarding flex 4. Is there any equivalent property of fixed div position in flex??
I mean in html we can create a div and in its css we can say that position as 'fixed' so that the particular div does not scroll when we scroll the page. It remains in the same position.
I want a similar thing in flex. I have a vgroup in my application which i dont need to listen to scroll of my html page(Note: my application doesn have flex scrollbar. it has html scroll bar only).
So when i scroll my app, the vgroup should always b visible.
for the scenario i said plz check this link
http://www.cnet.com/
at the bottom there is a black colored div which doesn't scroll with the page scroll..
hoping for a positive response.
8/17/2010 12:21:00 AM
You can place your flash file in div and make that div static so that when you scroll html your flash file stays fixed . But this works for whole flash file not just a vgroup. Flash does not listen to page scroll bar but is forced by browser to move.
8/17/2010 12:32:31 AM
@Rex:
The idea would work. But there would be lots of workarounds in it. If i put it as a separate div then the group alone should be an application and any click on the group should be communicated the other application which is a little overhead compared to having in as one.
Correct me if i am wrong!!
8/17/2010 1:03:12 AM
you are right , but there does not seems to be another solution. Flash can only be displayed where swf file is embedded in page so cannot display its component to any other part.