ActionScript 3.0 :: JQuery - Import Flex Library In Project?
Feb 18, 2010I wonder if there is any way to use a JQury code in my Flex application? Can I import this Library in my Flex Project?
View 1 RepliesI wonder if there is any way to use a JQury code in my Flex application? Can I import this Library in my Flex Project?
View 1 RepliesI`m using flash cs3 for my works , but i have one problem!when i use File=> Import=> Import to Library... or Import to Stage...the flash environment becomes terminated.I changed my flash version to CS4 and I have this problem again.
View 2 RepliesWhenever you view a flex app and go to view source you can download a zip of the flex app. Once you do that how do you import it? I went to flex>import and I get to options import archive file I pointed that to the zip and it says its not a valid archive file. so I tried the other option import flex project folder, I extracted the zip and pointed it to that and it says its not a valid project folder.
View 4 RepliesI'm trying to do a simple import into an ActionScript Project that I've created in Flex Builder:
import mx.controls.Label;
It won't let me. Code hinting shows no 'controls' after mx.
I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???
View 1 RepliesI 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?
In the Below action script file i get an error saying cannot import mx.controls.Label, how is this to be resolved
package {
import flash.display.Sprite;
import mx.controls.Label;
public class cld extends Sprite {
public function cld() {
var myLabel:Label = new Label();
myLabel.text = "hello";
addChild(myLabel);
}}}
I'm developing a module based applications in Flex and I was thinking about moving all my Value Objects (VOs) into a library project
Current Structure: I have a project that consist of a shell application and 3 modules. The modules contain about 10 custom components in each that are dynamically loaded at run time. My problem is component A ( in module A) needs to pass data to component B (in module B). So when this happens I move the VO that component A was using to a common folder. I then pass the VO and have component B pick that up and do what ever it needs to do with it.
So what I was thinking was using an existing library project and adding all my VOs to it. This way I'll never have to move a VO from the module to a common folder so both module A and module B can access it. The basic idea is I want to be able to complete abstract any module from shell into its own widget or Air app with out depending on any other modules.
Simple html parsing library, written in as3 for a flex project?
View 3 RepliesIf 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.
i seem to be having some problems with the Vector class in actionscript 3 in a Flex Project or an ActionScript Project it is possible to do this var v:Vector.<String>; But when i do the same thing in a Flex Library Project (to create an SWC) then i get the following error on that line of code 1046: Type was not found or was not a compile-time constant: String.
so when using Flex Library Project it fails..., but when i compile the same thing using compc there are no problems any idea why only the library project is complaining about Vector ?
[Code]...
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..???
I have a Flex Library Project which has both Flex specific classes, and Air specific classes.When I reference the library in an Air project, the compiler complains about an overriding contextMenu in mx.containers.Panel, saying that the param should be of type NativeMenu (instead of ContextMenu). If I switch it over to NativeMenu then it compiles fine.
The issue is when I reference the library in a Flex Project. This time it complains that it doesn't know the type NativeMenu. If I try to change it back to ContextMenu, then I get the same error as above.I've searched google to no avail (found that someone else encountered the exact same problem: http:url.... )
I would like to access a soap webservice from a class in a Flex (AIR) Library Project.
How can I instantiate a WebService and get data from a SOAP WebService.
If I create a new ActionScript project with Flash Builder and want to add some library (for example Tweenlite) where do I have to put the gs folder of Tweenlite relative to my project folder? and what do I need to setup in the project settings in order to be able to use it?
View 2 RepliesMy flex (flash builder 4) project references (embeds) a flex library project (ReusableFx). I have it working fine when it builds and runs, but I am struggling with a Design mode error "Design mode: Error during component layout...". In the flex library project there is a 'default.css' file which references a png file. Specifically like this:
[Code]...
It works when I build and run, I see the icon, but the problem is that design mode must work different in flash builder and breaks with this line. I tried a few things with no difference:
[Code]...
How can we import images using AS3 code so that when they are imported once will remain in the library forever..
View 3 RepliesI'm creating some custom components and backing code. I've created a Flex library project in Flash Builder which compiles to a SWC. The problem is now that all my MXML files get compiled into classes in the default package, making the whole thing a big mess.Is there a way to set a package declaration for MXML files? After all it just gets translated into AS3 classes. This seems to work in regular Flex projects using a namespace declaration so I'm at a loss how that is supposed to work. The other option is building out all the components in AS3 which I'd like to avoid.
View 1 Replieslibrary that would allow me to manipulate Flex "DOM" and assign events in such an elegant way that jQuery uses?
View 2 RepliesIn this link: [URL] there is a online planer, its made with flash. but I would like to know if that is is possible to be made with jquery only.
View 1 Repliesi 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.
I was wondering if there is a way to import a Flash project into another flash project, i have something that can only be done so far in AS2 and my main project is using AS3
View 5 RepliesI am trying to embed a 3rd party flash component into my current flash project. As a stand alone, the component works fine but when I try and import the xml file for the component into my current flash project library, the message I get:
" one or more files were not imported because there were problems reading them" I have tried importing the xml file into another dummy cs4 project on another machine and again no success, so I believe there are elements within the xml file that will not work with cs4. Below is the xml file code.
[Code]...
First of all, I got to say that I'm new to Flash and AS3 and that my english is far from perfection, so just tell me if I'm saying anything you can't understand.
I received the source code of a website which is fully in flash. The code is sperated in two parts, one is containing the application specific code and the other one is containing the AS3 library.I'm kind of lost when I'm trying to run it in Flash. What is the right way to import a full action script project in Flash? Where should I put the library?
I'm building a Flex App for a Media Development course and one of our requirements for this sprint is to implement a simple P2P chat into the interface. I created one from a tutorial that served my needs and altered it appropriately, but it exists as a separate Flex Project and not within the Main App.
I know I can export the Chat as an fxp project file, but I'm not sure how I can use it in my main app. I was trying to create a Custom Component, but the process isn't very clear and Adobe's help files on the subject didn't seem to relate to what I specifically wanted to do. I get the feeling that there's a very simple fix for my goal, but hopefully someone would able to point me in the right direction as I've been working on this app for a good 6 hours and need a break.
I am on a mac and I have a preexisting Flash project. (i.e usual fla, src, lib) folders.Now, I want to start writing the code using Flash Builder 4.
How do I import all those files so I can now develop in Flash Builder 4?
Iam using flash cs3 professinal. How can I import to library swc files.
View 5 RepliesWhile im working on simple animation like text rolling.. in that i created external xml for menus. As im new to flash im learning it from tutorial, but its not clear. I download tweenmax rar file. i dont know how to import that file into my project.
View 1 RepliesIm trying to import an external SWF onto the stage of a new Flash project. I found the following AS2 code and created an ActionScript layer and placed it into the first frame. However, when I press the Play button, nothing happens and no movieclip is placed into the library.
this.createEmptyMovieClip("mc",1);
mc.loadMovie("mymovie1.swf");
mc._x = 0;
mc._y = 0;
Is there a library for ActionScript 3 similar to jQuery touch for developing iPhone applications with Flash?
Basically there is a jQuery library that emulates the native cocoa gui widgets with JavaScript for mobile websites, just wondering if there is something similar in Flash.
An acceptable answer would include, 'there isn't one'.