Solved

using flex3 and flex4 together

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

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…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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