[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

using flex3 and flex4 together

Posted on 2011-02-10
1
Medium Priority
?
292 Views
Last Modified: 2012-05-11
hi guys

i want to know if i can use flex 3 and flex 4 together

this is my namespace in flex 3 mxml page

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">


In flex 3 mxml page can i say something like

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"              -- from flex 3
            xmlns:s="library://ns.adobe.com/flex/spark" >          -- from flex 4

...

and in the flex build path can i use flex3 and flex4 sdk?

i dont want to switch completely to flex 4 because i have mx components created using flex 3
which error out in flex4.
so i want to use only the spark components from flex4 in my flex 3 environment.

thanks
0
Comment
Question by:royjayd
1 Comment
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 2000 total points
ID: 34863827
Well the namespaces should be other ones, but it's pretty common to mix mx components and spark components as there is not a spark equivalent for all mx components (ViewStack, Grid, DataGrid, Form, FormItem, ...)
<mx:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:s="library://ns.adobe.com/flex/spark">

...

</mx:Application>

Open in new window

0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question