Library Projects compiled using Flash Builder and ANT have different outputs

Hi Guys.,
I am really having hard time to get something work right with RSL projects in Flex 3.2 SDK. Here is my weird problem.
I have a library projects which has the following settings in Flash Builder
Link Type : External
airglobal.swc
framework.swc
datavisualization.swc
rpc.swc
utilites.swc
applicationupdater.swc
applicationupdater_ui.swc
Link Type: Merged into code
airframework.swc
servicemonitor.swc
Compiler settings
-directory=true -output=../../lib/core -debug=true -optimize=false -define+=CONFIG::bindingdebug,false -define+=CONFIG::frameworkdebug,false -define+=CONFIG::flexspy,true -define+=CONFIG::debug,true -define+=CONFIG::release,false -define+=CONFIG::logtoconsole,false -allow-source-path-overlap=true  -keep-as3-metadata+=Metadata,DefaultProperty,Required,Event,AssignableTo,Inject,InjectCon structor,Publish,Subscribe,PublishSubscribe,Factory,Init,Destroy,Observe,AsyncInit,Managed Events,MessageDispatcher,MessageHandler,MessageBinding,MessageInterceptor,MessageError,Com mand,CommandComplete,CommandResult,CommandError,CommandStatus,ResourceBinding,Selector,Tar get,Autoremove,Internal,ObjectDefinition,DynamicObject
When I compile my library projects I get a MyLibraryproject.swc. The SWC has the following files in it
mx/controls/HTML.png
mx/core/Windows.png
library.swf
Note: airframework.swc and servicemonitor.swc has a many png files and properties files in it. But these properties and png files are not included when compiled in Flash builder.
But when the same project is compiled using ANT compc task, i get all the png and properties files from airframework.swc and servicemonitor.swc files into my library project SWC file.
Here is the ANT version which is used to compile the library project
<compc output="${project.output.dir}/${project.name}.swc"
   include-classes="${as} ${mxml}"
   use-network="false"
   directory="false"
   allow-source-path-overlap="true"
   incremental="${build.incremental}"
   debug="${build.debug}"
   locale="${build.locale}"
   optimize="false"
   >
<define name="CONFIG::bindingdebug" value="${build.bindingdebug}" />
<define name="CONFIG::logtoconsole" value="${build.logtoconsole}" />
<define name="CONFIG::frameworkdebug" value="${build.frameworkdebug}" />
<define name="CONFIG::flexspy" value="${build.flexspy}" />
<define name="CONFIG::debug" value="${build.debug}" />
<define name="CONFIG::release" value="${build.release}" />
<keep-as3-metadata name="Metadata" />
<keep-as3-metadata name="DefaultProperty" />
<keep-as3-metadata name="Required" />
<keep-as3-metadata name="Event" />
<keep-as3-metadata name="AssignableTo" />
<keep-as3-metadata name="Inject" />
<keep-as3-metadata name="InjectConstructor" />
<keep-as3-metadata name="Publish" />
<keep-as3-metadata name="Subscribe" />
<keep-as3-metadata name="PublishSubscribe" />
<keep-as3-metadata name="Factory" />
<keep-as3-metadata name="Init" />
<keep-as3-metadata name="Destroy" />
    <keep-as3-metadata name="Observe" />
    <keep-as3-metadata name="AsyncInit" />
    <keep-as3-metadata name="ManagedEvents" />
    <keep-as3-metadata name="MessageDispatcher" />
    <keep-as3-metadata name="MessageHandler" />
    <keep-as3-metadata name="MessageBinding" />
    <keep-as3-metadata name="MessageInterceptor" />
    <keep-as3-metadata name="MessageError" />
    <keep-as3-metadata name="Command" />
    <keep-as3-metadata name="CommandComplete" />
    <keep-as3-metadata name="CommandResult" />
    <keep-as3-metadata name="CommandError" />
    <keep-as3-metadata name="CommandStatus" />
    <keep-as3-metadata name="ResourceBinding" />
<keep-as3-metadata name="Selector" />
<keep-as3-metadata name="Target" />
<keep-as3-metadata name="Autoremove" />
<keep-as3-metadata name="Internal" />
<keep-as3-metadata name="ObjectDefinition" />
<keep-as3-metadata name="DynamicObject" />
<load-config filename="${air.config}"/>
<compiler.include-libraries dir="${flex.frameworks.dir}/libs/air" append="true">
     <include name="servicemonitor.swc" />
     <include name="airframework.swc" />
