Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

fscommand variable argument? and quote in a quote?

New Here ,
Jul 29, 2014 Jul 29, 2014

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); ?

TOPICS
ActionScript
582
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 29, 2014 Jul 29, 2014

what is NeoBook expecting for an argument?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 28, 2015 Sep 28, 2015
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines