×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    1

    How to create a desktop mobile simulator to my flashlite 1.1 application

    Hi all,

    I have build an application for mobile devices using flash lite 1.1.
    Now i'm trying to create a simulation on the web using the same application just like the "CS3 Device Central" but for browsers.

    The problem is I don't know how to sent an event to the flash player.
    Example: if a user click's on a dirrection arrow on my simulated web-mobile, how can I send the event to the flash player so my application has the same behaviour just like if a user was using a mobile device.

    If possible I would like to find a solution that would not affect my swf.
    I have already saw some examples ("www.mobiexplore.com") that seems to simulated that behaviour.
    I just want to know if is possible, and how?

    Thanks in advance,
    roxonovo

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How to create a desktop mobile simulator to my flashlite 1.1 application

    Probably you could use some sort of JavaScript/FlashLite interaction, catching events on your simulated phone via JavaScript and calling appropriate handlers within your Flash movie.
    Try taking a look here:

    http://kb.adobe.com/selfservice/view...nalId=tn_15683
    http://livedocs.adobe.com/flash/8/ma...=00002200.html

    Pit

  3. #3
    Product Specialist
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191

    Re: How to create a desktop mobile simulator to my flashlite 1.1 application

    Hi João,

    It's impossible to fully simulate the FL1.1 player outside of a mobile device without Adobe releasing plugins for web browsers.

    The best solution would be to publish as a Flash7 SWF and handle the key presses using some abstraction so as not to disrupt your code too much. 95% of the code should work just fine.

    Two ways of building the skinned interface are:

    1. Include the skin as the root SWF and send key presses to the content.

    2. Use JScript as described above.

    Option 1 seems like the easiest solution because the user would set the Flash control active in the browser when they begin clicking the interface.

    Mark
    Mark Doherty
    Developer Evangelist
    Adobe Systems, Mobile and Devices EMEA

Similar Threads

  1. A simle multiplayer game application on mobile phones
    By mbicer00 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2013-08-23, 11:01
  2. Mobile application and Desktop PC.
    By brilleaben in forum Mobile Java General
    Replies: 4
    Last Post: 2007-08-07, 08:57
  3. Replies: 2
    Last Post: 2007-07-16, 20:37
  4. Replies: 0
    Last Post: 2007-06-22, 08:22
  5. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×