Solved

using flex3 and flex4 together

Posted on 2011-02-10
1
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is this doable in Flex/AIR - pointers? 5 285
convert array collection to string. The array has excess information. 22 2,081
Flash As3 Swf 3 761
adobe air 1 309
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…
We have put together a white paper that aims to explain how MSPs can both improve their offering and ease the pain of after-hours service by: -Suggesting changes to workflow -Indicating how to rework policy to suit your team -Providing ConnectW…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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