How To (re)package Mobile AIR App For Flash

Jun 8, 2011

I've written a small sample AIR application in Flex to be deployed on iOS and Android, but I'm wondering how to go about setting up a way to publish it as Flash as well. I'm using Flash Builder 4.5. Any tips for this AIR noob?EDIT:I should add that I've tried to add a new Run Configuration, but did not see a Flash app option listed there. I'm sure I'm missing something fundamental. After all, this is FLASH Builder.UPDATE:So this partially did the trick... I went to Run Configurations again and created a new launch configuration called "Flash_configuration" and pointed it at my project like so.

However, upon hitting "Run," the app launches in Adobe Flash Player, but is completely blank. The mobile flex contains buttons and UI elements in the View, but these do not show up in Flash Player. Perhaps the Mobile Flex framework elements are not directly translated to elements understood by Flash? If so, will I have to use some actionscipt to detect the platform and replace those mobile elements with flash-friendly ones? I would sure hate to rewrite/draw.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Passing X And Y Values Into A Package From Main Package

Dec 18, 2009

I am having troubles passing an x and y argument into a package function that creates a projectile on stage at the tank.gun's x and y.I have attached a zip of the code I am working on.[code]

View 6 Replies

ActionScript 3.0 :: ASDoc Only Documents 1 Package Function Per Package?

Jan 27, 2010

I'm running into this weird thing with ASDoc. It will only document one package function per package.For example.I have these two functions:

gs.util.printf
gs.util.ftrace

In these files:

gs/util/printf.as
gs/util/ftrace.as

The only function that get's documented in ASDocs is "printf". But I know it can do more than one. As an example, in the livedocs [URL] There are more than one functions documented.

View 2 Replies

Iphone :: Access Mobile Device Camera From A Grails Application Using Jquery Mobile

Feb 23, 2012

I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices. Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.

View 1 Replies

Flex :: Mobile Gesture Event : Slide Between 2 Views Like Google+ Mobile?

Mar 23, 2012

I would like to move (right or left according the current view) between 2 views when I move my finger on the mobile screen; for example with Google+ mobile application, in profil section, you can change the view just on move your finger on the screen, and the offset and the moving speed must be checked before change complete view.

View 2 Replies

ActionScript 3.0 :: Compile Package File - Error: A File Found In A Source-path Must Have The Same Package Structure?

Dec 19, 2011

I have an actionscript file,it has a package name,it locate C:demo directory,like follows:

