A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: using GetBatteryLevel??

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    28

    using GetBatteryLevel??

    Ok so im working in Flash CS3, trying to create a Flash 2.0 thing for fun as i haven't done flash in a LONG time, thought it would be simple but im just stuck...

    I want to get Flash to give use the fscommand2("GetBatteryLevel") function then to send the results to a dynamic text field, what AS do i need for this?

    Cheers guys.

  2. #2
    Moderator
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    have you tried:

    // assumes you have a textfield object with an instance name "textfieldobj"
    textfieldobj.text = fscommand2("GetBatteryLevel");
    aviarts.com - web development and flash development

  3. #3
    Junior Member
    Join Date
    Jul 2006
    Posts
    28
    yup tried that, not working might be something else somewhere affecting it, wasn't really needed anyway was just playing.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center