The Ultrashock Ultra Bundle
  • Home
  • Community
  • Forum
  • Development
  • Client Side
  • Thread
  •  
  • Previous topic
  • Next topic
Sign up to post

Development
 Client Side

  • pgary Author 
    • 848 
    • 0 
    • 2 
    FSCommand errors.
    thilss

    Last reply Dec 08 2008, 07:57 PM

    by thilss

    Posted: Apr 05 2001, 12:35 PM

    by pgary

     

I have a flash site that I really need to release very soon that, using a fscommand to call an external javascript function, opens a popup window.

I used the default fscommand flash 5 publishing functions, and this works really fine with IE / Netscape on Win2000, and Netscape on MacOS.

It does not, however, work on any MacOS Internet Explorer. Any ideas on why this is so?

Eternal gratitude and free beer to anyone who solves this for me today. :-)

Here’s the HTML:

<TITLE>test</TITLE>
[removed]
<!—
var InternetExplorer = navigator.appName.indexOf(“Microsoft”) != -1;
function moos_DoFSCommand(command, args) {
var moosObj = InternetExplorer ? moos : document.moos;
if (command == “signup”) {
window.open…
} else if (command == “kamera1”) {
window.open…
} else if (command == “kamera2”) {
window.open…
}
}

if (navigator.appName && navigator.appName.indexOf(“Microsoft”) != -1 &&
navigator.userAgent.indexOf(“Windows”) != -1 && navigator.userAgent.indexOf(“Windows 3.1”) == -1) {
[removed](’[removed] n’);
[removed](‘on error resume next n’);
[removed](‘Sub moos_FSCommand(ByVal command, ByVal args)n’);
[removed](’ call moos_DoFSCommand(command, args)n’);
[removed](‘end subn’);
[removed](’[removed] n’);
}

//—>
[removed]
[removed]
var sida = document.URL.substr(document.URL.length - 2,2);
[removed]
</HEAD>
<BODY bgcolor=”#FFFFFF” leftmargin=“0” topmargin=“0” marginwidth=“0” marginheight=“0”>
[removed]
[removed](’<OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” WIDTH=714 HEIGHT=520 ID=moos align=“middle”>’);
[removed](’‘);
[removed](’‘);
[removed](’‘);
[removed](’<EMBED src=“test.swf?grStart=’+sida+’” quality=high bgcolor=#FFFFFF WIDTH=714 HEIGHT=520 swLiveConnect=true NAME=moos TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” align=“middle”>’);
[removed](’</EMBED>’);
[removed](’</OBJECT>’);
[removed]

  2 REPLIES
 
shakib
1  
shakib

reply posted in ActionScript Forum

  • 05 April 2001 01:26 PM
  •  
thilss
2  
thilss

you didn’t finish your html page nor did you post your flash code.  If you could post that, i could give it a looksie, or maybe im missing it, idk

  • 08 December 2008 07:57 PM
  •  
  •   Log in or join for free to make a comment.
 
Topic actions
  •  Share on Facebook
  •  Share on Twitter
Topic Categories
  •  Show All Topics
  •  Development
    •  Server Side
    •  Client Side
  •  Creative Software
    •  Web
    •  Video
    •  3D
    •  Illustrator
    •  Photoshop Battles
    •  Photoshop
  •  Design
    •  Typography
    •  Resources & Insight
    •  Checkpoint
  •  Career
    •  Copyright Matters
    •  Advice & issues
    •  Job Seekers
    •  Job Offers
  •  Flash
    •  UltraMath
    •  OOP
    •  Third Party Tools
    •  Open Source alternatives
    •  Data Communication
    •  Components
    •  Flex
    •  AIR
    •  Flash Lite
    •  Flash Professional
    •  Flash Newbie
    •  ActionScript
    •  XML
  •  Lounge
    •  Polls
    •  Random Chat
    •  Showcase And Critique
    •  BombShock Award Nominations
  •  Community Essentials
    •  BombShock Award Winners
    •  Tutorials
    •  Interviews
    •  News
    •  Bitmap tutorials
Popular Topics
  • Sort by: 
  • Activity
  • Views
  • Comments
  • Likes
Advertise with us
  • Your advertisement here!
  • loading
Ultrashock
  • Creative Assets
  • Community
  • Blog
  1. Home
  2. Forum
+/-
Creative Assets
  • Categories
  • Contributors
  • How to buy
Make Money
  • Commission Rates
  • Referral Program
  • Contributor Program
Community
  • Activity Feed
  • Forum
  • Profiles
About
  • Quick Tour
  • Our History
  • Banners & Logos
Support
  • Contact Ultrashock
  • Advertise with us
  • Legal Information
  •  Keep up to date
  • Flash 779  Flash
  • Audio 6,481  Audio
  • Vector 2,130  Vectors
  • Image 12,338  Images
  • Creative Assets 21,728  Assets
  • Profiles 282,751  Members
  • Topics 93,776  Topics
  • Blog 4  Blog
  • Facebook 1,679  Facebook
  • Twitter 1,163  Twitter
  • Join our FREE monthly newsletter!
  • Archive
  • Invalid email address. Please try again.
Subscribe
  • ©2012 Ultrashock LLC - All rights reserved
  • Terms of Use
  • Privacy Policy
  • Switch to dark theme
  • RSS Feeds
  • Top

©2012 Ultrashock LLC - All rights reserved

Printed on Sat, February 11, 2012 - 19:20:17