</compiler.include-libraries>
<external-library-path dir="${build.compc.dir}" append="true">
     <include name="TriGeoFlexFramework/TriGeoFlexFramework.swc" />
     <include name="TriGeoLibrary/TriGeoLibrary.swc" />
     <include name="TriGeoRPCFramework/TriGeoRPCFramework.swc" />
     <include name="Degrafa_Beta3.1_Flex3" />
     <include name="parsley-flex3-2.4.0.swc" />
     <include name="spicelib-flex-2.4.0.swc" />
</external-library-path>
<external-library-path dir="${flex.frameworks.dir}/libs" append="true">
     <include name="framework.swc" />
     <include name="datavisualization.swc" />
     <include name="utilities.swc" />
     <include name="rpc.swc" />
     <include name="air/airglobal.swc" />
     <include name="air/applicationupdater.swc" />
     <include name="air/applicationupdater_ui.swc" />
</external-library-path>
<source-path path-element="${basedir}/src" />
</compc>
</target>
</project>
Any insights is greatly appreciated.!

#1, If it compiles then you have no issue. There's no reason at this point not to use 4.6. You should bundle a captive runtime to assure the users computer won't need to have AIR installed at all.
#2, Papervision is old. Use the Stage3D and/or a wrapper framework. As far as the generic "If I download lots of data will it take the user more time to load it", well, of course. Just don't make the loading experience painful. Entertain them while they way or find ways of displaying data sooner than later. If it's desirable on the web has more to do with the context of the app and the device displaying it. In other words, a phone user would find it easy but obviously not a desktop user.
#3, Definitely referring you to Google on that one.
#4, Size always matters, it's common sense. The more you process the harder it is. While I haven't done AR I've used the Microsoft Kinect SDK and ANE and tracking was extremely fast but limited. From what I've seen and your basic built in location and direction hardware on any mobile device you shouldn't have much trouble. Depends on what you're doing.
#5, This discussion would be way too large for a forum. You'd need to consult a firm experienced in AR development.
#6, "Applications using the commercial license do not have to provide source code, but must pay a licensing fee. Contact ARToolworks at [email protected] for more information." They will base your price on your product, there is no single price.
#7, The models could be huge and elaborate or tiny and simple which changes the answer. Consult the answer in #4. Ultimately most people are getting on fast networks with mobile and excessively fast on desktop/wifi. Size matters a lot less than 3 years ago.
#8, Depends on what you're doing. You have to explain it.

