Skip navigation
star4sindzo
Currently Being Moderated

Help about web page _main.xml file

Feb 20, 2013 10:27 AM

I had realy big problem for my web ...

 

Scene=Scene 1, layer=Action Layer, frame=5, Line 41There is no property with the name 'displayState'.
Symbol=sprite 339, layer=Layer 5, frame=1, Line 3There is no property with the name 'displayState'.
Symbol=sprite 339, layer=Layer 5, frame=1, Line 5There is no property with the name 'displayState'.
Symbol=sprite 339, layer=Layer 5, frame=1, Line 9There is no property with the name 'displayState'.

For firs code is

        {

            closeObjSeand.useHandCursor = true;

            textObj.htmlText = " ";

            closeObjSeand._visible = false;

            closeObjClear._visible = false;

        } // end else if

    };

*   if (Stage.displayState == "fullScreen")

    {

 

next

on (release)

{

*    if (Stage.displayState == "normal")

    {

        Stage.displayState = "fullScreen";

    }

    else

    {

        Stage.displayState = "normal";

    } // end else if

}

on (rollOver)

{

    _parent.gotoAndPlay("s1");

}

on (releaseOutside, rollOut)

{

    _parent.gotoAndPlay("s2");

}

 

next

the same as the previous

 

and final

 

on (release)

{

    if (Stage.displayState == "normal")

    {

        Stage.displayState = "fullScreen";

    }

    else

    {

*       Stage.displayState = "normal";

    } // end else if

}

on (rollOver)

{

    _parent.gotoAndPlay("s1");

}

on (releaseOutside, rollOut)

{

    _parent.gotoAndPlay("s2");

 

and when i go to Controls >>> test movie >> test

I have this mistake

XML FAILED TO LOAD! (33634_main.xml)

Error opening URL 'file:///C|/Users/name/Desktop/33634/33634_main.xml'

 

I do not know what the problem was, if someone can say to me I would be grateful!!!

And when I export the .swf file will not begin I have to press Enter to make the video started

 

Best regards!

 
Replies
  • kglad
    72,260 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 20, 2013 11:33 AM   in reply to star4sindzo

    you're using as1/as2 code and publishing for as3.

     

    change your publish settings (file>publish settings>flash or swf) to use as2.

     
    |
    Mark as:
  • kglad
    72,260 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 20, 2013 7:09 PM   in reply to star4sindzo

    create a new fla with as2 publish settings in a new directory.  don't put anything in the fla and test.

     

    any problem?

     

    if not, add a movieclip with instance name mc to the stage and add the following to your actions panel and test:

     

    mc.onRelease=function(){

    Stage.displayState = "fullScreen";

    }

     

    any problem?

     

    if not, copy the movieclips/buttons from your problematic fla's stage and paste those movieclips/buttons onto the stage of the new fla and test.

     

    any problem?

     

    if yes, remove code except what you showed in your first message and whatever is needed to make the code work and retest.

     

    any  problem?

     

    if yes, paste here the code you're testing.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points