is there anyway to remove the player window when an swf is opened, (v:mx, swf uses loadvarialbles to open remote txt file)
also to make automatically fully screen, like when i make an autorun exe
Printable View
is there anyway to remove the player window when an swf is opened, (v:mx, swf uses loadvarialbles to open remote txt file)
also to make automatically fully screen, like when i make an autorun exe
fscommand("fullscreen", "true");
On the first frame of your movie.
If you want your movie to retain it's size, add...
fscommand("allowscale", "false");
fast advice much appreciated, saved my skin
I would also like to know how to do this. I put "fscommand("fullscreen", "true");"
on the first frame of my file but when I publish it I get an error that says "Scene 1, Layer 'actions', Frame 1, Line 3 1067: Implicit coercion of a value of type Boolean to an unrelated type String." what am I doing wrong
You're returning a String when your function is set to only accept Boolean type as the return value, I think. Mind posting more code? and you're using AS2, right?
oh no, I'm using AS3, Do you know the code to do it with AS3
Well, then you should've made a new topic in the AS3 forum because this is Flash 8 and Older, which means only AS1 and AS2 :p
AS3:
Actionscript Code:import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;
For it to work, you'll have to open the SWF file locally (not from inside Adobe Flash)
oh sorry
No problem, as long as you didn't do it deliberately (or to spam) ;)