Flex build path
Whenever I try to change the build path, FB3 remembers it for
the current session, builds and runs fine, then forgets the
settings when the program is saved giving no indication that it has
not been stored.
It is totally infuriating. Has anyone any ideas how to get
round this.
Hi levancho,
Thanks for your answer.
You probably meant to use
src\classes\projectPackage as the Main source folder.
This is working this way. However, there are some little
problems :
I have this warning : "
Source path entry, '
D:\project\src\classes', is a subdirectory of source path
entry, '
D:\project\src\classes\projectPackage'." which is
strange because it is the second path which is a subdirectory of
the first.
There are conflicts when the compiler
tries to resolve the classes within the
src\classes\projectPackage directory. For instance, for a
class clalled Application located in
src\classes\projectPackage\Application.as, it doesn't know
how to make a difference between Application and
projectPackage.Application.
Solution : move classes from
projectPackage to some sub packages.
Anyway, if it may not be the perfect solution, it just works,
so thank you very much :)
Regards,
Philippe
Similar Messages
-
Hi,
I am facing issue with Flash Builder 4.7.
Whenever I am trying to open any mxml or .as file after project setup, flash Builder 4.7 becomes unresponsive without showing any error message or popup.
At the initial project setup, I am able to open file but when I try adding 5-6 source folder under Flex build path->source path, it’s become unresponsive.
Everything works fine in Flash builder 4.6, but I have license key only for flash builder 4.7 and want to use Flash Builder 4.7.
Please help me to solve this issue.Fixed: In Project prefs: Flex Build path: added the similar swc folder called "local" from FB 4.6 eclipse/plugins directory and removed the 4.7 one.
For some reason the 4.7 eclipse/plugins/com.adobe.flexbuilder.project_4.7.0.345990/dcradS wcs/4.5/locale folder has localisation folders in it and not swc's like in FB 4.6.. -
Hi,
I'm working on an application which uses old Flex 3.4 (used for Adobe LiveCycle). This SDK already contains fiber.swc and playerfds.swc so I removed them from Flex Build Path. But if I reopen the project, the removed lines are there again.
So whats wrong? Bug? This is a serious issue for me since some classes from newer fiber.swc is not backwards compatible to version 3.4.
I'm using Flash Builder Premium 4.7. It would be great if I could solve that because I have to remove these paths everytime I open the project.
cu FlohFew things I've discovered that might be able to help you.
Make sure you download both the newest version of the playerglobal.swc (for flash player 10.1), and replace it either in your SDK files, or have it in a library (in Flex 3 you need to disable the older playerglobal, I'm not sure about FB 4)
Use the newest OSMF.swc available from the OSMF downloads page.
Make sure you have the compile settings for OSMF set up in your compile line (mangle for FB4 if needed):-define CONFIG::LOGGING false -define CONFIG::DEBUG false -define CONFIG::FLASH_10_1 true
I've been able to compile flex projects using OSMF doing these steps.
Hope this helps.
-Will -
Flex Build Path : How to really customize output folder ?
Hi all,
I am using this kind of project structure :
D:\project\src\ : the flex project sources
D:\project\src\classes\ : the mxml / AS classes
D:\project\bin\ : the swf output
My main application is in this path :
D:\project\src\classes\projectPackage\Main.mxml.
I configured my Flex Build Path (in the flex project
properties) this way :
- Main source folder :
classes
- Output folder :
D:\project\bin
Unfortunately, the output files are created in these paths :
D:\project\bin\projectPackage\Main.swf
D:\project\bin\projectPackage\Main-debug.swf
D:\project\bin\projectPackage\Main-profile.swf
Whereas I wanted :
D:\project\bin\Main.swf
D:\project\bin\Main-debug.swf
D:\project\bin\Main-profile.swf
Would you know if it is possible to configure the real output
folder somewhere ?
Thank you all
Cheers
PhilippeHi levancho,
Thanks for your answer.
You probably meant to use
src\classes\projectPackage as the Main source folder.
This is working this way. However, there are some little
problems :
I have this warning : "
Source path entry, '
D:\project\src\classes', is a subdirectory of source path
entry, '
D:\project\src\classes\projectPackage'." which is
strange because it is the second path which is a subdirectory of
the first.
There are conflicts when the compiler
tries to resolve the classes within the
src\classes\projectPackage directory. For instance, for a
class clalled Application located in
src\classes\projectPackage\Application.as, it doesn't know
how to make a difference between Application and
projectPackage.Application.
Solution : move classes from
projectPackage to some sub packages.
Anyway, if it may not be the perfect solution, it just works,
so thank you very much :)
Regards,
Philippe -
Flex Builder 3 Error: Unable to load SWC
Hi,
I am trying to use the YahooMaps component (YahooMaps.swc) in
my application. I have included it in the build path of my
application.
Steps followed:
1. Right-click on the project and choose Properties or open
the Project menu and choose Properties.
2. In the project properties dialog, choose Flex Build Path.
3. Select the Library path tab, and press the Add SWC...
button.
4. Selected the YahooMap.swc
I still get "Unable to load SWC: YahooMap.swc". It is an AS
3.0 component. Any help will be appreciated.
Thanks
SumitHi Peter,
Thank you for your reply.
I have followed the documentation on the site you provided.
All I have done so far is:
1. Create a new flex project in Flex Builder 3
2. Once the project is created, I try to add the YahooMap.swc
to my Flex build path.
3. Once I add the YahooMap.swc, it fails with the error
"Unable to load YahooMap.swc" in Flex Builder 3.
4. FB3 does not recognize YahooMap when I try to import it in
AS3.
import com.yahoo.maps.api.YahooMap;
I am not sure what I am doing wrong. Does it have to do
something with the version Y! has used to build the YahooMap.swc
and Flex Builder 3?
Thanks
Sumit -
Share project configuration with team and Build Path?
Question 1:
Is it possible to share the Flex Builder project settings (Flex Build Path, etc.) with other users? It would be nice to be able to do this so all developers on a team do not have to follow a step-by-step procedure for setting up a project. For example in a Java Project you can simply check-in the project and classpath files and new developers don't have to spend anytime setting up their ide. I took a look at what flex is doing and it appears it saves this information (at least some of it) in the plugins directory. I can't find exactly where but it seems very odd.
Question 2:
When setting the Flex build path is there a way to set-up a SWC Folder that recursively adds SWC's in sub-directories? We pull in Flex libs from artifactory which places them into an un-flattened structure. Since all the libs are in sub-dirs they are not found. We have to manually add each lib individually?
Any ideas on either of these questions? Thank you.Re: Question 1.
Do you mean check into SVN or similar? Anyway, it seems Flash builder is saving some configuration about build paths etc. in the .actionScriptProperties file, which is found in the root folder of a project. Another option might be to export the project as a Flash Builder project by right-clicking it in the package explorer and choosing Export?
Re: Question 2.
Afaik the IDE doesn't support recursively going through a folder to find all swc:s. You could probably solve this using an ANT script. E.g. the following script recursively copies all files with .swc extension from the libraries (AS3) folder to the libs folder of a project.
<project name="swcTest" default="copy.swc" basedir=".">
<property name="swc.src" value="${basedir}/../../libraries (AS3)/" />
<property name="swc.dest" value="${basedir}/libs/" />
<target name="copy.swc" description="Recursively copies swc files from source to target folder">
<echo message="${swc.src}" />
<echo message="${swc.dest}" />
<copy todir="${swc.dest}" failonerror="true" flatten="true">
<fileset dir="${swc.src}"
includes="**/*.swc"
/>
</copy>
</target>
</project> -
I was using a source folder before and was outputting to a
different folder.
I recently altered those settings to comply with some project
regulations, now... the settings in Flex Build Path won't save.
For example, I was relating to a Flex Library Project, now I
don't, so I removed it but every time my project reloads, it shows
the old setting under Flex Build Path.
The same goes for the Output Folder and Output URL.
Output Folder resets to bin
Output URL resets to previews settings
I've rechecked spellings and other mistakes, no problem
there.you could manualy open following files : .project
.actionScriptProperties
.flexProperties and make your changes there.
also make sure to update run and debug configurations with
new settings. -
Design Flex with Fireworks CS4 or Flex Builder?
I need help in making a process decision on how to build Flex
Apps going forward.
In the past, we have built the concept for our Flex app in
Photoshop and sent it over to our development team in India to
build. The process has been difficult because our engineers are not
designers and our designers are not engineers. Invariably we spend
alot of time bridging the gap between whats possible and what we
want to see in our Apps.
I want to bring our Design and Dev much closer together and
essentially take the GUI out of the hands of my Indian Developers
who choose to work in raw XML rather than Builder today.
To accomplish this goal, I will be training my US Design team
to become either Fireworks Experts or Flex Builder Experts....
(they are already Photoshop experts) This is where I need your
help. If you were starting from scratch with a talented design team
that could learn either tool, which one would you choose to
accomplish the goal? Does the Fireworks to Flex export create
crappy code like Dreamweaver thats tough to modify manually? Does a
"true" Flex developer despise Fireworks-generated code?
I have read up on the Fireworks>Flash Catalyst>Flex
Builder Path and dont understand the additional step... is Catalyst
part of Fireworks and thats how Flex code is developed or is it a
new code generation engine that does code better than Fireworks
CS4?
Thanks in advance.Here's my recommendation:
I would suggest Fireworks for your Design team/ Flexbuilder
for your dev team.
Essentially, what Fireworks already has in terms of Flex UI
components (though a short list) is identical in theme (default
halo) AND output (mxml code) as you would expect from creating in
Flexbuilder alone.
You can then easily extend your designs with custom
components using the Fw Commands Export Flex Skins and they can be
imported to your Flex project using the CSS Designer.
As for Catalyst, this is a separate beast altogether. It's
merely meant to bridge designs (from design applications Ps, Ill,
Fw) and create usable components for complete animations.
A full tutorial/ video overview was just released a few days
ago here
http://blog.digitalbackcountry.com/2009/01/getting-started-with-flash-catalyst-tutorial/
As for how Fw fits into the Catalyst scheme of things,
designs you create can be exported to the FXG format that Catalyst
will use, if you want to use Flex and work with this format you
have to have the latest Flex SDK plugged into FlexBuilder 3 or Flex
4 will have full support for it.
Here is an older referebce to this scenerio (reference to
Thermo = Flash Catalyst and Gumbo = Flex 4)
http://www.mikechambers.com/blog/2008/08/28/getting-started-with-flex-4-fxg-and-flex-build er-3/
Hope this helps.
h -
Hey Experts,
I tried creating Flex Library Project in Flex Builder 3. No issues so far. Everything works fine. When the day ends, I close Flex Builder (without closing the project as it restores them during next launch). I had to close it...I can't keep the system running. Global warming you know...Next day when I launched Flex Builder, I could see my project there. However, when I open Project Properties dialog box, I get some errors while trying to open Flex Library Build Path or Flex Library Compiler pages. The error says "The currently displayed page contains invalid values."
C'mon man you gotta be kidding me. Yesterday you didn't say anything. What's the matter with you today. By the way, I didn't change anything in properties. How could I? I am unable to open it...
Does anyone understands Flex Builder's logic here?Mate the first thing I tried was this...
If you want to see the problem, try crating a Flex Library Project in Flex Builder 3. Create couple of classes and close Flex Builder without closing the project. Re-launch Flex Builder and try to open Project -> Properties -> Flex Build Path or Project -> Properties -> Flex Compiler. You should be able to see the problem. -
Install Spring IDE 2.X plugin with Flex Builder 3
I'm new to Flex environment, but what I'm trying to do here is to install Spring IDE 2x with flex builder 3 using update plug in manager....
After attempted many times, I gave up because I got a bunch of errors. Please help me any instructions would be really appreciated.
Since Flex built on top eclip, so here what I followed:
http://springide.org/project/wiki/SpringideInstall
Help Help Help please.....
Thanks,
Dave,He levancho.
Thank you for your help. I almost got it with your advice.
Putting it all together it is the following for me:
1) create an Adobe ID at https://cocomo.acrobat.com/
2) unzip CocomoSDK_0.91 and place that directory under your
eclipse_install_dir/plugins
3) create a new Flex Project
4) add the
eclipse_install_dir/plugins/cocomo../lib/player10/afcs.swc to Flex
Build Path / Library path in the project properties
5) Change Flex Compiler / Require Flash Player version to
10.0.0 in the project properties
6) Add the attached code as a test application ...
I found the following tutorial very helpful:
http://www.adobe.com/devnet/flex/articles/cocomo_gettingstarted.html
Notice that I changed some namespaces since the given code
did not exactly work for me.
Thank you, Noam -
Flex Builder 3.0.2 on Windows Vista 64bits
Hello,
I've installed Flex Builder 3.2 on Windows Vista Home Premium
64-bits, everything seems to work fine except for a detail.
When I go into a project's property panel, specifically:
Flex Build Path or
Flex Modules, in the first window it should display two tabs
at the top and the list with the source path you added to your
project. For some reason these are not showing.
Screenshot here:
http://img80.imageshack.us/my.php?image=screenshotjq8.jpg
I've tryed disabling themes, effects, windows sidebar, etc
but the problem persist.
I'd like to know if any had this issue and if you did what
did you do to fix it. It's not like you can't work on flex because
of this but it is annoying.
Any comment is appreciated!The solution is to disable Logitech SetPoint software. I have no idea why but finally found it posted somewhere else here and it does in fact solve the problem. I notified Logitech, don't really expect them to fix it.
You don't have to uninstall it, just quit out of it and if you run Flex a lot, remove SetPoint from the Startup folder so it doesn't run automatically.
You don't even have to restart Flex or anything, just quit SetPoint and open the project properties again, instant fix. -
Revision: 11292
Author: [email protected]
Date: 2009-10-30 02:28:09 -0700 (Fri, 30 Oct 2009)
Log Message:
Removing 'libs' as a library path from the Flex Builder project properties.
Modified Paths:
osmf/trunk/framework/MediaFramework/.actionScriptProperties
osmf/trunk/framework/MediaFramework/.flexLibPropertiesRevision: 11292
Author: [email protected]
Date: 2009-10-30 02:28:09 -0700 (Fri, 30 Oct 2009)
Log Message:
Removing 'libs' as a library path from the Flex Builder project properties.
Modified Paths:
osmf/trunk/framework/MediaFramework/.actionScriptProperties
osmf/trunk/framework/MediaFramework/.flexLibProperties -
Revision: 3120
Author: [email protected]
Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
Log Message:
When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
Modified Paths:
flex/sdk/trunk/build.xml
flex/sdk/trunk/webapps/webtier/build.xml
Added Paths:
flex/sdk/trunk/templates/client-side-detection/
flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
flex/sdk/trunk/templates/client-side-detection/index.template.html
flex/sdk/trunk/templates/client-side-detection-with-history/
flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
flex/sdk/trunk/templates/client-side-detection-with-history/history/
flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
flex/sdk/trunk/templates/express-installation/
flex/sdk/trunk/templates/express-installation/AC_OETags.js
flex/sdk/trunk/templates/express-installation/index.template.html
flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
flex/sdk/trunk/templates/express-installation-with-history/
flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
flex/sdk/trunk/templates/express-installation-with-history/history/
flex/sdk/trunk/templates/express-installation-with-history/history/history.css
flex/sdk/trunk/templates/express-installation-with-history/history/history.js
flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
flex/sdk/trunk/templates/express-installation-with-history/index.template.html
flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
flex/sdk/trunk/templates/metadata/
flex/sdk/trunk/templates/metadata/AC_OETags.js
flex/sdk/trunk/templates/metadata/readme.txt
flex/sdk/trunk/templates/no-player-detection/
flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
flex/sdk/trunk/templates/no-player-detection/index.template.html
flex/sdk/trunk/templates/no-player-detection-with-history/
flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
flex/sdk/trunk/templates/no-player-detection-with-history/history/
flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
Removed Paths:
flex/sdk/trunk/templates/html-templates/Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Creating a project in Flex Builder for the Hybrid Store sample Application
Hi all,
How to create a project in Flexbuilder for the hybrid store
sample application.
I downloaded the source code of hybridstore application,
Now i have to create a project for it to run that application
in my system,
will you please tell me how to create a project for this
sample.
I have also read the readme.html file. but i could not follow
exactly what they are saying.
what i did is, I unzipped the source code into a folder
hybridstore.
I opened the flexbuilder : File -- new -- flexproject ( i
have selected) then i have given name to my file (hybridstore) ,
and set the path to the hybridstore folder where the source code
exists.
but it as created hybridstore.mxml file also.
it is not working.
will you please till me how to create project for this
application.
I have created project for other samples like restaurent
finder, dashboard. they are working fine.
I got problem with this sample only.
Thanks in advance
Regards
AvanthikaHi,
thanks for your reply,
I have tried to open using file import, but still it is not
working.
in the readme file for this application , contains how to
Creating a project in Flex Builder for the Hybrid Store
application:
Name your default application catalog.mxml.
Prevent Flex Builder from generating an HTML wrapper: select
Project > Properties. Select the Flex Compiler page, deselect
the Generate HTML wrapper file option .
Create a Run configuration for your project but deselect the
Use defaults option and instead assign the Run setting to the
hybridstore.html in your project's bin directory.
To enable debugging of the Hybrid Store application you must
create a copy of hybridstore.html. Open it in an editor (you can
right-click on the file and select Open With > Text Editor).
Find the line that says "src", "catalog" and change it to "src",
"catalog-debug". Assign the Debug setting to this new HTML file.
As i am new to flex , i could not know how to do this.
please help me how to do this.
regards
Avanthika -
Flex Builder 2 - failed install on Windows Vista
I have tried several times to install the trial Flex Builder
2 on Windows Vista. Each time I get an error message referring me
to the error log. The error log is listed below. Note, each time I
do the install, I uninstall the previous install and then delete
any files or folders remaining.
===================================
Error Log
===================================
!SESSION 2007-02-10 22:04:25.583
eclipse.buildId=unknown
java.version=1.4.2_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.update.configurator 2007-02-10
22:04:26.499
!MESSAGE Cannot backup current configuration
!ENTRY org.eclipse.update.configurator 2007-02-10
22:04:26.575
!MESSAGE Could not rename configuration temp file
!ENTRY org.eclipse.osgi 2007-02-10 22:04:27.389
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-win32-3139 in
java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at
org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at
org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at
org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381)
at
org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
at
com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:4 5)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.osgi 2007-02-10 22:04:27.396
!MESSAGE Bundle
update@plugins/com.adobe.flexbuilder.debug.e32_2.0.155577/ [70] was
not resolved.
!SUBENTRY 1 org.eclipse.osgi 2007-02-10 22:04:27.396
!MESSAGE Missing required bundle
org.eclipse.debug.ui_[3.2.0,99.0.0).
!SESSION 2007-02-10 22:15:47.733
eclipse.buildId=unknown
java.version=1.4.2_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.update.configurator 2007-02-10
22:15:48.505
!MESSAGE Cannot backup current configuration
======================================================
Any help would be appreciated.
Thanks,
WayneThank you for your response. Being a newbie to Microsoft
Vista (which I recommend the world to reject) I don't know exactly
how to describe how I got the install of Flex Builder 2 to work.
But, a friend of mine walked me through turning off the Windows
Defender security settings as well as all security settings related
to my user's setting. I believe I disabled two Vista "features",
and then the install worked. The only thing was that the checkboxes
during the install program did not appear, but clicking the
respective questions themselves did the trick (i.e. do you agree to
software license?' and 'install Flash player on IE / Firefox?')
Sorry I can't be more specific... but, for anyone that has
this problem, in the words of my friend, "Turn everything off in
Vista you can, then try it!".
Good luck,
-sutton
Maybe you are looking for
-
Turn off "faces" in LightRoom 4.2?
I have hundreds if not thousands of "faces" that have been culled from my library and I would like to know how to turn this function off in Lightroom 4.1? I have looked through the prefs and the menus but cannot see anything referring to "faces" Than
-
Hi, I just wanted to share some great sites with some general linux articles: -)http://www.linuxdevcenter.com/ Linux concerning articles by O'reilly (not so up to date but still great info) -)http://www.ibm.com/developerworks/views - ibrary.jsp (arti
-
Write Survey List items on to Excell through C#
Hi team, i am working on a requirement where in i need to export the survey list items on to a excell, there is a OOB option to export but i need to do ti programatically but the problem is teh Survey list does not have the items like other lists. i
-
Error on intercompany transaction process
Hi, Folks. When represented the financial report after setting up the intercompany transaction, I met an error message as the similar meaning to " Detailed information for the transactions are not supported in the cell." This message is not original
-
Help: Sorting a stored procedure query, How to?
I am working on this form based on a stored procedure. I'd like to sort each of the field by pressing respective buttons. In the WHEN_BUTTON_PRESSED trigger, I wrote: SET_BLOCK_PROPERTY('RESULTS', ORDER_BY, 'R_DATE'); EXECUTE_QUERY; Will this work? T