Skip to main content
Participant
July 29, 2014
Question

fscommand variable argument? and quote in a quote?

  • July 29, 2014
  • 2 replies
  • 583 views

hello adobe flash community.

im new with flash pro and actionscript

i have a problem with fscommand..

im using it for a program called neobook.

made a button in flash pro cs6.

with a click it sends

fscommand("NeoBook", "GotoNextPage");

works correctly.

but i need to have it go to a specific page.

GotoPage "page3"

fscommand("NeoBook", "GotoPage "page3"");

doesnt work because there is quote beside the quote..

how do i bypass this?

what if i set variable x=GotoPage "page3"

how do i use a variable in a fscommand ?

fscommand("NeoBook", x); ?

This topic has been closed for replies.

2 replies

Participant
September 29, 2015

on (release) {fscommand ("NeoBook", "GotoPage \"Name of NeoBook's page\"");}

kglad
Community Expert
Community Expert
July 29, 2014

what is NeoBook expecting for an argument?