×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    8

    Orientation WRT vs Flash Lite

    Hello, I'm writing a simple RSS reader widget for the n97, but I'm running into a few problems.
    First off, I'm trying to decide what the best packaging method for my app would be. I can't just use the .swf file, since it needs to have a nice, shiny logo.

    So I was thinking I would just package it as an WRT widget, but this seems to present some limitations. The ones I've noticed so far are:
    - I can't use any fscommands (like fullscreen)
    - I can't use the Services API (sensor information)
    - I can't rotate my application based on the screen orientation

    My question therefore... How do I circumvent these limitations? Is a WRT widget just not the way to go, or can I somehow still have a fullscreen flash lite application that rotates to fit the screen orientation even when the .swf is embedded into a WRT widget?

    I was thinking maybe of having a 640x640 swf file that would listen for a method call from javascript everytime the screen orientation updates. That way, if I knew the orientation, I could rotate/reposition my content based on this information. This seems a little hacky though (using a square resolution for my flash file), but atm, when I test my application and rotate the screen, I just see the border of my application and a lot of white space.

    Any help would be greatly appreciated

  2. #2
    Registered User
    Join Date
    Jul 2009
    Posts
    8

    Re: Orientation WRT vs Flash Lite

    Just a quick update. I also have a Nokia 5800 lying around here and it seems the application does work on this device. Although the swf file still rotates. But I am at least getting the info from the Sensor API. So does anyone have any clue on what was changed in the N97 vs. 5800

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    8

    Re: Orientation WRT vs Flash Lite

    Another update. Setting the width and height to 100% seems to have solved my fullscreen problem
    So now I just need to get the Sensor API to work on the N97.

    Any ideas?

Similar Threads

  1. Embedded Flash Lite & App Orientation
    By EagleSW in forum [Archived] Flash Lite on Nokia Devices
    Replies: 9
    Last Post: 2010-04-24, 11:25
  2. Embed Flash Lite within a WRT widget?
    By bryanrieger in forum Symbian Web Runtime
    Replies: 10
    Last Post: 2010-04-18, 17:42
  3. Flash Lite with Javascript - not in a WRT widget
    By funkadeelia in forum [Archived] Flash Lite on Nokia Devices
    Replies: 4
    Last Post: 2009-03-05, 13:55
  4. Flash CS3 + Flash Lite 1.x + dynamic text + embedded fonts = broken?
    By robchis in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-02-28, 13:04
  5. Package tool for Flash lite for WRT s60, NFL and add DRM 1.0 forward lock
    By samirk_dash in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2008-10-07, 08:49

Posting Permissions

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