dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Flash is ignoring actionscript

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    1

    Exclamation Flash is ignoring actionscript

    Flash is ignoring my actionscript

    Can anyone help me with this issue? Even when debugging it gives me the error "You cannot debug this SWG because it does not contain ActionScript."

    There's very few commands in the script and shouldn't be overloaded.

    Here's the link for the fla.

    http://www.cd-customdesigns.com/testing.zip

  2. #2
    lemon juice hurts your eyes florianvanthuyn's Avatar
    Join Date
    Jul 2005
    Location
    Merelbeke, Belgium
    Posts
    546
    When I run your file I get errors saying that:

    - story.load() isn't a XML function -> use a URLLoader and URLRequest to load in a .xml file
    - story.onload = function(){} is outdated, use EventListener for Event.COMPLETE
    - content_txt.html is not a method of the TextField class
    - var myStyle:TextField.StyleSheet is not a correct way of typing a StyleSheet variable

    So change those and you'll be fine!
    Florian Vanthuyne

    WAR AGAINST SOLVED THREADS
    mark yours as Resolved under Thread Tools!

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