Add SWC blows up Flex Builder 2.01
With Flex Builder 2.01 running as an Eclipse 3.2.2 plug-in
I'm trying to load SWC a produced by "Make Flex Builder" in Flash
CS3. The Eclipse error shows the trace below. I see essentially the
same traceback in
JIRA,
implying that perhaps the SWC is bogus, but I don't see any errors
when publishing in Flash CS3.
Anybody have any thoughts on this?
Is there any sort of stand alone SWC verifier/dumper around
that I could use to investigate the SWC? I tried abcdump on it, but
it says "unknown format 67324752".
In the meantime I guess I'll give Flex Builder 3 a
try...
Well, I upgraded to Flex Builder 3 as an Eclipse 3.3.2
plug-in, and the problem went away.
Similar Messages
-
How to add a package to flex builder?
I download a package named com.adobe.serilaztion.json(may be
I spell worng), My question is that what should I do to make this
package be added into the flex ,just like flash.display.sprite, I
can import the package in.What I do is have a folder called thirdparty, where I place
package structures like this.
Then in my app, I include that folder as a Build Path source
folder in the Project properties dialog.
This makes all of the package declarations in the code work
correctly, effectively parenting the package structure from my app
root.
Tracy -
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 -
How to add SWC frame work to flex 2
hi,
i Want to use flexmdi framework for one of mine project. how
to do this?. i know simple one that just adding the *.SWC to flex
ADD SWC. i did it and it is not working. is there steps to do
this?.. this is not question for only flexmdi, i dont know how to
use other component frameworks also.
So plesae let me know the steps to work with SWC component
frameworks in flex 2.
thanks in Advance
shrikantIn Flex Builder, select your project and open its Properties.
Select the Flex Build Path. On the window, select the Library tab.
Pick the Add SWC button and browse to the SWC and pick OK. It will
be added to the search path.
If you are using the command line compiler (mxmlc or compc)
use the library-path option. -
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 -
How to add interface to customlize MXML Component when use Flex Builder 3?
How to add interface to customlize MXML Component when use
Flex Builder 3?David,
I don't believe you can add the interface via the creation
dialog in FlexBuilder 3. You can always manually add the
"implements" property to your MXML Component root tag. Something
like this: <mx:VBox implements="com.mycorp.IMyInterface">
If you want autogeneration of the interface, then create an
ActionScript class with that interface and then copy the generated
functions and setter/getters into the script block of your MXML
component. -
Flex Builder 3.3 need to add AIR 2.0 SDK
I have an AIR app developed using Flex SDK 3.3 and need to add new functionality contained in AIR 2.0 SDK - e.g. openWithDefaultApplication().
How can I add the updated AIR SDK to give me access to this new method ?This is pretty easy, but not too intuitive. You will first need to download the version of the SDK that includes the version of AIR that you wish to use. Then following these instructions to get it to work : http://quetwo.com/2008/10/26/flash-player-10-and-flex/ (those instructions were written to get a specific feature working in an older version of Flash Player, but you should get the basics from it).
Essentially, you extract the SDK version into your SDKs folder in your copy of Flash Builder/Flex Builder. Then you tell Flash Builder about the new SDK that you have available. -
Using CS3 Libraries in flex builder
Hi,
Im fairly new to Flex and im a starting out with flex builder
3. I am trying to add the CS Libraries as I would have done via
Preferences->Actionscript->ActionScript 3.0 Settings in Flash
CS3 so that projects can reference these packages.
I have complie errors when using import
mx.transitions.easing.*; and I cant seem to get flex to reference
that libray.
thanks for your helpthanks Greg,
Followed your instructions and added the path D:/Program
Files/Adobe/Adobe Flash CS3/en/Configuration/ActionScript
3.0/Classes/playerglobal.swc but still get the same compile error
1172: Definition mx.transitions.easing could not be found.
thanks -
Help installing Flex SDK 4.1 on Flex Builder 3 properly
Flex Builder 3 comes with SDK for 2.0.1 and 3.2 by default, so I want to add Flex SDK 4.1
I downloaded it, made a directory in the Flex Builder 3 sdks folder, and unzipped the contents there.
After adding it and selecting/checking it on Flex Builder, I tried to use it by running a project I was using with 3.2 and I get the error below:
unable to open 'C:\Program Files\Adobe\Flex Builder 3\sdks\4.1.0\frameworks\libs\player\9.0\playerglobal.swc'
What do I need to do or didn't do?Hi,
You can not use SDK 4.1 in flex builder 3. You need to purchase Flash Builder 4 or use free SDK 4.1 in eclipse.
http://arunbluebrain.wordpress.com/2008/12/05/flex-40-gumbo-tutorial-installing-flex-40-sd k-in-eclipse-ide-flash-player-10/
Regards
Johnny -
Flex Builder 3.1 Standard and Flex SDK 4.1 build 16076
Hi I have a problem I have downloaded Flex SDK 4.1 16076 and added to my sdk list in Flex Builder. I can compile my program fine except when I change files the flash imports are removed and the code hints don't have any knowledge of flash.display and other base classes such as Movieclip and Sprite. As soon as a manually paste the imports into my class files it compiles again but can't be doing with copying imports back in every time I change a class file.
It didn't do this on version 4.0.0 - I have added -static-link-runtime-shared-libraries=true to compiler arguments as I did have a problem with it firstly compiling about FontAsset.
Does anyone know why? Do I have to add another swc in?You should always have separate workspaces for separate versions of Flash Builder.
Flex 3 and Flex 4 have some large differences. You will probably want to spend some time reading about migrating by searching on Google. Here is a good place to start: http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html -
I cannot find any example of successfully setting up,
building and executing an Actionscript project in Flex Builder with
the main class being in a package. I don't care if I have to create
the appropriate directory structure manually, I just want to get it
to work. Every combination of project settings I have tried fails
to generate the .swf file in the correct location for execution.
[This is NOT a double posting -- no one seems to know where
you go to get answers concerning Actionscript development under
Flex Builder.]
Thank you.Ah, then I have no idea. Might be part of the text support which will be repackaged.<br /><br /><br />On 8/1/08 2:21 AM, "Pradeek" <[email protected]> wrote:<br /><br />A new message was posted by Pradeek in<br /><br />Developers --<br /> What is Parser Package?<br /><br />No, Matt , It is not a class.<br />Parser package contains a class named as$173.<br />Here is what I did:<br />Create new ActionScript project in Flex Builder 3 with Flex 4 SDK.<br />Then right click the project -> Properties. In library path, remove playerglobal.swc and add it seperately. Then type import and press Space. You can see:<br />__AS3__<br />adobe<br />authoring<br />com<br />flash<br />flex<br />mx<br />parser<br />text<br /><br />All these packages. You can't use anything. But they are there.<br /><br />________________________________<br />View/reply at What is Parser Package? <a href=http://www.adobeforums.com/webx?13@@.59b5fd0e/1><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b5fd0e!folder=.3c060fa3> form to cancel your email subscription.
-
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 -
"advanced data grid" with flex builder 3.0
I'm getting watermark as "Flex Data Visualization
Trial" when tried to use advances data grid with flex builder 3.0. There are some links floating on the internet where it's suggested that the license key should be provided in the flex-config.xml to avoid this issue. I would like to know if this componenet is stable with flex builder 3.0 and is it ok to use this in production environment?Someone from Adobe might be able to answer more definitely
but it's probably just not considered compatible with a modified
Eclipse (at least, the installer). It may just be the installer
blowing up when it shouldn't. I think Adobe doesn't want to support
install configurations that they don't have setup and tested. I had
a similar issue once and solved it by doing the following... not
sure if it'll work, and it's more of a last resort:
Setup a regular eclipse install - install the plugin there.
Somehow, you'll have to keep track of all the files it adds, either
using timestamps or some compare software. It should be a bunch of
files and/or folders in the '/plugins' directory, and possibly a
few others in '/configuration', maybe '/features'. Take all the new
folders and any jar files etc, and drop them into the same folders
in your special Eclipse version. Hopefully when you start it up
you'll get the Flex functions...
Of course, you could end up hosing your entire "NWDS"
(whatever this is) install. So you probably want to test it out
first! -
Swc problem with flex from my custom fla
I have an fla which has several library items with a class linkage to a GenericButton.as file. I am exporting this fla as an swc file, and linking that swc into flex.
My problem is that when flex builds the code for GenericButton it gets undefined property for anything it tries to reference that is part of the library item.
Example:
GenericButton.as does libLabel.text = "something"; where libLabel is a textfield, instantiated in the library clip which is bound to GenericButton in it's class linkage.
The field exists in the clip, but when I compile in Flex with the swc in there, it cant find it. It says libLabel doesnt exist, undefined property.
What am I missing here? I want to allow the fla author to bind some of his items to low-level component classes like that, and it's his job to ensure that all the necessary items are part of it. So if he makes a new button, he must just ensure he has a libLabel textfield somewhere in the clip.
Why cant flex see that the items it's trying to compile have a libLabel in there? Is there a work around?Thx for the reply Greg, but no, that's not the problem. If you re-read my post you'll probably see my problem is a little more involved than that.
I have symbols exported for actionscript and I can instantiate them in Flex, that's not a problem. The problem is symbols that are exported for actionscript and bound to a base class that contains custom code. That custom code, when it uses it to type-check in flex builder (during the swc link stage), causes undefined properties.
For some reason Flex is not seeing that the exported library item has the things the .as file is looking for.
Does that make sense?
I could probalby put together a simple example project but I'd have to find somewhere to upload it so that others could see.
This problem is hard to describe, you have to read what I'm saying very carefully.
Maybe you are looking for
-
How do you reduce file size of a PDF if Save As doesnt work?
I have been trying to reduce the size of a PDF, using the Save As > Optimized PDF method. I have also tried Save As > Reduced Size PDF. This is on a file made up of 20 pages of full page Jpegs. (These were generated by the script in Photoshop that ge
-
Using canon 700d dslr, and after every 3 to 4 shots, it gives black images
using canon 700d dslr, and after every 3 to 4 shots, it gives black images
-
Converting Oracle Reports - PaperLayout to WebLayout
Hi All , We are migrating Oracle Reports 6i to Oracle Reports 10g R2. Now when I open the report rdf file in oracle 10g Reports Builder and run the paper layout ( Ctrl + Shift + R) it shows the output. But the same when run for Web Layout ( Ctrl + R)
-
JDBC Error in Connection string
Hi Guys, I am trying to implement File to JDBC scenario I get checked flag in the SXMB_MONI but in communication Channel monitoring i get the error message : <i><b>Error during database connection to the database URL 'jdbc:odbc:Driver={M
-
Can Thread Reference be stored anywhere ?
Hi All, I need to write an java class which would monitor a directory for new files and process the file if one arrives.I am planning to write this as a Thread. Is it possible to start and stop this Thread using a start and stop script ? I know start