Solved

using flex3 and flex4 together

Posted on 2011-02-10
1
285 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

825 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