ActionScript 3 :: Using FL Components In Flash Builder Environment?

Apr 18, 2011

I have a pure AS3 project created in Flash Builder and I am trying to use fl.controls.Slider. I decided to link the fl library as a SWC. I downloaded one from here and included it in the project Library path. And then I instantiate the slider this way (this is in the main Sprite):
var s:Slider = new Slider();
addChild(s);

No compile error, but when I launch the project, I get the following runtime error:
Main Thread (Suspended: TypeError: Error #2007: Parameter child must be non-null.)
flash.display::DisplayObjectContainer/addChildAt [no source]
fl.controls::BaseButton/drawBackground
fl.controls::BaseButton/draw
fl.core::UIComponent/drawNow
fl.controls::Slider/draw
fl.core::UIComponent/callLaterDispatcher

View 1 Replies


Similar Posts:


Flex :: Air Application Running Only In Builder Environment

Nov 24, 2009

I have an air application that loads a swf ( built in flex ) , this swf loads moduls and basicaly my air application is a testing environment for this swf .

when i run it in flex environment ( eclipse ) it runs fine , when i run it from my programs ( as an air program ) it gets stuck , what i was thinking is that it has to do with security issues because it gets stuck when my main swf try to loads the moduls .

View 1 Replies

Flash :: Builder Access CS5 Components?

Sep 26, 2010

I have a project in flash cs5 with some buttons and textInputs. Ive linked my project up with Flash Builder and now want to access my textInput from within my Flash Builder source. i gave the textInput instance name of "txt1" in Flash CS5 but when i try to reffrence it in my Flash Builder project there is no option to set it as type TextInput. I can only set it to type MovieClip and when i do that and publish it tells me cannot convert from fl.controls.TextInput to MovieClip.

View 1 Replies

Actionscript 3 - Getting Flash UI Components Into Builder?

Apr 9, 2011

I've recently been working on an app in Flash and have decided to move to Flash Builder 4 for the improved debugging and editing.

Problem is when I get to run the application, I get the error:

1046: Type was not found or was not a compile-time constant:
SliderEvent. SpiroUI.as /SpiroPaint/src/circles line 114

[Code]...

View 1 Replies

Using UI Components In Flex Via Flash Builder?

May 26, 2011

I have some UI components (Toolbars and buttons) that I drew in Flash and was wondering how I can use it in Flex via the Flash Builder?

View 1 Replies

Flex :: Lock Components In Flash Builder 4.5?

Aug 24, 2011

Is it possible to lock components when using design mode in flash builder 4.5?

I have created a custom component in catalyst that acts as the background to the application. I need to animate this component in different states, and these are all done in catalyst.

I then imported the flash catalyst project into flash builder as a library. I was then able to drag the component into my application using design mode.

The problem is that this component has been set to stretch to fit the whole application.[code]...

View 1 Replies

Flex - Flash Builder Components Not Showing?

Dec 20, 2011

I am trying to do a basic tutorial like MXML Application on Flash Builder 4.6 trial version This is my code in deneme1.mxml 's Source part

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">

[code]....

View 1 Replies

Flex :: Flash Builder: Embedding The Same Asset In Multiple Components?

Dec 23, 2011

If I embed the same asset (i.e. image or sound file) in multiple components within a Flex Application, does the compiled swf contain the asset (and it's file size) only once or once for each time it is embedded?

View 1 Replies

Flash :: Flex4 - Compiler Error Using All Flex Charting Components Using 4.1 SDK W/Builder 4?

Mar 12, 2012

Why do I need to do add extra namespace declarations (below) in a Flex 4.1 "MX only component set" project to get it to compile within Flash Builder? (It says mx:LineChart cannot be resolved when a chart is added via Design View, and datavisualization.swc is referenced.)

Is there a way I can get this to compile without adding these special xmlns:charts, xmlns:series and chartClasses to the declaration? (If I just leave the default namespaces and use mx:SomeChartComponent, it doesn't compile.)

[Code]...

View 1 Replies

Media Server :: Building Controls/components In Flash CS5 For Use In Flash Builder?

Jun 1, 2010

I'm a .Net developer who is trying to mend my evil ways and learn the Adobe development cycle--so if this a really obtuse question--please forgive me. I was once a graphic artist and I am very familiar with some Adobe products. I am having trouble understanding the workflow as it pertains to creating custom controls, or even reskinning controls and then using them in Flash builder. I haven't really dug into Catalyst, but I am comfortable in Flash Professional and I would like to believe I could take designs from my employers graphic artists, created in Illustrator, and bring the artwork into Flash professional and create custom components, or more likely skinned components, in Flash and export them for use in Flash Builder.
 
Our goal is to allow designers to create vector graphics skins for controls and applications in Illustrator (or possibly Fireworks) and to be able to apply those skins to controls and custom components in Flash Builder for deployment to the web or the desktop in an Adobe Air application. Ideally the designer would be able to update the designs easily at a later point.
 
Flash allows for skinning to be done fairly easily within the Flash application, but I have had some problems exporting controls or even implimenting them in Flash builder. The only "video" on that workflow used a movie clip from Flash and set it's "isButton" property to true in Flash Builder...so if a designer built a simple button and designed the states in Flash, I would have to convert it to a movieclip?
 
If I start with a Flex ready component from the "AeonGraphical" library, and apply a new skin, how do I successfully import that into Flash Builder?

-    MX skins can be created in Illustrator and Fireworks and imported into Flash Builder however the format is obsolete and the designs rasterizes and are unacceptable even before scaling.
 
-    Illustrator files can be saved in FXG format and dropped into an assets package in Flash Builder. These images can then be easily used in FB; however mapping them to a control requires each state to be a separate image and to be manually wired to the states of a skin. This is method of skinning is feasible but not ideal...Am I missing a step or improperly importing the files?
 
-    Illustrator files can be saved as an FXG file and imported into Catalyst. In catalyst the artwork can be associated with a control type and the states of the control can be edited in using illustrator. The catalyst file (FXP) can then be imported into Flash Builder as a project which will provide a skin for that type of control. Remaining problems include scaling (skin doesn't stretch) and referencing the skin outside the project.
 
So that leaves me with Flash Professional as the seemingly most competent tool for creating & skinning custom controls. Using the very detailed and helpful online documentation on customizing controls (found here) I can create custom skins and have no problems implementing artwork from Illustrator--for an application authored in Flash Professional (not so much for Flash Builder).Catalyst can let you create "one off" costum controls easily, but creating one custom skin for several buttons (for example) is not so intuative and pulling it into Flash builder yeilds mixed results...
 
Flash is in and of itself a rich IDE and could be used to create an event driven application for AIR, but its not really geared to that user triggered, event-driven development model. I have been able to adjust my mindset to create successful prototypes of form based/even driven application that take advantage of Flash's powerful features, but some of my coworkers are having trouble adjusting their Microsoft Mindset (despite exposure to the remarkably "derivitaive" Expression studio) and strongly prefer the Flash builder coding environment.
 
Are there any resources; web pages with examples or step by step walk throughs, or videos which follow a process of taking a design from a grapjics application and using it to create a custom skin--and applying it in Flash Builder? The process is fairly straitforwards in Flash Professional--but my team and I are having less success in Flash Builder.

As a longtime user of Adobe products, I have by nature of that association become the inhouse Adobe Evangelist and not only have I taken the position seriously--I have managed to convince upper management to abandon WPF and Pyxus (for mobile applications) and develop AIR applications which will span platforms and lend elements to mobile AIR applications. They have even initiated a program which will likely result in our delivering Andriod based tablets to our dealer networks preloaded with AIR applications for business.
 
While I know know this is all "do-able" I am working double overtime to become competent enough to make this happen...but the workflow between Flash Builder and Flash is only sparringly covered online and the information lacks details...I have found that browsing the online videos sometimes turns up better results than searching (doing "Google Gymnastics")--for example Flash Downunder series has great stuff that doesn't always show up when searching Google...And we joined Lynda.com, and while they have lots of great stuff, they need to develop more stuff on CS5 specifically...
 
Where can I find information on creating/applying custom skins from Ai to Flash Builder and all points between? (I'll buy any recommended books as well...) Of course we have agressive deadlines and unfortunately there is no experienced Flex/Air developer on our staff (yet)...The "Classroom in a Book" series on Flash and Catalyst have only just started shipping...is that where I should look? Are there any online resources that address both skinning and creating custom components for AIR applications in Flash and/or Catalyst?

View 1 Replies

Flex :: Using Flash-based UI Components In Flash Builder 4?

Jun 10, 2011

I am trialling Flash Builder 4 Premium.I'd like to know if it is possible to use components designed for Flash (e.g.URL... amongst many others) in Flash Builder 4? How can I import them? By import, I also mean they are first class citizens like the out-of-the-box Flash Builder 4 components.

View 1 Replies

Flex :: Test Spark Components In FlexUnits Visual Test Environment

Sep 17, 2011

I'm trying to test a custom Flex 4 skinnable component, using the FlexUnit UIImpersonator class. If I run my tests from a FlashBuilder Spark only project everything works fine. If I try to test from a project with the mx component set on the classpath I get a "getElementIndex not available in non Flex 4 projects" error.Can I unit test spark components in FlexUnits visual test environment while still having the mx component set on the classpath?

UIImpersonator delegates it's method calls to a "testEnvironment".The implementation used for this "testEnvironment" is decided by the VisualTest EnvironmentBuilder class and the FlexEnvironmentBuilder class. If the FlexEnvironmentBuilder class can find the "mx.core.Container" on the classpath it returns a MX environment, else a Spark environment. Only the spark environment has valid implementations for Flex 4 relevant method calls on the UIImpersonator - like the addElement method.

View 1 Replies

Php :: Make Xampp Environment Behave The Same As Remote Shared Hosting Environment?

Jul 11, 2011

i don't know how to say that in technical terms. and i think this is the reason to why i cant get good answer from Google.i have xampp on my local winxp machine. i use it for developing websites locally then upload these files to my clients shared hosting accounts.

the problem that in 2 years i have always found differences between how xampp works and how the web server work.some code work locally but dont remotely and the opposite. also flash behave differently on xampp than the remote web server.is there is a way i can get the server configuration and use it with xampp like get the server php.ini and use it with xampp?

View 1 Replies

ActionScript 3.0 :: Importing Components With Flex Builder 3

Jan 26, 2010

I'm currently trying to move from flash CS4 to flex 3. When I create an AS class and want to use a component in CS4 i import a component: import fl.controls.Button; and make sure that the button component is in the library of the .fla file which calls the AS class. Now I'm trying to do something similar in flex 3. I can import the component in AS: but when i try to add it to the display it doesn't exist. Is this because it's not in the library? It doesn't throw an error, but doesn't get added to the display. Is there a walk-though about adding a component from within AS3 in flex 3?

View 2 Replies

Licensing :: License The Data Visualization Components (charting) For The Flex SDK On An Automated Builder Server?

Oct 23, 2009

I have a professional license of Flex 3.3. This allows me to create applications using the data visualization components (charts) without watermarks. However, all of release builds (test, production, etc) occur on our build server.

The build server only has the Flex SDK installed (not full Flex Builder). As a result the SWFs compiled with this SDK contain watermarks on all the charts. How can I apply a Flex Builder Professional license to the build server to remove the watermakrs w/o installing Flex Builder?My build environment is Flex SDK 3.3 + CruiseControl.NET + NAnt.

View 3 Replies

Flash :: Flex Dynamically Created Components Added To Custom Components

Sep 8, 2009

I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....

[Code]...

View 1 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?

Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.

View 1 Replies

Flex - Importing Flash Builder 4.5 Project Into Flash Builder 4.5.1?

Jun 27, 2011

I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.

[URL]

The project access a web server to retrieve data using JSON.

View 2 Replies

Flash - Possible To Determine User Environment

Sep 10, 2009

is it possible using actionscript to determine what operating system the flash projector is running on. I'm producing a swf that is to run from a cd-rom and so will be published as an .exe for windows and a .app for mac...parts of the presentation change depending on what os the user is running it on. I don't want to have to publish, change things and then republish. If it were a swf embedded on a web page, the browser would provide all those details...

View 1 Replies

ActionScript 3.0 :: Flash 3d Landscape / Environment

Jul 15, 2010

can someone guide me to some tutorial/source to do something like this [URL]

View 3 Replies

ActionScript 2.0 :: Simulate Cellphone Environment In Flash?

Feb 22, 2005

i want to simulate cellphone environment in flash

View 1 Replies

ActionScript 3.0 :: Create Flash Snapshot In A Windowless Environment?

Aug 6, 2009

I have this flash player we use to create some graphs and charts of our business performance. We use flash because we like those neat-o graphics and overall User experience.The thing is that now I need to generate snapshots (i.e. images) of those charts every Monday so I can save them to disk.Our flash player takes arguments at startup (or runtime) that specify the data we want to load and the date range, and we have LOTS of charts around.

I would like to know if there is any way to create these images in a batch, window-less process in linux. My goal would be to have a script that runs at 2am, automatically loads all the graphs say for the latest week, and creating PNG images for each. All this in one of our window-less (but with X11 libraries) linux boxes.

View 2 Replies

ActionScript 1/2 :: Flash - Possible To Detect System Environment Variables

Jun 18, 2010

A quick question really, is if possible for Flash to detect PC environment variables?

View 4 Replies

PHP :: Flash Slideshow Not Working On IPhone / IPad Environment

Sep 20, 2010

I am using a flash slideshow everything is working fine but that slideshow is not working on Iphone/Ipad environment.

View 3 Replies

Flash :: ExternalInterface.addCallback Fails In Local Environment?

Jul 15, 2011

I thought this question would answer my question, but I have applied the following fixes:

.as
Security.allowDomain("*");
Security.allowInsecureDomain("*");
html
param name="allowScriptAccess" value="always" />

[Code]...

And I am still seeing the ExternalInterface.addCallback method fail locally. It works on a web server, or in the dev folder. But not in an arbitrary local folder.

View 3 Replies

Actionscript 3 :: Flash And Localhost Environment - No Connection To The Real Web?

Jul 26, 2011

I'm developing a flash thingy that connects to the youtube api. The website that contains the flashthingy is developed locally on my computer. I don't konw why flash does this, but it doesn't connect to anything on the real web. E.g. the youtube api. As soon as I deploy the project to a real server everything works fine.

Since I have a lot of dev still before me I'd love to test this stuff locally. what I have to do in order to get flash connected to real websites?

View 2 Replies

Flash :: Secure Swf So It Checks If It Is Running On A Recognized Environment?

Jan 13, 2012

In flash, is it possible to have your application check that the environment it is running on is "recognized". If so, how do you go about doing it? I want to put my swf on my website and prevent people using it on their site.

View 1 Replies

ActionScript 3.0 :: Auto-detect Flash Environment (browser Or AIR)?

Nov 26, 2008

I'd like to use the same code base for both desktop AIR and browser plugin applications, with some changes in the manner in which data is loaded and saved. Ideally, I would like to auto-detect the current environment so I know where to look for the data to be loaded, either from the filesystem or from a URL. Is there a simple test that can accomplish this without relying on a hack?

View 2 Replies

ActionScript 3.0 :: Flash Detect If Swf Is Executed In Or Out Development Environment

Aug 13, 2010

I have two main folders in my application:

- One with my flash sources named "flashsources" (with *.fla, *.as etc)
- Another one for production only, named "www" (with *.swf, *.html, *.js etc)

When I compile my swf, from the *.fla which is in flashsources, it is published in.I am loading an external swf from my main swf, this external one is located in www.The path to this swf changes whether my main swf is executed from Flash (at the compilation, then the current directory is flashsources) or outside Flash (running directly the file *.swf, so the current directory is "www")Does anyone know if there's a way to detect whether I am in or out Flash, to change the path to the external swf accordingly, or maybe a way to detect the current directory?

View 14 Replies

Flash :: Flex - Migrating A Project From Builder 4.0 To Builder 4.5 Is Producing The Error "The Required Skin State 'disabledWithPrompt' Is Missing"

Nov 28, 2011

I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".

View 1 Replies







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