author mode in flash
- Started
- Last post
- 5 Responses
- Engage_London
Is there a piece of actionscript that you can use to test whether you are in the authoring environment or in a browser?
Having a problem hard coding as there is a port needed in the browser so making it relatvie works... but in authoring it doesn't so would like to use a hard coded localhost...
- MX_OnD0
try using the System Object to get Browser version....
not sure how well it'll work mind...
- Engage_London0
good idea... will have a go!
- MX_OnD0
if it doesn't work, just holler try something else ;)
Flash8 you will love sir, in training just now for it ;)
- Engage_London0
cool!
Yep... it worked... my authoring environment is WIN 7,0,19,0
and my browser is different, a little dirty but will do for now :D
- pixelbreaker0
if(System.capabilities.playerTyp... == "external"){
// is in autoring env
}else{
// is in browser or player
}