Actionscript 3.0 :: Using FlexBuilder As An External Editor?

Jan 23, 2009

Recently I switched to using Flex as an external ActionScript editor for my Flash projects. My problem is this:

I created a symbol called MyBox in the Library, which I don't place on the stage in Flash, just instatiating runtime from Actionscipt. The FLA compiles and everything works ok, my symbol (referenced as MyBox in the Library) appears when I run the project.

But when editing the document class AS code using FlexBuilder, the following line throws an error.

var MyBox1: MyBox = new MyBox();
"Type was not found or was not a compile-time constant"

I guess it is because the FlexBuilder environment do not see the library item reference MyBox) in the FLA. However, I can build run the project from Flash.

How can we let the FlexBuilder environment know about the Library refrences we place in the FLA file?

View 4 Replies


Similar Posts:


Flex :: Flexbuilder - Builder 3 Unclosable Editor Windows

May 4, 2010

See: [URL] Somehow I made this happen and I don't know how to undo it. The image linked above shows my Flex Builder session. The largest section of the window is the editor. Initially, there was a blank window on the screen so I tried closing it, but I couldn't. Then I tried dragging it and realized I could drag it into a corner of itself, hence all the nested windows. I have no idea how to close these windows or simply reset the view. I went to the preferences under General > Perspectives, but the "reset" button was disabled for every available perspective.

View 1 Replies

ActionScript 2.0 :: Using External Editor - Why Better Than The Native Editor In Flash

Apr 24, 2007

Does anyone have any experience using external actionscript editors? I've given a brief look at SE|PY, but not sure why it's any better than the native editor in Flash.

View 1 Replies

ActionScript 2.0 :: Create A Flash Xml Editor Based On Senocular's News Editor?

Oct 5, 2006

I'm trying to create a flash xml editor based on senocular's news editor but I am having some trouble getting the xml file to load. My xml file is structured as below[code]...

View 2 Replies

ActionScript 3.0 :: Call Getters And Setters From The Editor Without Using Static On The Editor?

Jan 13, 2011

my main class is Editor my sub class is a CustomTextField i need my Editor to keep track of what the active CustomTextField is, since there can be more than one. i want to have a variable, activeTextField:String to keep track of the active CustomTextField. i created getters and setters on editor to keep track of activeTextField. how do i call these getters and setters from the editor w/out using static getters and setters on the editor? this has to be confusing to read because i am utterly confused writing it...

View 1 Replies

ActionScript 3.0 :: From FlexBuilder To CS3 Or FlashDevelop?

Nov 28, 2009

I have inherited a Flash project that (I THINK) was started in FlexBuilder, but I dont have FlexBuilder. I have CS3 and FlashDevelop, is it possible for me to continue this project using the tools that I have?

There are a bunch of wierd files like ".project" and ".actionScriptProperties", and obviously no .FLA file.How can I get up and running using either CS3 or FlashDevelop?

View 2 Replies

Flex :: Does FlexBuilder 3 Work With Eclipse 3.5.1

Dec 5, 2009

I m trying to install Flex Builder 3 into Eclipse 3.5.1 as a plugin on Mac 10.6.2.During the installation phase, FB3 says it only support eclipse 3.3 & 3.4. But I started the installation anyway. After the installation was done, I can't find Flex perspective from Eclipse. So I google around and found out the possible way to manually add this link file from folder "links" to point to the FB3 Plugin folder. I did that and FB perspective can be shown now. But when I try to switch to FB perspective, error occurs:[code]

View 1 Replies

Flex :: Flexbuilder Keeps Compiling Old Files

Feb 28, 2010

I'm working on a project on Flex AS3.0 project in Flex Builder. It was working fine, I changed the name of one of my classes and all the related process. Now when I compile dubug the thing, it keeps on compiling an older version even if I comment all the code in main. It still compiles the old files. I have cleaned the project , but still the same old problem.

View 2 Replies

Flex :: Transitioning From FlexBuilder 3 To FlashBuilder 4?

Mar 24, 2010

It's growing pains time again. Some of our stuff requires FlashBuilder 4 and some still requires FlexBuilder 3. Both are installed OK, and no projects use both IDEs. The trouble is, when I go back to work on a FlexBuilder 3 project it takes freakin' forever to build and I get weird errors like these: This doesn't seem to cause any identifiable problems except to throw up a modal dialog at various points in the build process, forcing user interaction. But I do notice that memory fills up fast in FB3 and generally FB3 starts behaving strangely and ultimately quits once it gets up over 700MB.

