×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    1

    Unhappy Can we Create run time image in flash lite 2.0?

    Can we create run time image in flash lite 2.0 ............

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Can we Create run time image in flash lite 2.0?

    Depends on what you mean with "run time image", exactly? Are you talking about a bitmap or vector graphics image, or somehting else?

  3. #3
    Registered User
    Join Date
    Apr 2008
    Location
    India / Singapore
    Posts
    549

    Smile Re: Can we Create run time image in flash lite 2.0?

    Like he says, run time images means ??
    U can create graphics in run time (ie by use of code using createEmptyMovieClip and then u gotta add shapes to it or dynamically add files from the Library onto the stage)

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

    Re: Can we Create run time image in flash lite 2.0?

    Manikantan, Petrib is asking a valid question here. In later versions of Actionscript it is possible to programmatically create images from bytearrays.

    The simple answer is that Flash can be used to programmatically draw shapes. Here is an example of drawing a rectangle.

    height = 20;
    width = 100;
    rect = this.createEmptyMovieClip("", this.getNextHighestDepth());
    rect.clear();
    rect.beginFill(0x000000);e");
    rect.moveTo(0,0);
    rect.lineTo(0,height);
    rect.lineTo(width,height);
    rect.lineTo(width,0);
    rect.endFill();

    trace("width: " + rect._width);
    trace("height: " + rect._height);


    This is a really good introduction to drawing with Flash:
    http://www.informit.com/articles/article.aspx?p=729513

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

Similar Threads

  1. Flash lite 2.0 availability
    By manikantan in forum [Archived] Flash Lite on Nokia Devices
    Replies: 3
    Last Post: 2008-06-27, 15:29
  2. Replies: 2
    Last Post: 2007-04-17, 13:32
  3. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  4. S60 2nd FP3 and 3rd - Flash Lite frustration
    By ilyadanilov in forum General Development Questions
    Replies: 7
    Last Post: 2006-02-08, 19:07
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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