fscommand on Pocket Pc
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: fscommand on Pocket Pc

  1. #1
    Junior Member
    Join Date
    Jun 2004

    fscommand on Pocket Pc

    i have embedded a .mov file into a flash movie and have set certain key frames along the timeline with fscommands associated with them normally i could write the code in vb but this doesn't work on a pocket pc( actually running the hp ipaq). Is there a way to write code to make the fscommands work ( can it be done in javascript? )

    any help much appreciated

  2. #2
    Join Date
    Apr 2001
    Akron OH, USA
    have you tried using getURL("javascript:") instead.

    I believe the ActiveX control does support the javascript interface, but not sure how you would set up fscommands through js other than the way the plug-in supports it.

    // Javascript to enable fscommand for plug-in
    function fs_evalFSCommand(cmd,args){
    	// if comamnd contains complete function string ignore args
    	// otherwise build a function call with open and closed parenthesis
    	if(cmd.indexOf('(') != -1 && cmd.indexOf(')') != -1){
    		var commandstr = String(cmd);
    	} else {
    		var commandstr = cmd + '(' + args + ')';
    	// eval function call
    window[playerID + '_DoFSCommand'] = fs_evalFSCommand;
    aviarts.com - web development and flash development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center