Solved

using flex3 and flex4 together

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why does my Sprite always have a width and height of ZERO? 2 963
[HELP PLEASE] -- calc columns in datagrid 13 475
Actionscript 3 317
Adobe X Reader 6 342
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 article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now