This is only a temporary bridge situation until we get all projects into FB4, but "temporary" could mean weeks if not months. Does anyone have any advice for how to get through this bridge period? Is there anything I can do to make these two IDEs work and play well together? Failing that, does anyone know what "java.lang.String" is the "reason" for the problem? Does Eclipse have a resource bundle somewhere that is getting corrupted when i go back and forth between the two?

View 1 Replies

Flex :: FlexBuilder Debugger What Can 'expressions' Tab Be Used For

Jun 14, 2010

is there any documentation on the FlexBuilder "expressions" tab, and what expressions it can accept?As far as I can tell, it can show the value of variables, but that's it: comparisons, function and method calls all fail: [code]this is specific to FB3 Flex Builder. Apparently FB4 Flash Builder is slightly less incompetent.

View 2 Replies

Flex :: Add SWC File For Cairngorm To App Without FlexBuilder?

Aug 12, 2010

I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the relevant file is, but Googling just points me at similar instructions telling me to use FlexBuilder.

View 1 Replies

Organizing FlexUnit 4 Tests In FlexBuilder 3?

Jan 24, 2011

I've recently started practising test driven development - thus far I've been working on a library project, so I've organised my FlexUnit tests in a separate FlexBuilder 3 project, linking against my library's swc.Now I'm working on a web app and wondering how best to organise the tests for this. At the moment I've put them in a src/test package in the project I'm testing, with the test runner application at the same level as the default application. Is this the best way to do it, or should I have a separate test project and link in the source for the application I'm testing?

View 1 Replies

Java :: Work As A Team On FlexBuilder?

Jun 15, 2011

As me and my friend are working on the same source code of a project on flex builder, I'm looking for a solution that makes it possible to work on different computers and edit the same source code.

View 3 Replies

Flash :: Builder Vs Flexbuilder 3 For Actionscript Only Projects

Apr 5, 2010

Right now Flexbuilder 3 is my editor of choice for all as3, xml ,js editing. I'm not 100% convinced that I need to upgrade to FlashBuilder. Also early betas seemed a bit sluggish compared to Flexbuilder3. Does anyone who has made the upgrade have any convincing reasons? Was it worth it?

View 1 Replies

Flex :: Flexbuilder - Password Validator Using RegExp?

May 20, 2010

I have seen several examples in Flex for passowrd validator using RegExp. But every where the validation is happend for single validation.

I have a requirement, like password validations like

- At least one Upper case letter

- At least one numeric character

- At least one special character such as @, #, $, etc.

- At least one Lower case letter

- password lenght minimum 6 digits

- password cannot be same as user name

I have the code only for checking the password is valid or not . check the below code.

MXML CODE

<mx:FormItem label="Username:" x="83" y="96" width="66">
</mx:FormItem>
<mx:FormItem label="Password:" x="88" y="123" width="61">

[Code]....

View 1 Replies

Flex - Using Flexbuilder To Create An AIR App Connected To Saleforce.com?

May 13, 2011

I have created an Adobe AIR application that interfaces with Salesforce.com. The only drawback I have is that the data that is synced to the desktop is not encrypted. I can encrypt a database that I create locally, however, I am trying to encrypt the database that is created and maintained by the flexforforce toolkit.

View 1 Replies

Flex :: Flexbuilder - Build A Dashboard Application?

Sep 1, 2011

Suggest a good tutorial on how to build a dashboard application with Flex.

View 1 Replies

Flex :: Passing A Parameter To HttpService In Flexbuilder 3?

Sep 13, 2011

I have stuck at the point where i need to pass a selected item of a comboBox as a parameter to a HttpService.

View 1 Replies

Flexbuilder - How To Show Flex Mobile Alert?

Feb 21, 2012

I am creating an application using flex mobile but could not find how to show alerts using flex.So can anyone please tell how to show the alert in flex mobile , mx alert don't work in this and i could not find an alternative in spark.

View 1 Replies

ActionScript 3.0 :: FlexBuilder - Disable Caching In Debug - Mode?

Jul 9, 2009

SWF caching has bit me quite a few times now. I want to debug in the browser because that's where the swf will run. But Firefox sometimes caches local files incorrectly, thinking that it has the latest version when it doesn't. This can cause a huge headache with debugging, causing me to wonder why something doesn't work no matter what I do.

The workaround I use is to create a custom html file in bin-debug that loads the swf with a random string appended so Firefox never caches it. This works fine, but every time I start a new project, I need to remember to do this.

View 3 Replies

Flex :: Flexbuilder - Swiz .6.2 Undefined Method Loadbeans