Similar Messages

  • Developing Iphone App using Flash Builder and Flex Air Mobile

    I started developing an Iphone app using the trial version of Flash Builder and was pretty impressed with how easy it was, then i hit problems:
    Trying to submit my app, I was getting invalid binary, using google i tracked this down to a change in the Apple App Store meaning that all apps needed to have native iphone 5 support, which meant updating to Air SDK 3.7
    Updating to AIR SDK 3.7 was a nightmare (mainly as a result of my failure to read the small print)
    Once I got SDK 3.7 to  work with flash builder / flex mobile i though i was there.
    However now i can produce a fast build but everytime i try and produce a standard / production build i get strange errors (air 3.8 does the same).
    My Question is - before i actually buy Flash Builder has anybody actually achieved the following:
         Building an Iphone App using:
         Flash Builder 4.7    (running on OSX)
         Flex Mobile 4.6
         Air 3.7
    If so how ?
    cheers
    Toby

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • How to use Flash Builder and iphone 3g?

    Hi,
    i've downloaded FB 4.5... and i'm trying to develop something on my iphone 3g, but i've discovered (with big disappointment) that it's not supported...
    Is there any version (even a previous one) of FB that i could use in order to work with iphone 3g?
    or... will there be a patch in the future to use that phone?
    Many thanks
    bye
    Alex

    Yes. I have Flash Builder 4.6 and 4.7 running in different Eclipse Luna installs.
    More details at http://forums.adobe.com/message/4527443
    On Mac, I had to have the 32bit version of Luna for 4.6, and the 64bit version of Luna for 4.7 (and  I recently started using  4.7 with Eclipse Mars).
    For 4.6 you need to first download Eclipse 3.6 and install the Flash Builder 4.6 plugin to that Eclipse install. For 4.7 you need to download Eclipse 3.7 and install the plugin to that Eclipse install. Once it's installed in the 3.x version, you can then copy the fb*.link files from the Eclipse 3.x dropins folders into your Eclipse Luna's dropin folder.
    There is an issue where something in Flash Builder 4.7 won't work right when using it as a plugin, not sure but it might be something with building ANEs.

  • AS 3 project swf compiled in flash builder(on mac) does not run on windows 7 machine

    Hey there!!
    I have a as3 project that I'm building using flash builder 4.5. When I run or debug in FB it's fine, but when I move it to the windows 7 machine its going to live on nothing shows up. Not even the first function or any traces. I have tried to make the project into an air app but when I try to run it, the paths seem to be all messed up. I'm ok with dealing with the path issue later but for now and for testing I need to be able to just grab the swf that FB spits out and test it on the machine. Before you say use the flash ide the other developer uses only fb so if I can get it to work they will have to come to me everytime to compile if they just want to test something.
    Thanks
    Jorge

    ok guys get ready for this one!
    there where a couple of issues. yes it did help that i exported the project to the debug folder instead of  deploy folder we set up. but it still wasnt 100% right. so, one issue is that our asset swc was huge. we had everything under the sun in there. so, it would not compile correctly. how did i find this out you ask? i tried to run it in just the flash ide and it would compile so i knew something was super wrong. second, at some point somehow some of our text fields in the asset swc where converted to one of those new fangled tlf type text fields. we never added that swc to the compile path. somehow flash builder just ignored that and still built the swf but it mustve been corrupted to begin with.
    so the morale of the story keep an eye on your assets!!

  • Can I develop CF projects using Flash Builder 4.5 for PHP?

    I currently develop CF projects using Flash Builder 4.5.  I am considering purchasing Flash Builder 4.5 for PHP.  Will I still be able to work on my CF projects using FB for PHP?

    Because in the installation instructions for FB for PHP it says that you have to uninstall the current installation of FB which I have several CF projects that I use regularly.  I hate to uninstall if it turns out that I can't transport my current projects into FB for PHP. 
    Oh that sux!  It's just an Eclipse plug-in, and one can have installed multiple installs of Eclipse OK, so I wonder why they're said this?
    OK, because I give suck advice, I'll D/L it and install it on a spare machine and take a look.  FB usually has a CF perspective does it?  So what you need to know is whether FB for PHP still has the CF perspective?
    Or are you asking whether you can install CFB (or CFEclipse) as a plug-in to FB for PHP, like one can with FB?
    Sorry about the bad advice.
    Adam

  • Deployed Android project using Flash Builder Burrito not working on mobiles

    Hi,
    I have created a simple "Hello World" Application using Flash Builder Burrito SDK. I have tested the result in the emulator it is working great.
    After that i deployed the application using "Export Release Build Option" and entered valid certificate details and created the .apk file. I copied the .apk file into the device and i run the application. Iam unable to run the app. I have tried these in 3 android supported devices and in each of these i am getting different error messages. I have mentioned the device in which i have tested and the error message i got while i tried to install the app (.apk file)
    HTC Desire - "Error while parsing the package of the application"
    Samsung Galaxy Tab - "Error while parsing the package of the application"
    LG Optimus one (LG P500) - "Application not installed"
    I have created a New Mobile Project in the flash SDK and added simple label "HELLO WORLD" in the view section.
    Before deploying i have installed Adobe AIR 2.5 in the device.
    Whether iam missing any of the steps to deploy correctly in the device. If so, please let me know. Also i need to know whether any restrictions are there for applications developed using Flash Burrito Preview Release. (whether by default all android mobile version more than 2.1 will support it?)
    Also when i try to install "Tour De Mobile Flex" apk in LG Optimus, it is saying "Device not supported" message.
    How do i overcome these problems to run the apk file without any problems.
    If you need any other detail please let me know, i will explain it in detail.
    Thanks in Advance,
    Srinivasan.C

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

  • Using papervision in flash builder and getting TypeError: Error #1009: when using object.pitch(5)

    When i use papervision in flash builder and i am doing a test, when i render a sphere using papervision with the following code it renders me the sphere.
    When i add a line sphere.pitch(2);      ||
    sphere.yaw(2);
    sphere.roll(2);
    i get the following error,
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at PvTest/onRenderTick()[D:\Android 3D\PvTest\src\PvTest.as:39]
    Can anyone help me figure out the error
    For additional Info, these are the imports i am doing:
    import org.papervision3d.objects.primitives.Sphere;
    import org.papervision3d.view.BasicView;

    I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
    Thaks for your help.  And patience.

  • New MovieClips added to existing SWC library not available in Flash Builder

    To be as brief as possible with this...
    I have 2 swc libraries in my Flash Builder Project. One is in a "Common" project and the other one is in a MobilePlayer project. Obviously the "common" project contains UI assets that apply across the board, while the MobilePlayer version contains assets specific to that version of the application.
    Both swc files are in the respective libraries for each project we are referencing. Up until yesterday I could add new MovieClips to the "common.swc" and they would be available across the board instantly.
    Sometime yesterday I could not get new MCs added to my "common.swc" to show up in the intellisense, or become avaialble whatsoever.
    For troubleshooting I am creating a Square, turning it into a MC symbol, exported for AS with a classname of "Fubar"
    whenever I try and create a new instance of :Fubar() to anything anywhere in my applicatioin I get the Call to possibly undefined method Fubar error message. It does not show up in intellisense menus and it is NON EXISTENT.
    HOWEVER — Named movieclips within my .swc library I have already been using such as "CompanyLogo()" etc etc are STILL fully available and can be referenced from anywhere in my application. I can add a new CompanyLogo()  anywhere I want with no problem.
    As ANOTHER test, I REMOVED the movieclips CompanyLogo (and others) from my Library and re-saved the SWC.
    All of a sudden Flash Buider generates a compiler error (undefined method) for each missing referenced MC in the swc file (obviously, because they are no longer there).
    However, those named MCs still show up in intellisense menus etc etc.
    Basically what I can determine is that Flash Builder is not updating and picking up any changes to this SWC library whenever anything is added or removed from it. At some point it became "locked" in memory (for lack of a better term) and it refuses to recognize that the file has been changed.
    When I extract the catalog.xml from the SWC and read through it, I can find nodes for every single NEW mc I've created yet I cannot get them to show up in Flash Builder. I refresh, close and restart Flash Builder and have done everything I can possibly think of to get my updates to register and they refuse.
    On the other hand my "mobile.swc" updates just fine as I make changes to it. If I add a new MC to it, it is instantly available. If I take away a MC it FB instantly recognizes that it is gone.
    Am I doing something wrong here or am I correct in my assumption that for some reason FB refuses to update the contents of my "common.swc" library into memory?
    Any insight would be appreciated as I cannot find a single relevant answer in 3 hours of Google searching.

    OK,
    Now I see what is really going on. I am trying to reference MCs from my "common.swc" lib which is in a different project, and the reason they are showing up and available is because I used them in MXML files within the "common" project that are called upon and loaded before the mobile specific login screen MXML is loaded.
    I just did a quick test to see if the new button I created would be available within the "common" project and it is there, and shows up with intellisense etc etc as expected.
    When I add an instance of my new button to a MXML file being loaded before the mobile specific stuff I can then drop it into my mobile specific screens and it shows up.
    I either need to figure out how to reference MCs within a swc inside of a different project directly, or just declare them when the application first loads.

  • Flex Application Only Compiles in Flash Builder

    Hello,
        I am a newbie trying to become familiar with Flex.  I am starting by building and running some sample applications.  For some reason, the applications will execute inside of FlashBuilder, but I am getting a compile error when I compile them on my linux box. The I used the Flash Builder remote services finder to generate the code for the remote service.  The class that produces the error was generated by Flash Builder.  I have appended the class at the bottom of this post.  Any suggestions?  Thanks in advance.
    --Marco
    [mjmatch@mjmatch-linux flexsphi]$ ant
    Buildfile: build.xml
    compile-flex:
        [mxmlc] Loading configuration file /opt/tools/flex-sdk/4.1/frameworks/flex-config.xml
        [mxmlc] /opt/tools/blazeds/4.0.0/tomcat/webapps/flexsphi/src/client/services/_Super_Foo.as(20): col: 68 Error: The definition of base class RemoteObjectServiceWrapper was not found.
        [mxmlc] internal class _Super_Foo extends com.adobe.fiber.services.wrapper.RemoteObjectServiceWrapper
        [mxmlc]                                                                    ^
    BUILD FAILED
    /opt/tools/blazeds/4.0.0/tomcat/webapps/flexsphi/build.xml:16: mxmlc task failed
    Environment
    =========
    Flex SDK 4.1
    Flash Builder 4
    ant compile tasks
    ============
        <property name="FLEX_HOME" value="/opt/tools/flex-sdk/4.1"/>
        <property name="DEPLOY_DIR" value="/opt/tools/blazeds/4.0.0/tomcat/webapps/flexsphi"/>
        <property name="CONTEXT_ROOT" value="flexsphi"/>
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"  />
        <target name="compile-flex">
            <mxmlc file="src/client/Main.mxml"
                    services="${DEPLOY_DIR}/WEB-INF/flex/services-config.xml"
                    context-root="${CONTEXT_ROOT}"
                    output="${DEPLOY_DIR}/flexsphi.swf"/>
        </target>
    _Super_Foo
    =========
    * This is a generated class and is not intended for modification.  To customize behavior
    * of this service wrapper you may modify the generated sub-class of this class - Foo.as.
    package services
    import com.adobe.fiber.core.model_internal;
    import com.adobe.fiber.services.wrapper.RemoteObjectServiceWrapper;
    import com.adobe.serializers.utility.TypeUtility;
    import mx.rpc.AbstractOperation;
    import mx.rpc.AsyncToken;
    import mx.rpc.remoting.Operation;
    import mx.rpc.remoting.RemoteObject;
    import valueObjects.Bar;
    import mx.collections.ItemResponder;
    import com.adobe.fiber.valueobjects.AvailablePropertyIterator;
    [ExcludeClass]
    internal class _Super_Foo extends com.adobe.fiber.services.wrapper.RemoteObjectServiceWrapper
        // Constructor
        public function _Super_Foo()
            // initialize service control
            _serviceControl = new mx.rpc.remoting.RemoteObject();
            // initialize RemoteClass alias for all entities returned by functions of this service
            valueObjects.Bar._initRemoteClassAlias();
            var operations:Object = new Object();
            var operation:mx.rpc.remoting.Operation;
            operation = new mx.rpc.remoting.Operation(null, "getBars");
             operation.resultElementType = valueObjects.Bar;
            operations["getBars"] = operation;
            operation = new mx.rpc.remoting.Operation(null, "addBar");
            operations["addBar"] = operation;
            _serviceControl.operations = operations;
            _serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;
            destination = "foo";
             model_internal::initialize();
          * This method is a generated wrapper used to call the 'getBars' operation. It returns an mx.rpc.AsyncToken whose
          * result property will be populated with the result of the operation when the server response is received.
          * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
          * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
          * @see mx.rpc.AsyncToken
          * @see mx.rpc.CallResponder
          * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
        public function getBars() : mx.rpc.AsyncToken
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getBars");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send() ;
            return _internal_token;
          * This method is a generated wrapper used to call the 'addBar' operation. It returns an mx.rpc.AsyncToken whose
          * result property will be populated with the result of the operation when the server response is received.
          * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
          * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
          * @see mx.rpc.AsyncToken
          * @see mx.rpc.CallResponder
          * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
        public function addBar(arg0:String) : mx.rpc.AsyncToken
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("addBar");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(arg0) ;
            return _internal_token;

    The SWC files are within the resource directory of LCDS.
    For example:
    C:\lcds31\resources\lcds_swcs\FlexSDK4\frameworks\locale\en_US
    fiber_rb.swc
    C:\lcds31\resources\lcds_swcs\FlexSDK4\frameworks\libs
    fiber.swc and fds.swc
    You can use the following within ANT.
    <!-- Get default compiler options. -->
              <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <!-- List of path elements that form the roots of ActionScript
                class hierarchies. -->
                <source-path path-element="${FLEX_HOME}/frameworks"/>
              <!-- List of SWC files or directories that contain SWC files. -->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="../bundles/{locale}" />
                </compiler.library-path>

  • How to create Theme SWC using Flash Builder 4

    I have created a library project in flex which contains spark skin classes for certain controls and a style sheet class. The problem is when I use the SWC generated by thsi project  and import this SWC as Theme and apply it to another test project. the stylings chasnges are not reflected.
    IF I use comand line to generate Theme SWC the changes are reflected.
    Can any one help me use FLash Builder to create and apply theme SWC.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • Queries regarding Flash Builder and Augmented Reality.

    I am Sarat from India. I'm a software engineer with working knowledge of Java, so Flash AS and OOP are understandable for me. I am working on an augmented reality project. I am quite new to Flash, Adobe Community and I've got some queries regarding Augmented Reality and Flash Builder:
    1. Flash Builder 4.6 comes with a default Flex 4.6 SDK. However, Flex 4.6 SDK wasn't allowing me to compile and run some example files. So I've downloaded Flex 4.0A version from Adobe.com. Now the examples are running fine, but would there be any problem if i try deploying such projects in a website or as a desktop app? Once the code is compiled into a swf file, the flex framework used doesn't make much difference, does it?
    2. Would the AR project run effectively on a website, given various internet/processor speeds worldwide? Would the effectiveness of the AR project, deployed on a website, depend on the number of triangles in the 3D models i.e. dae files? Because as per my understanding heavy models implies more time to download the flash app into the local browser from the internet and more time to render them by the papervision 3D engine right?
    3. Can we develop a stand alone desktop AR app using Flash Builder? Using Adobe AIR we can, i guess. Please refer some tutorial, if possible.
    4. I've seen that we can implement multiple-marker-tracking AR using vectors/arrays in AS. Would there be any performance issues depending on the size of the vectors/arrays used.
    5. Can someone please mention some tips to improve performance of an AR app (desktop app and web app)?
    6. What would be, approximately, the cost of FLARManager, FLARToolkit commercial versions, if you have any idea? I've gone through their website but they did not mention the costs.
    7. Would applying bitmap material to the dae models pull down the web app/mobile app/desktop app performance, given some 4 to 5 dae models in the scene?
    8. Is it advisable to use multiple markers with multiple dae models or single marker with Flash-based GUI option to load different models onto the same marker?
    It would be very helpful for me if someone could answer my above queries.
    Sarat.

    #1, If it compiles then you have no issue. There's no reason at this point not to use 4.6. You should bundle a captive runtime to assure the users computer won't need to have AIR installed at all.
    #2, Papervision is old. Use the Stage3D and/or a wrapper framework. As far as the generic "If I download lots of data will it take the user more time to load it", well, of course. Just don't make the loading experience painful. Entertain them while they way or find ways of displaying data sooner than later. If it's desirable on the web has more to do with the context of the app and the device displaying it. In other words, a phone user would find it easy but obviously not a desktop user.
    #3, Definitely referring you to Google on that one.
    #4, Size always matters, it's common sense. The more you process the harder it is. While I haven't done AR I've used the Microsoft Kinect SDK and ANE and tracking was extremely fast but limited. From what I've seen and your basic built in location and direction hardware on any mobile device you shouldn't have much trouble. Depends on what you're doing.
    #5, This discussion would be way too large for a forum. You'd need to consult a firm experienced in AR development.
    #6, "Applications using the commercial license do not have to provide source code, but must pay a licensing fee. Contact ARToolworks at [email protected] for more information." They will base your price on your product, there is no single price.
    #7, The models could be huge and elaborate or tiny and simple which changes the answer. Consult the answer in #4. Ultimately most people are getting on fast networks with mobile and excessively fast on desktop/wifi. Size matters a lot less than 3 years ago.
    #8, Depends on what you're doing. You have to explain it.

  • Attempting to use flash builder beta 2 with beta 1 sdk

    Hi,
    I'm running into a few issues migrating a project I've started in Flash Builder Beta 1.
    The biggest mistake I probably made was uninstalling Beta 1 and I can't seem to find where to re-download it. Is it available somewhere?
    It would not be necessary except for the fact that I'm catching errors trying to use Flash Builder Beta 2 with the 4.0.0.7219 sdk.
    When I set my compiler to use the beta 1 sdk, Flash Builder first throws an internal build error. Then I can't return to properties > flex compiler, getting a "could not accept changes error." Below is the log output.
    I plan to migrate my project to Beta 2, but would love to do it in a separate workspace...
    Any help, suggestions much appreciated!
    Seth
    Here's what's in my log:
    !ENTRY org.eclipse.ui 4 0 2009-10-07 10:15:14.268
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NoClassDefFoundError: flex2/tools/oem/OEMException$CircularLibraryDependencyException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java: 846)
        at com.adobe.flexbuilder.project.sdks.FlexSDK.createSDKDependentImplementation(FlexSDK.java: 831)
        at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.computeCo mpilerLibraryPath(ActionScriptProjectSettings.java:1249)
        at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.applySettings(ASBuilder.java:3 20)
        at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.setup(ASApplication Builder.java:67)
        at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.setup(ASItemBuilder.java:5 4)
        at com.adobe.flexbuilder.project.compiler.BuilderFactory.createBuilder(BuilderFactory.java:8 0)
        at com.adobe.flexbuilder.project.compiler.BuilderFactory.createCompilerArgumentValidator(Bui lderFactory.java:64)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage.validateCompilerArgument s(CompilerPropertyPage.java:792)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage.validate(CompilerPropert yPage.java:929)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage.access$4(CompilerPropert yPage.java:921)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage$4.modifyText(CompilerPro pertyPage.java:674)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1566)
        at org.eclipse.swt.widgets.Text.sendModifyEvent(Text.java:1769)
        at org.eclipse.swt.widgets.Text.setText(Text.java:2230)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage.copyVersionIntoEditBoxes (CompilerPropertyPage.java:693)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage.updateFlashPlayerOptions (CompilerPropertyPage.java:652)
        at com.adobe.flexbuilder.project.ui.properties.CompilerPropertyPage.update(CompilerPropertyP age.java:910)
        at java.util.Observable.notifyObservers(Observable.java:142)
        at java.util.Observable.notifyObservers(Observable.java:98)
        at com.adobe.flexide.editorcore.ui.sdks.FlexSDKChooserControl$2.widgetSelected(FlexSDKChoose rControl.java:665)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
        at org.eclipse.swt.widgets.Link.sendMouseEvent(Link.java:639)
        at org.eclipse.swt.widgets.Control.sendMouseEvent(Control.java:2978)
        at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:3073)
        at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:2104)
        at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:375)
        at org.eclipse.swt.widgets.Display.controlProc(Display.java:862)
        at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3051)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:583)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3482)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

    Hello,
    I reproduced your issue exactly as you stated.  Unfortunately, it doesn't look like FB Beta 1 is publicly available.  To get out of the broken state, you can go to your workspace preferences (not project properties) and under Flash Builder > Installed Flex SDKS, switch back to the 4.0 Beta 2 SDK that came with Builder.
    I am going to ask around to see what the problem might be, as I am unfamiliar with the code that is causing this.  There may or may not be a workaround, but regardless, I think we'd recommend that you upgrade your project from Beta 1 SDK to Beta 2.
    Thanks,
    Rob Brambley
    Computer Scientist, Flash Builder

  • Accessibility with flash builder and a screen reader

                   hi. a blind website student, using the Jaws for Windows screen reader from htttp://www.freedomscientific.com. was trying to build a basic flash builder flex project, and using jaws 13.0.718, on a toshiba laptop with windows 7 professional 32 bit. now using the adobe cs 5.5 student web premium. i then pressed alt  f, then new, then arrow right to flex project. then put in my name of the project, clicked to browse the folder, then there was a next and finish button, well clicked the finish button. the code windows comes up, press control  !~ which took me to  design view. now my troubles start. have to use the mouse cursur for jaws, which is the jaws cursur. and now, was able to left click using the caps key, which is the insert key, and then able to use the f 8 key for left click mouse simulation. but then came to a tree view, pressed t, until i heard text area, then tabbed around. no add button. so how do i add a component using the keyboard. or do i need to enable accessibility. and also tried to get to the properties of the control. managed to do that some how, but could not find the id property. so if any one can help me, new to flash builder and flex. Marvin, From Devonport, tasmania, australia. if any one can help please e-mail me via [email protected]         

    No I used relative path - the path is  images/image name
    example images/cRight.png
    tried downloading Extension Builder 2.1 and compiling on Mac but still have same results - images show up fine in design window , but not when running panel in Photoshop
    Created a new project: testImage
    added an image component to form
    answered yes to add asset to project
    ran project
    image did not show up in Photoshop
    went back to project
    checked item Embed under Common image properties
    ran project and image shows up
    Looks like it works if I add @Embed("assets/image name") on Mac to display images
    tried in my real project:
    Looks like it works if I add @Embed("images/image name") on Mac to display images
    When I change this on PC to @Embed("images/image name") images do not show Up
    Don't know if I need to create two versions one for Mac one for PC
    Don't know how this would affect product on Adobe Exchange

  • Using Flash Builder 4.5 to develop for Air for TV?

    How can I target Adobe Air 2.5 when using Flash Builder 4.5 so I develop for Adobe Air for TV?
    When I change the app.xml file to point to 2.5, I get the following error:
    "Namespace 2.5.0 in the application descriptor file should be equal or higher than the minimum version 2.6.0 required by Flex SDK."

    I was finally able to get my app on a Samsung TV. Here's some more info on this subject. You actually have to overlay the Air 2.6 SDK - not the 2.5 SDK.
    Also make sure when you finally package the TV app to change the application XML to point to 2.5,. During development you can leave it as 2.6.
    @see http://learn.adobe.com/wiki/display/airquestions/AIR+for+TV
    What tools do developers use to create AIR 2.5.1 apps for TVs?
    Developers can use the following tools:
    AIR 2.6 SDK
    Flash Professional CS5 Extension for AIR 2.5 (now an integral feature in Flash Professional CS5.5)
    Flash Builder 4.5
    Note: Developers can use the AIR 2.6 SDK for developing apps for AIR 2.5.1 for TV. In Flash Professional, set the publish settings to Adobe AIR 2.5. In Flash Builder, set the AIR namespace to 2.5 in the app descriptor file:
    <application xmlns="http://ns.adobe.com/air/application/2.5">.
    If you are using Flash Builder 4.5, you must do the following:
    Download the Flex 4.1.0.16076 SDK.
    Download the AIR 2.6 SDK.
    Copy each file from the AIR 2.6 SDK into the corresponding directory within the Flex 4.1 SDK, replacing the Flex original variants.
    To use this SDK within Flash Builder, select your project in the Flash Builder package explorer.
    Choose Project > Properties to open the project's Properties dialog box.
    Select Flex Compiler in the list and then click the "Configure Flex SDKs" link to open the Preferences dialog box.
    Click the Add button, browse to the SDK, and then click OK until you get back to the project's Properties dialog box.
    Click the "Use a specific SDK" option and then pick Flex 4.1 from the drop-down menu.
    You must also replace the default WindowedApplication element with Application in your project's MXML file.

  • Stage Video Using Flash Builder 4.51

    Hi,
    I am using Flash Builder 4.51, and I cannot get StageVideo to run. My machine is capable of playing StageVideo as I tested the Big Buck Bunny example and saw the change when flicking between StageVideo and normal Video.
    Flash Builder shows that the build that I have is 4.5.1.313231. All the tutorial examples I have seen are built using Flex Hero build 18623 which I believe is earlier. So my question is was StageVideo removed somehow when Flash Builder 4.5 and 4.51 were released?
    If it should work on 4.5.1, can anybody give me some tips on what to check or provide some minimal code and instructions to get the expression stage.stageVideos.length to be something different to 0?
    I have changed made sure the wrapper uses wmode="direct", I am using version 11 of the Flash Player, I have a parameter on the compiler for " -swf-version=11".
    When I export the swf from Flash Builder to my web page I still can't get StageVideo to work either locally or on the server.
    I've run out of ideas with this one.
    Any ideas?

    Hi Claudiu
    I'm glad its working for you, that's encouraging.
    I'm just trying to confirm that we are using the same setup. When you say you have installed the eclipse plugin, does that mean you install Flash Builder or are you using the Flex SDK through eclipse? I agree that FP11.2 is not the issue since StageVideo works if I run the Big Buck Bunny example.
    Also, just to confirm we are talking about the same thing, if you create a new project in Flash Builder and put in the following two methods, are you able to get the "str" variable in the second method to show "Available". If so, what additional steps do you take after create project?
    protected function application1_creationCompleteHandler(event:FlexEvent):void
         this.systemManager.stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILAB ILITY, onStageVideoState);
    private function onStageVideoState(event:StageVideoAvailabilityEvent):void
         var str:String = event.availability;

