Multiple Layouts in Flex

Hi Folks,

I was investigating into the possibilities of having multiple layouts within the Flex Application. For e.g i need to have a Image Right Text Left layout and then I need to have a Text Only layout,

So basically I have multiple layouts based on Assets and text.

So i was trying to find out if I have different template names like TextLeftImageRight, Text, TextLeftFlashRight.

How would I achieve it.

Thanks

RG
rgarimellaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zzynxSr. Software engineerCommented:
>> For e.g i need to have a Image Right Text Left layout and then I need to have a Text Only layout
I think I don't understand. For what component?
Maybe helpful: http://learn.adobe.com/wiki/display/Flex/3c.+Designing+a+UI+-+Layout
0
rgarimellaAuthor Commented:
It is not for a Single component, but for the entire canvas, I need to have different layouts/templates for each page. Lets say you are on page 1 the layout is all text only with back and next buttons.

when you click on the next button, the layout/canvas changes to Text Box on left and Image holder on right.

So I need to have different layouts on each next button click

HTH

Thanks
0
rgarimellaAuthor Commented:
If you see this page

http://learn.adobe.com/wiki/display/Flex/Combined+Layout

You see that you have 4 different layouts on the same page.

I want to have these layouts on 4 different pages. when you click on Next, the next layout shows up

HTH
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

zzynxSr. Software engineerCommented:
>> I want to have these layouts on 4 different pages. when you click on Next, the next layout shows up
Then you definitely need to use the ViewStack component: http://livedocs.adobe.com/flex/3/html/help.html?content=navigators_3.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgarimellaAuthor Commented:
Thanks, exactly what I was looking for
0
zzynxSr. Software engineerCommented:
thanx 4 axxepting
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Flex

From novice to tech pro — start learning today.