Porting Flex 2 apps to Flex 3 (SDK)
Is there a list somewhere of the specific changes made in Flex 3?
http://blogs.adobe.com/flexdoc/2008/02/migrating_from_flex_2_to_flex.html
Ok, this helps, but looking here, it mentions style property changes. Trying SDK 3 real quick on an SDK 2 app I can see that there are some most definite visual 'problems' that must be style (default value?) setting related, stupid stuff I suppose like padding or border settings and so on. Is there a list of these changes anywhere?
http://blogs.adobe.com/flexdoc/2008/02/migrating_from_flex_2_to_flex.html
http://learn.adobe.com/wiki/display/Flex/Backwards+Compatibility+Issues
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex / AIR Development, Training, and Support Services
Similar Messages
-
App developed with AIR 1.5 (or Flex 3 sdk) export to Tablet
I have an enterpise app maked with Adobe AIR 1.5, developed with Flex 3 SDK and halo components (MX not Spark).
I want to export this app to a tablet for my client (this app is very easy to use in a touch screen). But i supose that i have to rewrite all app in Flex Hero SDK (and export with AIR 2.6) and its hard.
Anyone has export an app developed with Air 1.5 or Flex 3 SDK to a tablet of android, blackberry or IOS with AdobeAIR 2.5 or 2.6?
Perhaps it could run in a tablet of Windows 7 but this tablets seems realy poor...
Thanks guys!Anyone has an old app made in flex 3 or air 1.5 who wants to export an tablet?
-
I've been programming a fairly complex Flash app for a while
now. It began as a Flash 8 app. I am more of a programmer than a
designer, so my program was pretty much implemented in *.as files
even in Flash 8. I've been porting the application to Flex 2
SDK/Flash 9/ActionScript 3 (which suits my workflow fantastically
since I tend to do everything in code) and I'm 99% done and really
happy with the results... The only issue I'm running into is this
one:
When porting my app to Flex 2 SDK, I opted to just make a
class called Player which subclasses flash.display.Sprite and then
I would pass Player.as into the mxmlc compiler directly, avoiding
the use of any MXML at all. Player acts as my top level
displayobjectcontainer under the Stage. This works great, except
the last class I need to port over for my current application uses
an mx.control.TextArea. I tried to just "new" one and then addChild
it to the parent, and while that doesn't cause any compilation
errors or runtime exceptions or anything, the TextArea never
displays. I did some research and it seems like the only reasonable
way to add a TextArea is to define it in MXML, which means that I
now need an MXML for my project. There are loads of example MXMLs
to be found all over the place, but all the ones I find tend to be
way more complicated that I want or need. My basic question is,
what is the easiest way to take what I have and get it working with
an MXML shell with the least amount of changes to my app, which
works great as-is (other than the fact that I can't use mx controls
without an MXML).
I tried the obvious solution, making a simple MXML that
references my Player class (which I changed to subclass
UIComponent) and a TextArea:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application width="400" height="400" xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*">
<Player id="player"/>
<mx:TextArea id="titleArea" width="10" height="10"
text=""/>
</mx:Application>
This kind of works the way I would expect, except the 'stage'
member of Player is null -- why is this? How can I get a reference
to the global stage if my top level UIComponent class' 'stage'
member is null? Why is it null? It isn't null when I mxmlc the
Player.as file directly. Since I do a lot of my button/other
control resizing based on stage height and since I want to grab the
stage's loaderInfo.parameters, I really need a reference to the
stage!
It may be kind of hard to follow what I'm asking because in a
way I'm trying to subvert the 'Flex' way of doing things and have
as little MXML as possible, but if anyone has any pointers on how I
can do this, I'd love to hear them. Please keep in mind I'm using
the Flex 2 SDK, not Flex Builder, so I'd prefer to hear how I can
make this work just with MXML and ActionScript, not via the Flex
Builder UI.I have similar problem with mxml.xsd, but I need this file to
configure IntelliJ IDEA for supporting of mxml.
"Flex provides an XML schema to enable IDEs that support XML
with code coloring, code hinting, etc., including IntelliJ IDEA,
Borland JBuilder, and Altova xmlspy. You can also use code editors
such as VI and emacs with Flex."
But I did not found any xsd file :-(
http://www.adobe.com/uk/products/flex/productinfo/tooling/ -
[svn:osmf:] 13494: Update build script to work with Flex 4 SDK.
Revision: 13494
Revision: 13494
Author: [email protected]
Date: 2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010)
Log Message:
Update build script to work with Flex 4 SDK.
Modified Paths:
osmf/branches/flex4/build/build.xmlNo, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
./mxmlc MyFlexApp.mxml
If you are building an AIR application, you will use amxmlc
./amxmlc MyAIRFlexApp.mxml
Then, launch your AIR application using adl
./adl.exe MyAIRFlexApp-app.xml
Hope this helps,
Joan -
I recently started reading up and learning a little about
Flex 2.0. I work a lot with Coldfusion and it seems like a good
match. I have very little Flash / AS experience although I have
been a developer using many other languages (CF, VB, C#, JSP, etc)
for a number of years so I know I can handle the coding aspect
fine. And years ago I did a lot of Macromedia Director work which
is at least somewhat similar to Flash.
What I am looking for is some good basic tutorials for
database-driven apps using only the SDK - I am not quite ready to
spend the $500 on the IDE just yet. I did download the 30-day demo,
but (as usual) I got too busy and didn't do enough with it before
it ran out. Now I have the SDK downloaded and working (I even found
a neat bit of code to compile the .mxml documents right from the
command menu in Dreamweaver which is nicer and a lot more
convenient compiling in a command prompt window.
Please provide some good links to relevent sdk articles and
tutorials. I want to see mostly how to build the UI, call out to a
Coldfusion page to get a data query and return the results back to
the UI. We use mostly Oracle at work but I will be playing at home
using MySQL. I would like to see examples of both. I am sure we
won't be using the Flex Data Services (at least not yet).
Thanks in advance.
ScottTry this: http:www.lynda.com
Lots of video tutorials on Flex and also integrating with
CF!! -
Using Flex 2 SDK to compile for Flash Lite 2.0
As I understand Flash Lite 2.0 is a stripped down version of
Flash 7 (that is ActionScript 2.0) with a couple of things added
for mobile specific things. But is it possible to use the free Flex
2 SDK to compile a SWF that will run on Flash Lite 2.0 (or Flash 7
for that matter).
ZarathrustaI'm not familiar with Flash Lite 2.0, so maybe I shouldn't be
answering this, but I've used the SDK for several projects and I
believe that like Flex Builder it requires at least Flash 8. So, if
FL is comparable to Flash 7, I doubt if it would work. Just my
humble opinion, but hope it helps.
Later,
Andy C.(never #) -
There's no beta 2 sdk download. At the top of the beta 2 download page it says...
"As a reminder, everything that is in the Flex 4 SDK is also included in Flash Builder 4, so you will not need to download the SDK if you plan on using Flash Builder."
But if you download the win version of Flash Builder the beta 2 SDK only has the win version of the Adobe AIR Runtime.
If you download the Mac version of Flash Builder the beta 2 SDK only has the Mac version of the Adobe AIR Runtime.
You need to manually merge these to make a full SDK.
This was discovered because we check in the SDK into perforce... and when people tried to execute our AIR based test runner on both win and mac when we only had the win version of the adobe air runtime checked in... we got "Adobe AIR could not be found" on the mac versions.
After copying the mac version into the SDK and checking it in... it worked just fine.It's probably best to file a bug at http://bugs.adobe.com/flex/ (not sure if this would potentially be an SDK issue or a Builder issue, but we can move it after the fact if it should belong somewhere else).
Also, if you post the bug number here, I can try and speed it through the process.
Peter -
Can I use Text Layout Framework with Flex 3 SDK?
Greetings,
I have to develop a complex custom widget, with custom text wrapping behaviour. Text Layout framework seem to offer fine level of control, but we are trying to keep our project in Flash player 9, and therefore we are using Flex 3 sdk.
Can I use the framework with flex sdk 3 and therefore flash player 9?
Best Regards
SerefFor that you need to install flex sdk 3.5 framework and choose your defauls framework to flex 3.5 it will work and as well instal flash player 10
-
Installing Flex 4 SDK on Eclipse IDE
Hi,
I want to use Eclipse IDE with Flex 4 SDK but am unable to do so. I have looked at various blog posts & threads dealing with the same, most of them are obsolete(in the sense posted way back in 2005/07 with very old Eclipse releases) or I am not getting the desired results.
The links I have referred to are below-
http://arunbluebrain.wordpress.com/2008/12/05/flex-40-gumbo-tutorial-installing-flex-40-sd k-in-eclipse-ide-flash-player-10/
http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfm
http://www.roseindia.net/flex/compiling_flex_on_eclipse.shtml
http://blog.wezside.co.za/2008/01/complete-starter-guide-to-develop-flash.html
I have tried the trial of Adobe Flex Builder & it was really a painless job to get going. But right now I cannot afford a license of the same so I am looking at open source alternatives.
Can anyone help the newbies like me by giving a brief walkthrough regarding installing Flex SDK on Eclipse, it would be of great help.
Thanks in advance,
RaghavI was disappointed with the kind of response from a forum like this to an amateur like me.
I found a way around, decided not to use Eclipse at all with Flex SDK. Instead I am using Flash Develop which is a free IDE specific for Flash & Flex and integrating Flex SDK is pretty easy in that. Provided a very good feature set for a free software. Anyone stuck with this problem I suggest to go ahead with FlashDevelop instead of trying to figure out Eclipse. It is available for download here
http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page -
Hi,
I'd like to download the Flex 2 SDK. When I click the
download button nothing happens. I'm using Firefox 2.0.0.1 on
Windows XP Pro SP2. Is the download working? If so, any suggestions
as to what's going on?
Cheers,
ChrisIt's working now.
-
Redistributing the Flex 2 SDK?
Hello,
Let say my application uses the Flex 2 SDK to generate a
Flash application. May I freely redistribute the Flex 2 SDK when I
distribute my application to my clients or should I instruct them
to download it from the adobe website instead?
I read the lisense.htm file but it's lawer's language and
cannot be understanded by us human beings. So, any clear answer
would be greatly appreciated :)
Thank you.Hi,
The SDK is not redistributable, you will need to have your
clients download the SDK themselves. In section 2.1.1 of the EULA
we discuss what you can redistribute which really can only be
framework code that you've modified (sections c and d). If you make
no modifications you cannot redistribute.
Matt -
Where is the Flex/AIR SDK?
Adobe used to release a combined SDK for Flex and Air that could be used with Flash Builder. There is still a link with this description on the Air SDK download page.
http://www.adobe.com/devnet/air/air-sdk-download.html
However, the combined SDK does not appear on the gaming page. There is only something new called the Gaming SDK.
http://gaming.adobe.com/getstarted/
Is the Flex/AIR SDK available somewhere for AIR 3.5? Or do I need to get the Gaming SDK?There is also an AIR SDK outside the gaming SDK. I am looking for the Flex/AIR combination.
-
Integration between Flex 3 SDK and Flash Builder 4.6
I buy a book for Flex 3 SDK and I want to create this book exmaple in Flash Builder 4.6 ...
infact I want to build a CMS with Flash Builder and this book discuss for it but in Flex 3 SDK.
please show link to me for completely explanation.
tanks a lotdont import it, do it from scratch in fb4
-
Flash builder 4 and flex 3 sdk - co-existence?
Can I install Flash Builder 4 Premium on the same XP machine with Flex 3 SDK without conflicts?
Thanks.Yes.
Perhaps you meant to ask about Flash Builder 4 and Flex Builder 3 co-existing? If so, then yes, you can also have Flash Builder 4 and Flex Builder 3 on the same machine without any conflicts; although I would not recommend installing them in the same eclipse instance.
You can also have as many Flex SDKs installed on your machine at a time and have Flex Builder 3 or Flash Builder 4 setup to use all the SDKs. Although, I don't thikn it is possible to use use more than one SDK as part of a single project. it'd be impractical, if not impossible.
I think that covers all bases. -
Porting an iPhone app to a desktop app
I am new to objective C and Cocoa, and yet have managed to develop a pretty complex app for the iPhone.
Being lazy, I would like to also run this on a Mac Pro for instance, or other Mac computers/laptops.
Is there a simple way for me to "port" my iPhone app to the desktop?
Thanks.Well its not necessarily easy, and you also have to think about rewriting your views for Mac OS X, and not the iPhone, and also keep in mind you have to have a completely different interface in Mac OS X compared to the iPhone. Note that something complex in a mobile device might not be complex at all on a full desktop environment. But considering you have already created the application for the iPhone, you know where your headed and have your objects planned out, and also saying that you can program Mac in the same coding language, it should be easier than scratch right?
-
Porting a Workshop app to another J2EE server?
Hello all. I'm new to WL Workshop and have been reading abou the required Workshop
Runtime. Is this something that could be ported to another J2EE compliant server?
I noticed the PageFlow Portability Kit for the page flows... but what about the
Runtime engine itself?
Also, does anyone know what is contained in it or how it is deployed. If its as
simple as a jar that could be moved over that would be nice... but I doubt its
as simple as that. thanks!Blake--
The "Runtime Engine" that you mention is the Workshop controls
runtime. Carl Sjogreen addresses portability in a post in this
newsgroup from 9/24/2003. Instead of rephrasing his comments, I've
pasted them below and suggest the "Application portability" thread as
good reading.
Controls fall into the class of artifacts that can be built using
Workshop but which are not 100% portable today. This includes controls
like the Database Control and EJB Control. Remember, though, that
controls are often abstractions over standard J2EE technologies; in the
case of these controls for example, the underlying technologies are just
JDBC Prepared / Callable Statements and existing EJBs.
The portable version of Page Flows does not support controls, but it
does support all of the J2EE technologies such as JDBC, JNDI, EJB, and
so on.
Hope that helps...
Eddie
::::: Application Portability from 9/24/2003 by Carl Sjogreen
John --
Good question. We're constantly pulled between delivering innovation
and value to our customers and ensuring that the applications we build
are standards based and portable. Here's what we are doing to address this:
1) You can always build 100% standard based applications in Workshop
that are as portable as any other J2EE application. Write Java files,
use EJBgen to create EJBs, etc.
2) Where we innovate, we innovate on top of existing standards. Witness
what we are doing with Pageflows, which is built on top of Struts. As
Web Services standards mature (JSR 109 in particular) we'll move JWS
files to support 109 deployment artifacts.
3) We are aggressively pursuing standardization, portability, and open
source for innovations we introduce. A few proof points:
* The key innovations behind JWS files are being standardized as part of
the Java Community Process in JSR 181. When this standard goes final
(early next year hopefully) you'll be able to take your JWS files to
other platforms.
* We will provide "portability kits". In SP2 (due later this year)
we'll provide a portability kit so you can take any pageflow file and
run it on other J2EE containers. This basically includes a set of stand
alone build tools and the few runtime classes we've added on top of struts.
* We've open sourced key technologies like XMLBeans. XMLBeans is now
being incubated as part of the Apache Software Foundation
(http://xml.apache.org/xmlbeans).
So I think you'll find that while not everything you build in Workshop
is 100% portable today, a lot is, and more will be down the road.
Any questions, please let me know.
Best,
-Carl
Carl Sjogreen
Group Product Manager
WebLogic Workshop
"John Reynolds" <[email protected]> wrote in message
news:[email protected]...
Raj,
Thanks for forwarding this on to your Product Managers.
Application portability is one of the big selling points for Java, so
it would be a shame if Bea did not have runtime licenses for deploying
the workshop runtimes on any J2EE certified app-server. I don't think
my company has any problems in paying for quality software, but they do
have problems when the "Write once, run anywhere" Java pledge is broken
(since that's what sold them on Java vs. .Net in the first place).
Having said that, I really applaud what Bea has done so far. For
example, Bea's donation of XmlBeans to Apache was a truly great thing.
Blake wrote:
Eddie,
The "Weblogic Workshop Internals" document also talks about the "Runtime Engine".
Here is a blurb from the top of the doc: "<contains> a runtime infrastructure
that supports application features; the runtime consists of J2EE components deployed
on WebLogic Server "
Later in the doc they mention some EJB's such as the SynchBean and AsyncBean which
utilize JMS. This is the info I need to provide my client if they decide to port
to another app server. We now know that the webapp is portable... its the J2EE
components that is the final piece of the puzzle. thanks!
-Blake
Maybe you are looking for
-
Numbered lists in text boxes automatically updating
I have seperate text boxes that are involved in numbered lists, and I want to be able to reorder the text boxes so that they automatically update the numbers within them. How do I do this?! As you can see when I move the text box containing 2.0 numbe
-
i upgraded my wondows vista 64-bit to a windows 7 home 32 bit, i had to download the hp mediasmart software but when i click to install it, it just blinks and also it said it has stopped working, etc..ive tried so many things but can't seem to find t
-
Hi ! While setting up oracle payables. I am having problem defining supplier. It errors out saying FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04068. ORA-01403: no data found Could someone suggest what setups/profile options
-
I lost multi windows in safari after synching to iCloud any suggestions?
I no longer have the icon that I had for the multi screens. Did I change something inadvertently?
-
Zip is not really smaller than original.
I have a file that is 194 MB. If I right-click and choose to make an archive, I get a zip file that is 193.3 MB. Can this be right? I think this form of archive is only useful for a group of files that need to be bundled. Why doesn't it compress the