Actionscript 3 :: Using A Flash CS4 Asset In Flash Builder AIR Application?
Nov 23, 2010
I have written a flash cs4 custom button class in actionscript 3 with its unique look-and-feel and transitions on up/down etc events. How can I import the Flash assets and use it Flash Builder for an AIR application?
View 1 Replies
Similar Posts:
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
Dec 30, 2011
I have found some question which refers to my initial question :on xcode Usually resolved in synthesis by :
flushing certificate cache correcting the signing certificate ( using Distribution in replacement of Developper) C checking and correcting the Application ID who was sometimes not the same between the one declared in iTunes Connect and the one in the app.xml file
The fact is that I still has the problem on Flex Builder, which is when I upload my application, it failed with "Application failed codesign verification"
[Code]...
So the question is what could still block the uploading of the application on the App Store?
How to resolve "Application failed codesign verification." when uploading Application, build with Flash Builder 4.6?
View 2 Replies
Jan 30, 2012
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...'
[Code]...
View 2 Replies
Mar 17, 2011
I am an actionscript developer and I know nothing when it comes to mxml. recently switched to using flash builder and I really like it but I want to create an AIR application in flash builder but I don't want to use mxml since I don't need any of the built in framework to accomplish my goal.Is that possible? If I have to use mxml to start the application how do I use .as files with .mxml files?
View 2 Replies
Mar 30, 2011
I'm a GIS Analyst that was moved to an Analyst Programmer position. This has been a hard transition for me as I don't have much of a programming background, but I was thrown into it. 'm working on a Flex app inside a jsp page. Essentially it is a grid 3x2 that has images and text. What I am trying to do is have more than one titleWindow reference in this page, so that when an image is clicked a titleWindow is opened. (If anyone has a better idea, especially if it has to do with a hover I am very open to that!) Currently I have it working for one image. However, when I try to add a second function it errors on me. "Error 1021: Duplicate function definition" Below is the entire code for the main page that calls up the titleWindow. The code below is what gives the Error 1021.
<?xml version="1.0" encoding="utf-8"?>
<![CDATA[
import flash.geom.Point;
[code]....
View 1 Replies
Feb 28, 2012
this is really puzzling me: my flash-builder 4.6 application works fine with the ad-hoc distribution profile. but when i try to submit the .ipa-file via the application-loader, i always get this error:iPhone/iPod Touch: application executable contains unsupported architecture(s): arm.i also tried to put the armv6/armv7 keys into the infoadditions.
View 1 Replies
Feb 2, 2010
I've built a simple application in Flex Builder 3 with some trace() calls. It's an "ActionScript Project", no MXML or AIR involved. I don't run the app from within Eclipse, I just open the generated html file with Firefox.
I'm using the Flash Player 10 Debug version. I've correctly set mm.cnf to log trace output, following the official instructions. A flashlog.txt file is generate in the appropriate location.
Despite all that, trace output is not shown in the log file. What am I doing wrong?
(I suspect it's a compiler option, but I can find no such option in the project options in FlexBuilder)
(If I do run the app from Eclipse, by pressing F11, I can see trace output but only inside Eclipse, not in the log file)
View 3 Replies
Oct 10, 2011
I just updated my AIR runtime to 3.0 and noticed that my AIR application doesn't work anymore. So I tried to debug it it with Flash Builder, but when I run it there, everything works just fine. So I uninstalled the AIR runtime completely but noticed that I can execute my AIR app within Flash Builder still just fine. So the AIR runtime used within Flash Builder seems to be a different one than the systemwide installed AIR runtime. How Do I chose within Flash Builder which runtime to use and how do I update this runtime?
View 1 Replies
Mar 16, 2012
In my Flex 4.6 web application I use mainly spark components, but there is also an mx-component - a PopUpButton extended by me (the source code is below).Users report problems with that button, but I can't reproduce any - since weeks.
I've tried replacing mx:Menu attached to it by a s:List but it hasn't changed anything. I suspect there is a "null pointer exception" or some other failure, that I don't hit when testing myself...
My question is: why does Flash Builder reports warning about my custom button as if its methods would be private or not present?
My main App.mxml:
<?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"
[code]....
View 1 Replies
Mar 17, 2010
I need to set the size of SWF up to 800x600. But i don't know where can i change this property. There was an idea to change stage width and heigth, but nothing happened=(
View 1 Replies
Jul 1, 2010
I want to get data from a database of my site. In the setting of the project point out Root URL: http://...:** But what to set in Root folder?
Already tried the two dozen variants and Validate location does not work.
View 1 Replies
Dec 8, 2010
I have an html file which I want to use every time I debug my flex application. I don't want an new html file to be generated every time. How can I do this?
View 1 Replies
May 10, 2011
How can I make a word file (.doc) from flash builder (air application)? Is there any library to do that?
View 1 Replies
Aug 27, 2011
I am currently developing a mobile application using the latest version of Flash Builder and I need to create a Global ArrayCollection to store information in that is pulled from a local DB. I can pull back the data from the DB fine however I cannot seem to access the Global variable when I try. I have the follng .as file called "Model.as" which is located in a folder called valueObjects and that file contains the following code:
package valueObjects
{
import flash.data.SQLConnection;
[Code]....
Then in a private function I try to access the ids ArrayCollection and populate it however I get the following error:
-1120: Access of undefined property ids.
-Access of undefined property ids
View 2 Replies
Sep 8, 2011
I'm new to developing iOS applications and my school gave me approximately 5 months to develop an iPad application. I have no knowledge or practice on Objective C so since Flash Builder 4.5 allows the development of mobile applications (and I have experiences with Flash Builder), I decided to develop my application on Flash Builder instead.
Everything is going fine until I was told to include a SplitView in my application. I implemented a List on the left side of the application. Clicking on any of the list items will navigate the user to a to another view but i also included and retained the list on the left side of the new view in order to simulate a "SplitView".
Initially it felt as though it will do the job of a SplitView like how it does when I attempted it on XCODE but it doesn't look or feel natural. I found this video which shows that it is possible to create a SplitView on FB but I've cracked my brains and I really can't figure out how it is done.
[Code]....
View 2 Replies
Dec 1, 2010
some good resource for getting started with Graphics API in adobe flash builder
View 3 Replies
Feb 7, 2011
I have my main application, which contains several instances of a component that create a grid of photos belonging to a certain category. (the grids, and the photos are created dynamically with a loop).
I'd like to be able to click a photo to run a function that loads the large version of the photo into a separate element that is contained in the main application. So I created a Photo component in my main application, but how, using actionscript, do I change the 'currentphoto' variable in my main application from inside the tileview component?
Alternately I could put the function in the main application (probably more logical in the long run), but how would I call it from the child component?
View 1 Replies
Oct 10, 2011
I have heard about Flash Builder 4.5.1.As I have understood, one can make an application using Flex with the Flash Builder 4.5.1 and also exported the release build for iOS, Android and Blackberry.
What are the limitations of Flash Builder for developing the mobile applications? What are the things which can't do with this IDE? Is bluetooth, one of the thing?
Is it possible to develop Bluetooth feature for an application using Flash CS5?
View 2 Replies
Sep 12, 2011
When i stated to using debugging option, its showing error that, "The Flash Builder debugger failed to connect to the running application.Ensure that:
1. For in-browser applications, you are running the debugger version of Flash Player.
2. For network debugging on a mobile device, you have a reliable network connection to the device, and port 7935 is open on your machine's firewall.
View 1 Replies
Apr 14, 2012
I have developed a restaurant menu app for samsung galaxy tab 8.9 .I want to send all ordered details to micros pos eg item name,table name qty ordered , item price to pos .I have deeveloped this application using flash builder 4.6 ie used flex 4.6 and actionscript as technologies .So how do i integrate my application with micros pos to send all data ordered to it with micros pos??
View 1 Replies
Nov 14, 2010
So yahoo astra has grate compohent for saving inputed data. They show examples of how to use it. But I had not found one capable to solve my current problem. For example user inputed his name. It is saved, but when he comes again he always needs to input at least first latter of his name. so I wonder - how to make Yahoo astra autocompletemanager component to pop up last inputed into it value on application creation complete?
[Code]...
View 1 Replies
Jun 21, 2011
If I need to call a specific function in the parent application from a child in a flex project, what's the best practice for this? Would it be to dispatch a custom event from the child and have a listener call that function? Or to directly call the function with FlexGlobals.topLevelApplication?
View 1 Replies
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
Aug 2, 2010
I have a Symbol in Library with linkage name: box_mc
import flash.display.MovieClip;
import flash.events.Event;
import Src.smoothAnimate;
[Code]...
but when run is make error:
1151: A conflict exists with definition box_is in namespace internal.
i want when flash run, the box_is will be add in stage, resize by function changesize.
View 1 Replies
Jan 20, 2011
I'm creating a media player (mostly video but with some graphical interfaces) that has a full-screen mode. However, before going fullscreen it's relatively small (about 620x340) and going fullscreen would typically be about double the resolution. What is the best way to prepare the videos and assets in the file so they look good at fullscreen and at the smaller size? I want to also keep the file size to a minimum (within reason).
View 2 Replies
Jun 1, 2011
I'm building an Adobe AIR application (2d platformer adventure game), utilizing the Flash Builder 4 IDE, which will be packaged on a CD for installation. I've embed the majority of the game assets into a static class to keep it simple and organized. This way I can reuse assets and swap them without much digging.
Example:
[Embed(source = "../data/gfx/spritesheets/boyHero.png")] public static var boyHero:Class;
In the early days of the projects, everything went to plan. However as the project has grown to be over 28MB, I've started to run into Out Of Memory errors. These occur when I add new assets, refactor for a while, or add new classes. Once I get this error, I can restart FB and then work for another 15-20 minutes. I've modified my .ini file bump up Flash Builder 4's memory allocation. It's currently set at:
-Xms512m
-Xmx1024m
While I'm at it, here are the specs/plug-ins that I've got installed:
Flash Builder v 4.0 (build 272416)
JNA Library 3.2.7
subclipse plugin 1.6.17
subversion client adapter 1.6.12
subversion JavaHL Native Lib 1.6.15
SVNKit lib 1.3.5.7406
Mac OSx v 10.6.7
2.53 GHz Intel Core 2 Duo
4GB DDR
My Questions:
1) Is the issue with the path that I've chosen for the way I'm handling in-game assets? I am streaming in some assets such as tutorial swfs which are loaded via the SWFLoader. I could go this route for all assets... but, should I? Is this the right way to handle a disk game? (The game runs without a hitch when installed on QA machines...)
2) Provided the embedding of static assets isn't an issue, Is this a FB4 bug? Where should I head for more information?
View 1 Replies
Jan 25, 2012
I have some FLA/SWF assets which are hierarchies of bitmaps.They have timelines which page-flip through different bitmaps.I'd like to scale these assets down in pixel-size, including the bitmaps they're composed of.I'm not a Flash Animator, but the artist i'm working with doesn't know of an automated way to achieve this. ie, that it's a long a laborious manual process.Does anyone know of a tool which can simplify the re-scaling of bitmap-based FLAs ?
View 1 Replies
Oct 8, 2010
Im trying to fix some as classes that are importing from mx.core.* and have defined a Class that extended the BitmapAsset class--I dont believe that class exists in the Flash library, so I replaced them all with BitmapData--Can someone explain what mx.core is and what is the Flash equivalent of BitmapAsset?
View 3 Replies
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