Oct 2, 2009

I'm trying to set up the swiz framework in flex but cant seem to get it to compile. Im using swiz 0.6.2 and flex 3.0.2. The swc is in the libs directory of my flex project. Im following the tutorial here:[URL] and my code looks like:

[Code]....

when i try to compile i get the error unidentified method loadBeans through a reference with static type Class.

View 1 Replies

Flexbuilder - Dynamic Organisation Chart Avaiable In Flex?

Nov 7, 2009

Does anyone know of any opensource tool for creating dynamic organization chart in flex by reading values from database

View 4 Replies

Flex :: FlexBuilder/MXMLC : Profiling The Build Process?

Feb 8, 2010

I've noticed that, recently, builds in FlexBuilder have been taking much, much longer than they used to (30 or 40 seconds, as opposed to 3 or 4). What is the simplest way of profiling these builds to figure out what is taking so much time?

View 4 Replies

Flex :: Security Error Accessing Service Outside Of FlexBuilder

Mar 16, 2010

I am building a little Flash app that will consume some web services over HTTP. When I am in Flexbuilder and run my app there, it works fine. When I goto to my FlexBuilder project on my OS and double-click on it, it works fine. When I zip up my bin-debug file, I get this error:

Security error accessing url faultCode:Channel.Security.Error faultString: 'Security error accessing url' faultDetail:'Destination: DefaultHTTP'

So I googled that and got information on about the crossdomain.xml file. Well, I can't put a crossdomain file in the service I am calling, but I can put one somewhere else. So I put the following lines in Flex app:

Security.allowDomain("vx1391");
Security.loadPolicyFile("http://vx1391:8080/job/Remote%20FIT%20Runner/ws/trunk/flash-cross-domain.xml");

[Code]....

Which I know is bad in a prod enivironment, but right now I just need to get this working locally but outside of FlexBuilder.

View 1 Replies

Actionscript :: Flexbuilder - IntelliJ Vs Flash Builder For Projects?

Mar 24, 2010

Would luv to here from developers who have made the switch from Flex-Flash builder to IntelliJ.

View 1 Replies

Flex :: Flexbuilder - Organize Application For Compile Performance?

Jun 28, 2010

I'm preparing to reorganize & refactory a Flash Builder application. The goals of the reorg are 1.) keep compile times for the part of the project I'm working on as fast as possible, 2.) keep the unrelated parts separate for code reuse. Goal #1 trumps goal #2 if there's a trade-off.

Currently, the app has assets in one project, core functionality AS3 in another project, and the MXML in a third project that links to the other two.

Would moving resources/code into swc libraries help compile time? What about compiling assets into an swf and embedding that into the main application?

View 2 Replies

Flex :: Flexbuilder Spark Component Implementation Error

May 27, 2011

I am having this error when I try to paste in code of a spark component. The component is a DataGrid and it needs to be a spark and not a mx.[code]The Error:Could not resolve <s:DataGrid> to a component implementation.How can I resolve this error. I need to make my DataGrid into a Spark Component.

View 1 Replies

Flex :: Flexbuilder - Builder3 Is Not Generating Html Wrapper When Targeting?

Feb 26, 2010

In Flex builder 3 when I create a new flex application targeting the flex 4 sdk, it wont generate a html wrapper file. I have hunted around the web for answers, but no success. I have made sure the box is checked in the project properties to generate html wrapper.

The only workaround is to target an older version of the sdk (i.e. 3.2), which will cause the wrapper to be generated. Then I can revert the project to sdk 4. This then means I can never do a clean of my project because this will result in the wrapper being deleted. Has anyone else come across this? Is this just a bug with Flexbuilder3?

View 5 Replies

Flex :: Website Created By FlexBuilder Works On Every Browser That Use Flash?

Mar 20, 2010

Does websites created by Flex Builder works on every browsers that use Flash ?

View 2 Replies

ActionScript 3.0 :: Errors With FlexBuilder - 1046 : Type Was Not Found Or Was Not A Compile-time Constant?

Jul 16, 2009

I have .fla called Helicopter and a movieclip in the library with a linkage of Fly. If I use the code-snippet(as a seperate class called Helicopter.as)below with Flash or Flashdeveloper it works fine. If i use FlexBuilder (Actionscript project)I get these errors. is there some settings I have to change in FlexBuilder?

Severity and Description Path Resource Location Creation Time Id
1046: Type was not found or was not a compile-time constant: Fly. Helicopter/src Helicopter.as line 7 1247730594859 770[code]....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved