ActionScript 3.0 :: Use Flex SDK Library In Flash?
Jan 12, 2011
I would like to use BitmapAsset class inside CS3 or CS5.I know that the class is somewhere inside flexSDK library (I use version 4.1). So is it possible to use flexSDK for "flash purposes" ?
View 2 Replies
Similar Posts:
Dec 15, 2009
I'm looking for a effects library for flex or flash, I used one in a project but I cant remember the name. It doesnt matter if it's not free or open-source.
View 2 Replies
Nov 23, 2010
Lets say I pick up a pure Javascript library... one that doesn't rely on the DOM in any way.Now, lets say I want to take that library and us it in Flex. Is there any good way to do this? I can't simply include the Javascript, as it is not close enough to ActionScript to compile... but is there a good converter that will do it for me? Take the Javascript prototype style classes and convert it to ActionScript classes?
Lastly, I don't want to use the Browser for this.I know that I can always use ExternalInterface to access the browser, but I am not always running my Flex app in the browser... sometimes it is Air, and sometimes it is in a PDF.
View 3 Replies
Mar 9, 2010
Is there a tool that will convert an exported Flash library element (ie Component/MovieClip) to an AS3 class with Flex syntax, e[Embed(source="graphic.png")]
View 1 Replies
Jun 29, 2010
I am embedding a flash file in my flex file and then trying to add it to the stage. IU try addChild to a canvas element and to a container element, but it keeps giving me the error, the symbol "myBtn" is cannot be converted to a IUIcomponent.
I understand that I need to place everything inside some sort of component, but what is the proper way to do this in flex?
View 4 Replies
Aug 8, 2011
I am looking for a) the easiest to use free chart library and b) a chart library with a lot of features for Flex. I am looking for basic line and bar graphs. What are the options available? Library size may be an issue for the application I am trying to write.
View 4 Replies
May 6, 2009
I have found a way! It's very complicated though... Hopefully someone has an idea on how to clean this up...
The workflow:
------------------
I'm using Flash to draw movieClips which are exported as one assets.swc file and then used in Flex for coding.
The scenario:
------------------
I've been working / thinking about this for the past 3 days.. it's driving me a little crazy. I've simplified my code down to 3 boxes that are drawn onto the screen. Each containing one background movieClip. The three boxes are three individual box clips in the Flash IDE library (different designs). But all three boxes share the same functionality.
The problem:
------------------
When using a custom baseclass (AbstractBox.as) to define all the functionality for the boxes, Flex looses all the code hinting for the movieClips inside the box movieClip (bg in our example) Also it seems like Interfacing doesn't work since as3 can't define MovieClip instances or any other variables in interfaces.
[code]...
Now my question: Why is this so complicated!? Isn't there a cleaner / simpler way to write this?
View 1 Replies
Jan 22, 2010
I want to use Open Flash Chart in Flex3/AS3 project?
I mean,How Can I use Open-flash-chart in Flex application client side.. ??? (I use FlashDevelop)
Can i do that by just adding .swf file?? If yes? then where to add? I am not using FlexBuilder, I am using FlashDevelop OR Command line for compiling..
Or I have to add .swc file.. ??? If yes, then how to generate one for open flash chart..???
View 3 Replies
Nov 30, 2010
There are missing tween libraries in my Flex Builder how to add them?
View 4 Replies
Aug 6, 2011
I would like to do something like this URl...but have the individual lines animate and show progress along a route. It needs to be a 'real' map so that I can feed in LAT/Longs for for the polylines. This is also a similar effect URL... but I don't need the map panning.I am aware of the google maps api for Flash but there doesn't seem to be any animation other than panning.
View 1 Replies
Nov 13, 2010
it is said [URL]You can download the JSON library as part of the core ActionScript 3 library.but when clicking on the link it doesn't work
View 1 Replies
Mar 3, 2010
I've been trying to setup a working method for unit testing flex libraries using Flex Builder. i have tried setting up a standard flex lib project and using Ant to compile and run the units tests. But this means that when something does go wrong and I want to use the flex builder debugger I cannot do so.
So my next plan is to setup the library as a normal as3/flax/air app as I can use the concept of a main class to run the unit tests. I can then compile the actual library code using Ant.
I could also setup a separate companion project who's sole task is to run units tests on the lib. But this is a little awkward as each library now requires two projects to manage. How do other people develop flex libraries and use unit tests to test/develop/debug the code?
View 1 Replies
Apr 8, 2011
I have the job of recreating a flex app in HTML and CSS. The existing app makes considerable use of TextFlow to layout content. For several reasons I need to be quite accurate (within a few pixels) with positioning.
[Code]...
Ideally I'm looking for a library I can use to translate these many attributes into "proper" html and css. The current technology stack is PHP at the back end and javascript at the front end, but there would be little problem in using any other language to do the translation.
Failing that I guess I'll try and write my own, using the api reference as a guide.
View 3 Replies
Apr 2, 2010
I'm building a video player using Flash CS4 (hereby referred to as "Flash") to create the graphic symbols and compiling and debugging with Flash Builder 4 ("FB4"). Here are the steps I take in my current workflow: --Create the graphic symbols in Flash. I've created a few different symbols for the player, but I'll focus on just the play/pause button ("ppbutton") here. --In the Library panel, I go to the ppbutton symbol's Linkage properties and link to a class named assets.PlayPauseButtonAsset that extends MovieClip. I do not actually have an assets package nor do I have a class file for PlayPauseButtonAsset as Flash will create them for me when I publish.
--In Flash's Publish settings, I set the project to export a SWC that will be used in FB4, called VideoPlayerAssets.swc. --After the SWC is created, I create my FB4 project called "VideoPlayer" and add the SWC to my path. FB4 creates the class VideoPlayer in the default package automatically. --In VideoPlayer.as, I import assets.*, which imports all of the symbol classes I created in Flash and are available via VideoPlayerAssets.swc. I can now instantiate the ppbutton and add to the stage, like this:
[Code]...
View 2 Replies
Feb 9, 2011
I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :
<runtime-shared-libraries>
<url>some-lib.swf</url>
<url>some-other-lib.swf</url>
[Code]....
View 2 Replies
Nov 25, 2011
I want to create a custom component library. the components are customize-able during creation time. means like Accordion or TabNavigator, when we drag and drop the Accordion in flash builder it
<mx:Accordion x="38" y="167" width="200" height="200">
<s:NavigatorContent width="100%" height="100%" label="Accordion Pane 1">
</s:NavigatorContent>
[code]....
View 2 Replies
Dec 24, 2010
I want to reuse the TitleWindow's closeButton inside a simple Flex component I am writing, but I'm having trouble getting it to compile. I copied the code that deals with the closeButton, which looks somewhat like this:
[Code]...
View 1 Replies
Mar 4, 2012
If I create a Flex Library project, am I able to use Flex classes from within the library?
The reason I ask is because I'm working in a Flex Library project and trying to use the mx.rpc.soap package. I can import the the package without an issue, and even get code hinting making me think the package is available. Of course I can even see the swcs included in the project. However, when I try to instantiate the WebService class, I get an error when building. Flash Buidler IDE doesn't tell me what the error is, and I don't go into debug mode when I continue with building. I haven't tried connecting to the service yet, just importing the Class and creating a new instance.
View 3 Replies
Jun 21, 2011
I have a project that requires me to create interactive schematic maps for rail networks. Something along the lines of London's tube map (Not the tube map itself. Are there any flash libraries out there that can assist with this sort of thing?
View 1 Replies
Jul 29, 2010
i have situation in which i have some library projects, say
"DataProcessors","Lib2"
, included in my lets say "MainProject" (a web project) placed on directory
"E:in-debugMainProject.swf"
, when i build the project it automatically place all the libs .swf in its "E:in-debug" folder, but when i debug or run the project it it gives loading error that
"E:DataProcessors.swf"
not found but i have those lib files on
"E:in-debugDataProcessors.swf"..
what could be the possible errors.
View 1 Replies
Oct 15, 2009
I'va been monkeing with this lib : Ravis.It a librari on .swc, someone know how to use or configure this library on NetBeans 6.5?
View 1 Replies
May 17, 2010
Is there any GPG library for Flex 3?
It seems hard to find information about this from Google.
View 1 Replies
Aug 4, 2010
I hope I would not waste your time too much. I am going to publish my Adobe Flex library to sell in commercial, but I don't need anyone can open my SWC file and study the code in there. I see Adobe Flex library can prevent this activity. How could I do this too?
View 1 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Aug 25, 2009
How can I use two version of a library in the same project in Flex (using Eclipse). (in my case the library is papervision3d , and I have written some code using the older version, but due to big changes many of the used function exist no more)
View 1 Replies
Jan 17, 2010
I need a 3D library that works well with Flex... NOT Flex Builder - the free Flex SDK.
View 1 Replies
May 15, 2010
Is there a place online where I can find like 16 linear gradients that match good with each other? I need them for a chart of mine and the ones generated (by Flex) aren't good enough.
So, I'm kind off searching for a library of gradients (linear in my case).
View 1 Replies
Sep 17, 2010
how to add a MovieClip from the library by a class i've MovieClip and i want to add it to the stage by a class note i've already a class and linked to a MovieClip and what i woona do is to addChild another MovieClip in the stage
View 3 Replies
Sep 18, 2010
I have an old Flex app build with the Halo library. Now that Halo was changed to mx library, it makes the old Border component stop working and I'm unable to build the project anymore. Even when I try to change the library to MX, the Border cannot build.
View 1 Replies
Jun 1, 2011
i want make own flex library and in this library use own actionscript file which will i use in more component in this library..this file contents eg only code
public function computeSum(a:Number, b:Number):Number {
return a + b;
}
but when i can this create just when i click File-New-Actionscript File (filename - OK) is in Problem view Error: A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be externally visible, please put the definition in a package
View 3 Replies