package demo{
import flash.display.*;
public class ABC extends Sprite{[code]............

Then I compile above code like following command,but it raise following error:

C:>mxmlc demoABC.as
Loading configuration file C:sdkframeworksflex-config.xml

C:demoABC.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'demo'.Where is wrong above command?

View 1 Replies

Flex :: Mobile Supports Native Mobile Features?

Jun 27, 2011

Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).

View 2 Replies

Eclipse :: Flex Compiler Error: "put Definition In A Package" For Classes That ARE In A Package

Oct 13, 2009

This is with Flexbuilder 3.2, Eclipse 3.3.2.I am moving my development environment to a new machine. Actionscript classes that compiled in the old environment now get a compile 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.I do declare the package in these classes - I think failure to declare the package is the usual reason for this error.To add to the mystery, many classes in this project compile without errors.

View 1 Replies

ActionScript :: Android - What Is The Difference Between Mobile Project And Flex Mobile Project

Jun 5, 2011

I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?

View 1 Replies

ActionScript 2.0 :: Load One Class From That Package In Another Class In The Same Package

Dec 14, 2004

I have classes witch resides in this package :com.network.interface_as. When I try to load one class from that package in another class in the same package like this:

[Code]...

View 2 Replies

Importing A Package Into Flash?

Jun 12, 2011

I'm trying to make use of a package that someone else has written in my Flash AS3 programme.I can't work out how to include it however, nothing I try seems to work. The package is here:[URL]

View 1 Replies

ActionScript 3.0 :: Use The 3D Package In Flash 10?

Mar 26, 2011

Been looking for tutorials and examples of how to use the 3D package in Flash 10 but can't find anything. I have some experience of 3D programming (C++) so I don't need the basics, just a description of how actionscript works.

Had a example of a randomly rotating 3D box but can't find the page again...

View 1 Replies

ActionScript 3.0 :: Import As3 Package Into Flash 4?

Feb 8, 2010

I want to ask how i can import as3 package into flash cs4 .

View 1 Replies

Package To Import To Use JPGEncoder In Flash?

Jul 2, 2010

var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(bmpData);

The above is reporting error:Type was not found or was not a compile-time constant: JPGEncoder. Call to a possibly undefined method JPGEncoder.

View 1 Replies

Flash :: Call A Function In AS3 Package?

Oct 8, 2011

Below is a MXML code built from Flash Builder 4.5 with AIR SDK 3.0. Using Starling framework to create 2D animation and wonder how do I call a addText function without create a new instance of Game?

main.mxml is a main application:

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" [code].....

View 1 Replies

Actionscript 3 :: Create A Package Using Flash?

Mar 18, 2012

If I create a new file in explorer named test.as and I create my packaged class, I haven't found a single way to have my flash file find and use it. I've tried using relative and exact paths in the actionscript 3.0 settings. It refuses to see it

However. If I create an as3 class named "test" THROUGH the program, it actually "LOADS" the test.as that I created in explorer. And has no problem finding and using the package.I need to know why Flash requires that the .as file is made through it's program.I feel like I'm entirely missing something. Does this mean that if I want to use a class that I find in some tutorial. I need to create new AS3 files and paste them in for each one?

View 1 Replies

ActionScript 3.0 :: Flash Getting ReferenceError When In Different Package

Jan 8, 2011

I have the following sample Factory code:

Code:
createProduct(50, "Product1Class");
createProduct(5, "Product2Class");
private function createProduct(amount:uint, productClassName:String):void {

[Code]....

works with no reference error, so it's clearly got something to do with the classes not being in the application domain.

View 1 Replies

Professional :: Where Download Last Flash Player Package For Flash Pro CS3 (editor)

Sep 28, 2010

I want the last update in V 9.0.280 (or 283?) of this Flash players(s!) for Flash pro CS3 in this page url...Actually on this good page and good old package, exit only file V 9.0.262.0 (46 Mo) to 02/11/2010.Where is the same package in last version (september 2010) V 9.0.280 (or 283?)?Only this package (for Flash pro CS... editor) in more 40 Mo (and normally in "ZIP" format) is the good! package.Not the pages with file Flash Player (for navigator) to +/- 3 Mo or other stranges Flash player packages of +/- 20 Mo (for developpers? or old system?)and not containing the good files for Flash Pro.

View 1 Replies

Flash :: What Does 'com' Stand For In Package Names And Folders

Jun 23, 2010

I tried googling this but can't find anything. I'm just curious as to why we use the folder name 'com' as the root directory? what does it stand for? computer?

View 4 Replies

Flash :: Package-level Function Is Not Working?

Aug 19, 2010

After I saw the methods in flash.utils package, I decided to make a try:

// inside file Test.as
package com.tests
{

[code].....

View 2 Replies

Flash :: Making A Specific Package Work?

Jun 13, 2011

I'd really like to use this package in Flash as3:[URL]... I've copied the source and saved it as a file called MP3Loop.as. In the same folder I have a .fla with some code in it like this:

var looper:MP3Loop = new MP3Loop(); So far as I can see this should be all I need to have a play with the package, but it doesn't seem to work. Instead I get this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference. at MP3Loop/initUI() at MP3Loop() at loop_test_fla::MainTimeline/frame1()

[Code]...

View 1 Replies

Flash 10 :: Change Default Package For Class?

Jun 30, 2011

When I export assests for actionscript the defaul package is empty it there change to change it? To each time I export library asset for actionscritp default value for class field will contain package?

ex.
Class: assets.MyClass

View 0 Replies

ActionScript 3.0 :: Flash - Directory/Package Structure?

Feb 17, 2011

There are many articles available online regarding directory structure best practices, but none of them seem to fit exactly what I need/would like. That, and it seems regardless of what I try, I always get a "5001: The name of package '[package name]' does not reflect the location of this file..." error. This is my current directory structure:

Code:
- colorselector
- assets

[code].....

View 1 Replies

Actionscript 3 :: Package External Files Into Flash Deliverable?

Jan 22, 2010

Is it possible to package all external files, such as images and videos, into the final .swf or equivalent file? I want to keep the external files separate because it is easier to change them out while developing, but I don't want them to be external when delivering the project.

View 2 Replies

Actionscript :: Flash - Package Naming And Directory Structure?

May 8, 2010

I've got some actionscript which begins with:

package obfus_plugin{
import org.flowplayer.model.Plugin;
import org.flowplayer.util.Arrange;
import org.flowplayer.model.PluginModel;
import org.flowplayer.view.Flowplayer;
public class obfus extends Sprite implements Plugin {

and when I try to publish, I get the error:

5001: The name of package 'obfus_plugin' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:flowplayerurl_securesrcactionscriptobfus_pluginobfus.as

the location of the .as file is:

C:flowplayerurl_securesrcactionscriptobfus_pluginobfus_plugin.as

In my classpaths I have:

C:flowplayerurl_securesrcactionscriptobfus_plugin

View 2 Replies

Flash Error 5001n: Name Of Package Does Not Reflect Location?

Aug 29, 2010

I'm getting an error on Flash that I've never run in to before.

5001: The name of package 'Document'does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:Work2009-2010FlashTestsDocument.as

The fla is called TestEvents1... and that's all the info I think is related.What's happening here?

View 1 Replies

Flash :: Flex - Resolve Conflicting Package Name In Builder?

Dec 20, 2010

I am using Flash Builder 4 and need a VideoDisplay component that works with Cue Points. The newer version of theOSMF classes that Flex's VideoDisplay are based on handles this already. The idea is to roll my own VideoDisplay component rather than monkey patch the existing one. To do this, I have created a project with the newer version of the OSMF classes, and another project with which I would build the new VideoDisplay, in a separate package name.

The issue is that since the Flex 4.1 SDK contains the majority of the OSMF classes with their original package names, a statement such as import org.osmf.media.MediaPlayer; references the class located at

[Code]...

View 2 Replies

AS2 :: Flash - Error "There Is No Class Or Package With The Name 'com.es3.ProgressBar'

Feb 15, 2011

I am using Flash CS5 and am getting a very odd error when I compile. All my classes are in the package com.es3.as2. In the first frame of my movie, I have the following code:

import com.es3.as2.Shell;

I have my classpath set correctly. When I compile, I get this error:

, Line 1 There is no class or package
with the name 'com.es3.ProgressBar'
found in package 'com.es3'.

This is odd because nowhere do I refer to a "com.es3" package. It's always "com.es3.as2".If I remove the import line, the movie compiles with no errors (but without the initialization code, it doesn't run correctly).

View 1 Replies

Flash :: Compiling Default Package / Top-level Functions Into A SWC?

May 1, 2011

Are custom functions that are defined at the "default" package level (aka Top Level) included in a compiled SWC? Or are they ignored?

//Compiled, or not to be compiled in a SWC - that is the question...
package {
public function topLevelMethod():void {
trace("Hello World");
}

Anyone experienced problems with this?

View 2 Replies

Flash - Reset Main Class When First Loaded The Package

May 12, 2011

[Code]...

Is there an easy way to reset all of my variables to the way they were when I first loaded the package so that I don't have to go through all of the variables and reset them manually?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved