header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Venkatesan
Points:170
Posts:0

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.



1
Rex
Points: 1280
Posts:0
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.

2
Venkatesan
Points: 170
Posts:0
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!!

3
Rex
Points: 1280
Posts:0
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.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions