Really nobody ?
I was thinking this would be an easy question ..
What components are you referring to as to missing I will give you some examples when I understand it better
Hello dpierce747, thanks for responding.
When I open a new Actionscript 3.0 project in FlashBuilder 4 i get default access to the Flash.* packages.
The ActionScript 3.0 Language and Components Reference teaches me that this gives me access to the Flash Player API wich refers to all packages, classes, functions, properties, constants, events, and errors that are in the flash package.
What i don't -automatically- get is access to the other classes for ActionScript authoring wich are in the fl.* packages.
When creating a new Flex project in FlashBuilder 4 these packages are readely available to me.
I'm wanting to use the fl.controls package wich contains top-level component classes such as List, ButtonProgressBar and TextInput (wich i'm after the most)
Any advice ?
first under your actionscript3 project in FB, go to Project/Properties and add a reference to the component source directory under the Src Tab as opposed to the Library (swc) tab. I tried it with Flash CS4 but I also have CS5 that I did not try it with.
here is at least my link to the src directory (that contains fl etc)
C:/Program Files (x86)/Adobe/Adobe Flash CS4/Common/Configuration/Component Source/ActionScript 3.0/User Interface
source code test:
You are a lifesaver !
As you said, the answer was in adding a component source directery opposed to a library.
Tanks alot !
- Now only to make it look, set its style, like the flex component -
you can also, instead of creating a new ActionScript project, create a new Flex project, but before clicking on finish, rename the main .mxml file to .as
so you'll have an ActionScript project with the flex libraries
Does your suggestion still work under 4.7?
Or is there another step required?