A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: HTML5 Canvas for mobile devices

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146

    HTML5 Canvas for mobile devices

    I am trying to load text into my dynamic text box. Before I switched to the HTML5 Canvas, my loadVariables action script code worked to load an external text file. Now that I have switched it doesn't work.

    Can someone tell me if this is possible. To load text from an external text file into a dynamic text box on the HTML Canvas setting in kool moves.

  2. #2
    Senior Member FLASHPULSE's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    1,353
    The dynamic text box was just recently added for HTML5 export. I'm sure Bob will read this and see it as a feature request and maybe he has already thought of this and is working on it now for the next update. I'm sure he'll respond soon.

  3. #3
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,512
    At present, it is not possible. The next version in January will have the ability to add custom javascript frame and button actions. It may be possible with that capability. I will have to do some research.

  4. #4
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,512
    http://stackoverflow.com/questions/1...rea-javascript
    The first link I found -- apparently it is a bit tricky. If I have time, I will try to add a Load Text action.

  5. #5
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,512
    Was the text loaded into the textbox by a button or frame action?

  6. #6
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    it was loaded into the textbox by a frame action. The loadVariables("textname.txt")

  7. #7
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,512
    Send me an email. I may have a beta version for you to try in a few days.

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