Transforming a flash application to flex mobile application

Hello everybody, I have been tried of transfom this flash application
http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-clas ses-and-getpixel/
to flex mobile application, but I have many errors with the components. Also when I try to load image, on the flash builder the image, we can see the image loaded but when I try run on virtual device, the image can´t views.
I ask help...Thanks

try searching for Java NT service string on google and u will come out with many solutions.....
hope this is the best answer... i can give u.....

Similar Messages

  • How to display html content with image in Adobe Flash and Flex mobile project?

    Hi,
      I have a html content with image in it. How to display it in Adobe Flash Builder and Flex mobile project? Which control needs to be used for this?

    Hello,
    The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
    Here this is the iFrame approach:
    http://code.google.com/p/flex-iframe/
    If the swc do not work in Flex4 just use its ource code which works...
    ...it is basically based on this:
    http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
    see also and vote, please:
    http://bugs.adobe.com/jira/browse/SDK-12291
    http://bugs.adobe.com/jira/browse/SDK-13740
    Regards
    Marc

  • Flex iPad Application : Run code before application enters background  Application Type: Flex Mobile Application Target Platform: iPad AIR Version: 4.0 Development Environment: Flash builder 4.6  I want to run some code just before iphone application goes

    Application Type: Flex Mobile Application
    Target Platform: iPad
    AIR Version: 4.0
    Development Environment: Flash builder 4.6
    I want to run some code just before iphone application goes into background. I need function similar to didEnterBackground
    of native xcode app
    (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegat e_Protocol/Reference/Reference.h
    tml#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidEnterBackground:)
    I tried using devactivated function of flash.display.STAGE.
    I used following addEventListener:
    STAGE = this.parent.stage;
    STAGE.addEventListener(Event.DEACTIVATE, onAppDeactivated);
    It worked for me but only when device is connected to development environment in debug mode. When I create my release build
    it is not working.
    So how can I make sure that my code runs before application goes into background.

    Even I am facing almost same issue
    Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6

  • Flash Builder 4.5: debugging Flex Mobile application on Android Virtual Device

    Hi,
    we are trying without success to debug a flex mobile application in Flash Builder 4.5 on an Android Virtual Device (AVD).
    We can debug with real Android devices via Flash Builder 4.5, by using a standard Mobile Application debug configuration with "On device" launch method, but emulated devices are not listed in the "Choose device" Flash Builder 4.5 window.
    The emulated device is correctly listed by "adb" command line tool, as the following screenshot shows:
    c:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\lib\android\bin\adb" devices
    List of devices attached
    emulator-5554   device
    ("emulator-5554" has been created and started with Android AVD Manager standard Eclipse plug-in)
    By using the adb command-line tool we can also install applications on the emulated device, but we'd like to use Flash Builder 4.5 directly, without manually using adb.
    Many thanks in advance for any direction.
    PS: we can debug with Flash Builder "internal" android emulator (the one used with "On desktop" launch method), but we want to use the more "realistics" android emulated devices provided by Android SDK (Android Virtual Device (AVD)).

    well that's just ... oh what's the word I'm looking for? ... um ... ah yes - inconvenient.
    I've been wrestling with this too. I use VDs with eclipse all the time, I'm wondering why it's not supported in flashbuilder. I mean, it's just a VD that runs on a virtual port, plugs into the editor like a read device would - right?
    I'm going to take a wild stab at this and say it probably has something to do with running a program inside (Air) a virtual machine, running inside a virtual machine inside a virtual device?

  • Running a Flash Builder 4.5 Mobile BlazeDS Application on the Device

    I've been developing a Flex Mobile application in a Flash Builder 4.5 mobile project.  The project uses a java/blazeds server, which is a spring application using the spring blazeds integration. I created the project with the Root URL property in Flex Server settings set to localhost (http://localhost:8080/myServerApp), and all has worked well.  I'm now trying to run the application on a usb connected android device, and am getting a warning that the device can't access my localhost location.  I changed localhost in the Root URL property to the ip of my workstation on the local wifi network the device and workstation are connected to (say http://10.0.0.2:8080/myServerApp), and receive the following error stack:
    ArgumentError: Error #2004: One of the parameters is invalid.  url: 'http:'
              at flash.net::NetConnection/connect()
              at mx.messaging.channels::NetConnectionChannel/internalConnect()[E:\dev\4.5.1\frameworks\pro jects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:240]
              at mx.messaging.channels::AMFChannel/internalConnect()[E:\dev\4.5.1\frameworks\projects\rpc\ src\mx\messaging\channels\AMFChannel.as:307]
              at mx.messaging::Channel/connect()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\messaging\Cha nnel.as:884]
              at mx.messaging::ChannelSet/connectChannel()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\mes saging\ChannelSet.as:1707]
              at mx.messaging::ChannelSet/reconnectChannel()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\m essaging\ChannelSet.as:1809]
              at flash.utils::Timer/_timerDispatch()
              at flash.utils::Timer/tick()
    When I change the root url back to localhost, the error persists, and the only way to recover is to start a new project.  Am I doing something stupid or what?  Any help is greatly appreciated.
    Jay

    Hi,
    Looks like a debug build of your application was submitted.
    You have to "Export Release" a build of your application specifically for App store submission. Look at Step 4, sub-step 3 in "Package for distribution".
    Can you confirm if you picked "Final release package for app store" in "Export Release Build"?
    -Anirudh

  • Flex Mobile Application with online database

    Hi,
    I would like to create a Flex Mobile Application but this one have to be read/connect  to a online database ?
    I don't found any tuto or infos about that...
    Could you please tell me if it's possible and if yes, how to do that
    Thanks in advance !

    I don't understand one thing...
    There are different type to do a connection between Flex and PHP.
    Which one is the best ?
    1. With AMF (Flex :  service-config.xml, RemoteObject) (http://www.adobe.com/devnet/flex/articles/crud_flex_php_zend.html)
    2. With Zend Framework (Flex : Callresponder, Time,...)  already included in Flash Builder 4.5 (http://devzone.zend.com/1701/flex-and-zend-framework_part-1/)
    3. With Zend Server and Flash Builder 4.5 with PHP (http://www.adobe.com/devnet/flash-builder/articles/flashbuilder-php-part1.html)
    It's three differents approach but in 2 & 3, it's auto configured with Flex.. however to do a connection between Flex Mobile & PHP (online), I have to use the solution 1
    So, if somebody can help me to explain and understand the difference between that.
    thanks

  • Tutorial for Developing Flex Mobile applications.

    Hello all,
                 Can anyone provide me Tutorials to devleop  Flex Mobile applications which access data from SAP Netweaver Gateway via Flash Builder Plugin?
    Thanks

    This is not a product forum... do you need the flash builder forum?
    How to Select a Forum http://forums.adobe.com/docs/DOC-1015

  • Is there a way to save data to just one view in Flex Mobile applications?

    I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view (in this case it would be the same view that the original data came from) and put that data on the same view without overwriting the original data. I would be glad to post some code if anyone needs to see it.

    I think we realise that this is the same question as the other thread.

  • Issues with file upload in flex mobile application (sharepoint as backend)

    Hello,
    I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
    (Flex SDK 4.6 and AIR 3.9)
    Issue which we are facing is as follows:
    We are communicating with the backend server using webservices: example:
    <s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
                <s:operation name="AddPost"
                             resultFormat="object"
                             result="addPostResult(event)"
                             fault="postsfaulterr(event)" />
    </s:WebService>
    Above services are working fine but we are facing issue with one service which is related to file upload.
    File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
    We are sending bytearray to the backend and backend code is writing those bytearray into file.
    We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
    Thanks
    Dhwani

    Prashant8809 wrote:
    Hi
    >
    > I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
    >
    >
    > Regards
    > Prashant Chauhan
    What do you mean that my video saves the contents int he server and not in transparent table?  I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it.  What do you mean by transparent table - that would be a database table. Do you actually mean internal table?  if so, just read the data from the temporary database table into memory.

  • What is the best font to use for Thai Language in Flex Mobile Applications ?

    Hi
    I am facing issues with Thai language in flex mobile applications. I am using Tahoma font and facing issues in TextInput
    Whith Tahoma font text Offset setting to far from the starting of the text input .
    Can any one suggest me the best font to use with Thai language ?
    Many thanks in advance for your help .
    Regards,
    Kamal

    Personally, I prefer uncompressed TIFF or PNG.  But many times it won't matter ... you'll be dropping the images into an SD Sequence, so they will lose resolution on output.
    -DH

  • Save data while closing Flex mobile application using HTTPService

    On close of the Flex mobile application I need to save some information to the back-end by using HTTPService.
    On creationComplete() of the application I am adding :
    NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit);
    On close of the mob application, the following method will get call.
    private function onExit(e:Event):void
        httpServiceCall("log event data");
    The request itself is not reaching backend. I have tested this by installing Wireshark, there is no entry if I close the application in wireshark(wireshark will just catch any kind of requests from frontend to backend).
    I am introducing delay to achieve this :
    public var closeTimer:Timer;
                private function onExit(e:Event):void
                    e.stopImmediatePropagation();
                   httpServiceCall("log event data");
                    closeTimer = new Timer(3000,1);
                    closeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, closeApp);
                    closeTimer.start();
                protected function closeApp(event:Event):void{
                    NativeApplication.nativeApplication.exit();
    The above code is not working. As soon as control comes to onExit() method, application is closing.
    According to my understanding, I have to introducesome delay before closing the application to achieve this requirement. How can I introduce delay in this case?

    Try opening Task Monitor and killing any existing "adl" process before launching.
    Does this help ?

  • Embed a Flash Application into a Flex Application

    Hello everybody,
    I'd like to know if there is a way to embed a Flash
    Application into a Flex Application. My goal is to wrap Flash apps
    in Flex Modules, and I don't know how to do it.
    I know it is possible to embed swf by using @Embed and an
    mx:Image tag, or to use flash content by creating a flash swc
    component. However these two solutions don't allow to call the
    methods of the Flash app.
    On the other hand, it is possible to load a swf file via the
    Loader Class, and then call the methods via loader.content. But
    with this solution I can't embed the swf in my flex application and
    I have to load it at runtime.
    Any ideas ?

    Look into SWFLoader.
    Be aware though, you can not directly access AS2/FP8/Flash8
    swf's from within an AS2/FP9 app. Local connection is used in this
    case.
    There are dataType and timing issues with SWFLoader. Here is
    a complete example:
    http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=690
    Tracy

  • Flash Application connect with sql mobile 2005

    What would be the best way to connect a flash application
    running on a Windows Moblile 5 device to pull data out of sql
    mobile 2005 running loacaly?
    We want to build an application to run on 200 syboml/intermic
    device and uses a local database running on the deivce?

    When the SQL Server is installed a password is specified for the 'sa' user, or a new SQL Server user may also be created.
    Please refer
    http://www.devx.com/dbzone/Article/33681

  • Windowed Application for Flex Mobile Project

    I have a project intended for both deskotp and mobile, and so I began it as a Flex Mobile project.  I then imported the source into a Flex Air project and everything has been working great--until I added cut and paste functionality using the NativeApplication/NativeWindow model.  On a Mac, because there is a default set of menus, this works just fine, but on a pc, the menu is not present unless you define it.  My top level class is a ViewNavigatorApplication, and I can't for the life of me figure out how to get my NativeWindow NativeMenu built.  I have tried plugging code into creationComplete, initialize, preinitialize, but nothing works.  I also tried putting a WindowedApplication around the ViewNavigatorApplication, but that too failed.
    So is there a way to make this work?  While menu support would be nice, I would settle for just shortcut key support.
    Thanks in advance,
    Adrian

    Umm, overall it's doable but you may come up against two or three hurdles:
    The program may have to run for hoursThat may require keeping the phone handset connected to a charger, especially if the display backlight is configured to be on continuously.
    a sample rate of 20Hz from the sensor.You'll have to cross that bridge when you get there, but I suspect that many handsets won't be able to handle receiving, processing and displaying of data every 50 ms.
    log the data and produce simple statistics from a session.Keeping all data in memory probably won't be feasible; writing it to the record store may make the program still slower, further limiting the sampling frequency that can be handled.
    In future all Java ME related questions should be posted on the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76].
    any pointers as to how to beginIf you have never programmed in Java, go through [The Java&#8482; Tutorials|http://java.sun.com/docs/books/tutorial/index.html]. If you have some experience in Java but none in Java ME, [this tutorial|http://today.java.net/pub/a/today/2005/02/09/j2me1.html] will get you through the basics.
    luck, db

  • Flash Builder 4.5.1 - Problem compile Flex Mobile release build

    I am building a flex mobile applicaiton using Flash Builder 4.5.1. The application works fine on the device (Nexus S) and desktop in the debug mode however, whenever I export the release build the app is not installed on the device automatically. When I manually install .apk it also fails (get Application not installed message with green check mark). Any thoughts?

    Getting a big closer... Compiled .swf using mxmlc, then manually packaged .apk without any issues... When I try to run: adb install -r myapp.apk: I get the following error:
              pkg: /data/local/tmp/myapp.apk
    Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
    Perhaps certificates are not respected?

Maybe you are looking for

  • What happened with The Daily Show with Jon Stewart?

    Anyone notice that the The Daily Show with Jon Stewart has not been updated this week?. And I have just purchased a Multi-Pass.

  • Creating collages for printing.

    Hi I'm new to Photoshop. My daughter gave me Elements 8 ages ago and I have only just downloaded it (was afraid to do so in case it pulled all my thousands of photos from my Windows Photo Pictures in their unedited form (as Picasa did to me ages ago)

  • Windows event viewer error related to Bonjour??

    The description for Event ID ( 1 ) in Source ( Bonjour Service ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURC

  • Finding and removing unused replica virtual machines in the VMware Horizon

    Hello All, I found this tutorial : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009844#determining and I was trying this command : SviConfig.exe -operation=FindUnusedReplica -DsnName=ComposerDB -Usern

  • CS4 garbles my paragraph styles

    I create a new text box with a style from the paragraph styles panel selected. Lately it's been rendering any selected style as [Serlio LH] even though the character is supposed to be helvetica or times. I select all the text in the box and the style