Why Flash Firebug doesn't work with flex 4.5? - apache-flex

Why Flash Firebug doesn't work with flex 4.5?
UPDATE:
Hy!
I have Flex 4.5 and in the main application, in the script tag I write:
import ominds.Firebug;
I use flash player WIN 10,1,85,3 Debug enabled.
I export swf as 10.1.85 version.
And when I open the flashFirebug I get this:
"No SWF files with the O-Minds package found, you should import the O-Minds package into your flash files. For more information visit: o-minds.com/products/flashfirebug"
I appreciate any help (:
I'm using robotlegs if this matters...

Check out FlashFirebug 3.0, I haven't personally tried it with Flex, but it's reported to work. Here's the product homepage
http://www.o-minds.com/products/flashfirebug

hello man just get the new update "2.0" it works with flex and even you don't need to import the package anymore, and also you can debug any swf on the web :D

Have you tried updating your debugger to the latest version? As long as you're exporting to a SWF and to a valid version of Flash, it should work. I'm using the Beta Debugger for Flash 10.2 and I have no issues using Flashbug.

Related

Flash Builder 4.5: could not resolve X to a component implementation

I just upgraded out Flex project to use SDK version 4.5.1.21328 and the Flash Builder to version 4.5
All of the sudden, I'm getting several red tags on the Flash Builder: "could not resolve s:State/fx:Script/whatever to a component implementation"
However, the project builds fine with Maven, and seems to work well too.
Does anyone have any information on how to remove these "problems"?
Thanks.
Finally managed to find a workaround. Adding
--namespace+=http://ns.adobe.com/mxml/2009,${flexlib}/mxml-2009-manifest.xml --namespace+=http://www.adobe.com/2006/mxml,${flexlib}/mxml-manifest.xml --namespace+=library://ns.adobe.com/flex/spark,${flexlib}/spark-manifest.xml
to the "Additional compiler arguments" in properties -> Flex Compiler seems to remove all the red markers.
Great tip. Error I was getting was:
Could not resolve <mx:RichTextEditor> to a component implementation.
I had to add the above settings and do the following to get mine to compile.
Here's what I did:
project properties->Flex Build->Path-> Library path tab. press Add SWC...
add C:/Program Files/Adobe/Adobe Flash Builder 4.5/sdks/4.5.1/frameworks/libs/mx/mx.swc
Then in the Source Path tab press add folder navigate to:
C:/Program Files/Adobe/Adobe Flash Builder 4.5/sdks/4.5.1/frameworks/projects/mx/src
then add in the namespaces as listed in the above article. That fixed it for me.
Clean.
Just as the commenter said, usually just a strange Flash Builder bug. If Project -> Clean... doesn't fix it, comment or revise question.
Your batch builder might be using a different set of library files than the IDE. Look in Project | Properties under Build Path and see what version of the SDK it's using.

How can I tell Flash Builder 4 where to look for FlashPlayer.exe

I uninstalled Flash Builder Beta 2 and installed the Flash Builder 4. I tried to import my new projects, but I keep getting a popup that says:
"
[path/to/Adobe Flash Builder Beta 2/FlashPlayer.exe]
Flash Builder cannot locate the required version of Adobe Flash Player.
Do you want to try to run your application with the current version?
Adobe Flash Player downloads"
I have a run config on a localhost server instead of generating the html wrapper. This only happens with imported projects, but I can't seem to find where in any of the config files the player location is specified.
I don't have a specific answer, but...
Instead of importing projects into a new workspace; have you tried using the same workspace? You can specify the workspace using the data argument when you launch Flash Builder:
flashbuilder.exe data="C:\something\something\something\workspace"
If that doesn't work, you can try to launch Flash builder with the '-clean' command line argument. I've found that fixes a lot of the issues I have.
Also check your SDK on the imported projects. Make sure it is not pointed at an old SDK from the beta 2 directory. After you change the SDK, be sure to clean the project.
Or if none of that works, re-create the project from scratch.

How do you install Flex SDK 4 to Flex Builder 3.0.2?

i am really going to be crayz. I did everything to install nightly compiled SDK 4 to FB. When i am going to design mode it says,
Design mode: Cannot load textLayout.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more details.
and also when i'm pressing CTRL+SPACE, code complition is not working.
Do you have an idea?
Have you seen this page: http://blog.flexexamples.com/2008/08/02/using-the-beta-gumbo-sdk-in-flex-builder-3/
(note: I haven't tried Flex 4 yet, so can't really offer much more than google-fu).
The official word is here.

Getting started with Flex3

I'm a little bit confused.
I want to start learn Flex3 with Eclipse and the FlexPlugin .
But I can't find the link.
Is the Standalone version of FlexBuilder free ?
How do i set up the Enviorement ?
Do i have to download the FlexBuilder ( free?)
Or do i have to download Eclipse and then add the plugin ( link ? )
Can anyone help me :(
Flex Builder Standalone will work as is just download and use, but no version of flex builder is free, you get a trail version of 30 days or so.
For Flex Builder plugin version you need to first download Eclipse from eclipse.org and then download the Flex plugin. On installation of the flex plugin, the wizard will prompt you to point it the eclipse (unzipped) location, it will take care of installing the plugins.
The plugin version is useful if you want to work on java based projects, if you just want to learn flex use Flex Builder Standalone version.
Flex Builder is not free. You can use Flash Develop together with flex sdk (both are free) to get syntax highlighting and code completion in mxml/AS files.
Actually, you can get hold of Flex Builder for free, assuming you fit into one of two categories, if you are unemployed or in education (educator or student)
See freeriatools.
Adobe Flex Builder is not free but you can download trial. Flex SDK is free though and will be enough at least for hello world examples.

Flex intellisense forgets flash.*

I am using Eclipse 3.3.2 with the Flex Builder Plugin (3.0.194161) and the Flex SDK 3.2. Recently the intellisense has started forgetting about everything in the flash.* package EXCEPT flash.errors.*
The code still compiles, but attempting to automatically resolve something (CTRL+SPACE) removes any of the flash.* import statements and thus causes a compile error. As it stands I have to either not use CTRL+SPACE, or re-add my flash.* before compiling.
I have tried recreating the workspace/project and have re-installed the Flex SDK, but I still get the same problem.
Any thoughts?
I was able to work around the problem by adding the following SWC to my library path: FLEX_SDK\libs\player\10\playerglobal.swc
It looks like the problem is caused by {targetPlayerMajorVersion} no longer resolving, though I have no idea how that happened.
Edit: Known bug, as described in FB-16703 and "Targeting Flash Player 10"
Upgrade to Flex Builder 3.0.2. I've noticed that older versions of Flex Builder don't like Flash Player 10's new playerglobal.swc.

Resources