Maybe you are looking for

  • Info Package failing in Process chain

    Hi,    One delta load InfoPackage fail every time in process chain with error message "Last Delta upload not yet completed". Actually this infopackage load data in cube but in procuress chain log, it turn red and in the display message window, under

  • URGENT-MUSIC VIDEO WILL NOT PLAY

    Ok, i know this sound desperate, but technically it is. I have to know the entire dance section of "Thriller" by Michael Jackson by Monday. So i bought the music video and it works just fine on iTunes, but when i play it on my iPod, it goes to the bl

  • Launch images name for iOS8

    Hello, I am working with XCode 6. In that ios8 simulator in there. in iphone 5s(ios7) show launch image([email protected]) but in iPhone5s(ios8) simulator is not showing launch image. Also how can i set launch image for iPhone6 & 6 plus. I know resol

  • How to retrieve information from iCloud (earlier than the 3 most recent backups) ?

    I had to restore my iPod 4th generation to factory settings and I'm trying to get all the information back from iCloud backup. The thing is that I had waited about a week or two(instead of right away) to try to put the information back into the iPod.

  • Function scope in Package  PLS-00231:

    In my package body, one local function_A is calling local function_B. Since both functions will not be called outside of the package (function_A will be called by a public procedure, which is defined in the package spec), I did not want to define A a