Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

+ Reply to Thread
Results 1 to 4 of 4
  1. #1

    Default Action Script errors

    Hi there,
    I`m new to flash so a total noob but everyones gotta start somewhere : )

    I`ve encountered 4 errors on debugging and a little help would be much appreciated.

    The errors are:
    Scene=Scene 1, layer=Action Layer, frame=25, Line 41 There is no property with the name 'displayState'.

    This is the code I have:
    if (Stage.displayState == "fullScreen")

    Scene=Scene 1, layer=Action Layer, frame=25, Line 70 There is no property with the name 'displayState'.


    This is the code I have:
    if (Stage.displayState == "normal")

    Scene=Scene 1, layer=Action Layer, frame=25, Line 72 There is no property with the name 'displayState'.

    This is the code I have:
    Stage.displayState = "fullScreen";

    Scene=Scene 1, layer=Action Layer, frame=25, Line 76 There is no property with the name 'displayState'.

    This is the code I have:
    Stage.displayState = "normal";


    I`ve tried to change the code too Stage.displayState == "fullScreen"
    But then I get this error
    Scene=Scene 1, layer=Action Layer, frame=25, Line 75 'else' encountered without matching 'if'


    Thx

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    Jun 2009
    Location
    Houston, Tx
    Posts
    581

    Default

    Lol. The problem isn't what's in "". It's the fact that 'displayState' is NOT a member of Stage. This means that there is no such thing as displayState. Why are you using it?

  4. #3

    Default

    It was the script from a tempate that I have that was premade.
    So obviously the creator made a lil balls up.
    I was thinking it was script for fullscreen mode but like i said i`m a noob and just guessing
    So what should I do then?

  5. #4
    Join Date
    Jun 2009
    Location
    Houston, Tx
    Posts
    581

    Default

    Very well.
    Then here is my suggestion. Go to adobe.com and look for the Help Documents for Flash.
    You should already have it on your computer under adobe help files, but either way is fine.
    That is the best way to learn anything. Read as much as you can there.
    Good luck!

Thread Information

Users Browsing this Thread

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

     

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial