Results 1 to 4 of 4

Thread: Animation problem

  1. #1
    6
    posts
    Registered User

    Barcode Animation problem

    http://tkm.ibb.gov.tr/ please click "yoğunluk haritası",

    this is a traffic density map, i developed it at 2007 with AS2 (at 2005 with as1) , now i will update it with as3, but becouse of animation i draw road lines and animation layer with hand not with code, but now i want to draw automatic with coordinates, but how? Becouse i have to use animation. If no animation i can draw road lines with coordinates easily. Map is coordinated, cameras and others layers cames with coordinates automaticity, but roads? Do you have an idea? Thaks, sory about my english

  2. #2
    6
    posts
    Registered User
    anything welcome

  3. #3
    6
    posts
    Registered User

    whats the problem

  4. #4
    Hi Yba
    I might not really be qualified to give the best answer here, but as your response rate is zilch, anything will help.
    If I was to tackle this, the classes I would be using are the drawing.API and the XML classes.
    All the roads would be in local x y coordinates stored relating to the map.
    So simplistically :
    Your constructor for the map, would read the XML, (x0,y1,linestyle,init_val, type), then use moveto and lineto to draw the roads.
    The linestyle can have the animation within itself as a bitmap loaded from data.
    - I'm sure anything you can draw by hand maybe reproduced in AS3,
    BTW: the reason Id use XML is that you can alter it as you wish, and easily connect it to other information feeds when needed. Im unsure how dynamic this of yours is, but you could be altering it in realtime to show traffic flow, problems etc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012