Flex :: Using A Button Within Flash Movie In Builder?
Aug 2, 2010
Is it possible to build a UI with Flash CS5 that contains multiple buttons, and then have flex listen to those button events?
My current plan is to load the SWF with SWFLoader and attaching listeners to the buttons in a onComplete event would be the proper way to set it up, however i cannot seem to find a way to access the buttons themselves and attach listeners to them. Of course i would give each button its own instance name.
I have a component where a Button is wrapped in BorderContainer. I'm passing a custom property to the component at run-time to change the label of the button but Flex is reporting the following error:
Cannot access a property or method of a null object reference
When the error occurs, Flex highlights the following code:
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.
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
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.
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".
I created a new actionscript project using Flex Builder 3 and tried to run the following file. I get this error : Definitions: fl.controls:Button could not be found.All I want to do is, to add a button to the application.How could I do it?
When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?
I am trying to achieve a continuous mouseDown event when I press a button, I have set the autoRepeat attribute of the button to true, and I have created both mouseUp and mouseDown event handlers, but when I press and hold in the button, it doesn't continue firing, it just fires once, I am new to Flash Builder, so I am not sure if I am missing anything, here is my code,
From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]
I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value. var loader:Loader = new Loader();
I am working with ShockWave flash ActiveX in c++ builder 2010 IDE and my program show ads (swf files) that will be loaded by .ini file that I add the path to each movie. When the number ads increased I have decided to write a method in c++ builder to play each swf movie consequently. As different swf movies have different number of frames, duration, and speed (FPS) I am going to create a method that track all swf information and will control playing swf file via TTimer.
[Code]...
How to find out how long the movie will be played (in seconds) in order to set timers interval???
I know how to do it if your movie is smaller then the screen, but what if flash is bigger then your screen? In that case it will cut off the right side of the flash, but how to centre a flash so it will cut left and right side accordantly?
I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?
Is there a way to tell which AIR runtime it is using?
I am using Flash Builder 4 on my MAC. Flex SDK 4.0. Flash Player 10.1.By executing this code below I only see the trace saying "start". And if I look at the Declaration of the ENTER_FRAME is see the error saying: "Source could not be found for flash.events.Event.Enter_Frame in...."But the playerglobal.swc source is there, and I have tried different SDK versions and FP versions.If this is a Flash Builder problem I can not be the only one having this issue?[code]
I'm setting up a build system for a Flash Builder 4 (Flex 4) based project; and I'm struggling to get a setup that compiles in the IDE the same as it does from the command line on the build server.I come from a C# background; and my expectation is that I'll be able to create a "solution" with a collection of "projects" that I can compile from the IDE, or from the command line on the build server.The best I've managed sofar is 2 separate build "scripts", a custom ant script for the build server, and the default Flash Builder IDE config based on a workspace; but this is making my DRY daemons jump around in fury.
I've been working in Flash BUilder 4.0. I installed Flash Builder 4.5, and switched to the workspace I had used for 4.0. Then we were told to go back to 4.0, and now I can't run or debug. I can build, but then I have to double click on the .html file to run. Right clicking doesn't bring up run or debug, and the run and debug icons are not in my toolbar.
I'm using Themes with Flash Builder. And if I choose a Theme Flash Builder copy the SWC into a folder in my user dir(C:UserschristenlAppDataRoamingAdobeFlashuilderThemesmyGrand_theme)When I update my theme file. Flash builder does not copy the new SWC into the folder. So I have to import the theme again or copy the file to the location.Is there a way to point to the theme project instead so I dont have to manualy copy paste the file every time
I am having trouble profiling my application using Flash Builder 4 with any version of Flash Player above 10.0 (approximately, I can't remember exactly). To get round this I installed an older version of Flash player for IE and pointed the profiler to this when profiling.Now I want to use 10.3 so this is a problem! The alert box I receive is:
"Unable to connect to the application to fetch profile data.
It turns out I needed to state a full path to the ProfilerAgent.swf in my workspace in the mm.cfg in my home directory. For example:
When i change the code into my Flash Builder 4.5 project and hit run the output doesn't show the new result but the old one, only after a while the new result is showed on subsequent project runnings. Has anybody encounter this problem? Are there some hidden settings?
I was running my application from Flash Builder 4.5.1 without any issues. (It is a Flex application that connects to .Net Web Services). However, something has changed recently in my configuration or project, because when I try to run the app with the play or debug button, I just get a grey screen. I can't even stop on any breakpoints. Eventually (maybe 30 seconds), a message pops up like so: 'The Flash Builer failed to connect to the running application. Please make sure that you are running the debug version of Flash Player...'
I am having trouble profiling my application using Flash Builder 4 with any version of Flash Player above 10.0 (approximately, I can't remember exactly). To get round this I installed an older version of Flash player for IE and pointed the profiler to this when profiling. Now I want to use 10.3 so this is a problem! The alert box I receive is:"Unable to connect to the application to fetch profile data.Please try profiling the application again."t turns out I needed to state a full path to the ProfilerAgent.swf in my workspace in the mm.cfg in my home directory. For example:PreloadSwf=C:UsersChrisDesktopWorkingfolderWorkspace.metadata.pluginscom.adobe.flash.profilerProfilerAgent.swf?debug=true
I've tried everything, firewalls, reinstalling etc etc. I can't get the debugger to connect no matter what I do.
I'm just writing a simple Air application, with Flex and Actionscript. But any type of debugging on any type of application doesn't work. I get this message
The Flash Builder debugger failed to connect to the running application.
I'm currently assisting in developing a game for Facebook using a mix of Flex Builder 3.0 & Flash CS4.
Having a small issue in 2 classes that import the Tweener .swc file, and yes it is imported in my game project, under the libs directory. I'm pretty sure its the latest version of tweener as well.
The game is tested in Flash CS4. I have like 12 different symbols representing an icon; its an RPG. For example, one symbol would be a bag symbolizing the inventory, another would be a picture of the character, symbolizing the character page when clicked upon and so on and so forth. I click on one particular symbol, the inventory one, and I get the following in Flash CS4's output, preventing a transition from occuring to pop up a list of items in the inventory when clicked upon in the .swf file. Here they are:
i have a problem about RDS and blazeds, when i use flash builder 4.5 to connect the server data, there is a rds error (403 or 404),but i can ping the http://10.25.129.151:8400/testdrive/test/" on Chrome or ie. So i don't know how to configure the rds in flash builder 4.5 or i will must configure others?
I'd like to write a program using the facebook-actionscript-api. The google code's website of facebook api shows that it provides .swc files for flex 3.4 or the sources.
how can I add them to my Flash Builder project ? Do I need to compile the sources ?