Projector script error

I need help on the following script:
global addedMovie
global movieList
global movielistold
global movieselect
global movieno
global previousMovie
property slideTime
property moveUnit
property finalPos
property timeChange
property timeTemp
property timeStart
global activemovie
on exitFrame me
addedMovie=value(movieList.getLast())
sprite(addedMovie).locH=725+movieno*100
sprite(addedMovie).locV=225
movieno=movieno+1
previousMovie=addedMovie
timeStart=the milliseconds
SlideTime=1000
moveUnit=0
tempPosOne=sprite(addedMovie).locH
repeat while moveUnit<100
timeTemp=the milliseconds
timeChange=timeTemp-timeStart
moveUnit= integer (100*timeChange / SlideTime)
finalPos=-.06*moveunit*moveunit+12*moveUnit
sprite(addedmovie).locH=TempPosOne-finalPos
if sprite(addedMovie).locH<800 then
updateStage
end if
end repeat
activemovie=movieno
end
This is a script that takes one of 16 sprites that are
positionel off stage and moves them onto the stage. In order to
select the corect sprite number I'm using a liniear list called:
'movielist'.
The weird thing is that when I test drive this script inside
director it is working great. But when I export this script to a
mac projector file, it suddenly doesn't work anymore! and the
computer gives a message: 'script error'
Can anyone help me on this one? I hope I supplied you with
sufficient info to help me solve this problem!
Michel

what do you find?
You are luckily to debug a small script. I'm unlucky to
handle a big one inherited from others, always encounter script
errors for some of the PCs, seems machine dependent, the same
OS/shockwave, some got errors, some no....and trace from the
scripts, the point of the error occurs make no sense, ie, the error
should not be there at all.
Luckily, the errors could be resolved in such a manner:
refresh from the IE windows, sometimes 1 refresh will do, sometimes
it takes 3 refreshes, and the latest shockwave takes as many as 6
refreshes.

Similar Messages

  • Tracing script errors in a projector

    Hey guys....Im really struggling here
    I get this script error that only happens when running as a
    projector... I cant track what causes it I just know how to produce
    the script error....how can I trace this? I tried doing a trace on
    a debug window...but its just way to slow and I cant reproduce the
    error this way? How can I track what causes the script error? Or
    even suppress it because if you hit continue the movie will
    continue as normal
    thanks in advance

    If you pepper your code with 'put...' statements around where
    you think
    the error is occurring and enable a run-time message window
    (_player.debugPlaybackEnabled = 1), you can narrow it down by
    examining
    the last message posted prior to the error and the first
    after it (the
    dialog box halts execution in mid-step until dismissed). You
    can then
    use this information to hopefully "zoom in" on where the
    error is occurring.
    While disabling error dialogs is possible by using 'the
    alertHook', it's
    obviously better to try and fix the original issue.

  • Script error "fileXtra.32"

    I have made a projector in Director MX 2004 in a PC environment.  I would now like to make it available for Mac users.  I also use a Mac and have installed the trial version of Director 11 in order to make the projector available for Mac users.  All content and files were copied over correctly and established into the appropriate folders in the same way as the PC environment.  However, when I go to play the projector on the Mac the script errors "unable to locate the fileXtra.32" appears.  This file DOES exist in a sub-folder called Xtras along with other xtra files.
    Any help would be appreciated.
    Neil

    If you have the source file you can find references yourself in the script text to methods of the FileXtra. IIRC they are not "global" methods but are called on an instance of the xtra, something like:
    fx4 = xtra("FileXtra4").new()
    tPath = fx4.fx_DisplayOpen(#whateverArgumentsHere)

  • Script Error on gotoNetPage

    Hi All,
    This is driving me crazy. I'm using a simple gotoNetPage
    script to link to users website. I've done this a million times
    before without any problem but now when I create the projector I
    get the "Script Error" prompt when I click on the link. I've even
    cut and pasted a gotoNetPage script that worked in another Director
    project and I'm still getting the script error. Is there something
    I'm missing here? Script below... Help!

    Hi Sean,
    Thanks for the reply. It is a run-time error - the link works
    fine when I'm authoring it in Director, it doesn't when I play the
    projector (also correct, not a Shockwave). I do have the 3
    net-support xtras included; Ineturl.x32, Netfile.x32 and
    Netlingo.x32. Are those the 3 you meant? The "include in Projector"
    box is also checked on the bottom. I'm really stumped. Like I said,
    this function works fine in another project I'm looking at. I just
    don't get why I'm getting the script error for this one.
    Thanks-

  • Dir 10 projector - sudden errors on MacBook Pro

    Yesterday a coupe of users had script errors after installing
    an interactive on both a MacBook and MacBookPro, when starting an
    application that I've been distributing for several years now. It
    is a 10.1.1 projector (all the latest updates), using a quick start
    stub movie. All Xtras are distributed inside my installer and
    placed in an appropriate Xtras folder. I've probably had over a
    1000 Mac users install various versions successfully over the last
    few years, and then every student runs the application for an hour
    a week over the academic year. It's been running successfully on
    all flavors of Mac machines - G4, G5 and Intel boxes.
    After the reports of problems came in, today I began
    retesting this year's installer (which had all worked great on 7 or
    8 test Macs) to try to track down the sudden problem. Had no errors
    on a G4 iBook, a G5 iMac, or my Quad-core Mac Pro. But sure enough,
    I also got a script error on my MacBook Pro that I had not seen
    before! And to complicate matters even more, a second program (that
    uses an identical configuration) that was installed successfully on
    my MBP in July now also gives the same script error at startup.
    Note that this laptop is not my main machine, and sees light use
    these days.
    After extensive testing (at first thinking this might be an
    issue with my new installer), I noticed that a tiny dialogue box
    appeared on the screen for a split second, then disappeared. A
    portion of my projector (1024 x 768) then appeared within the same
    dimensions as that dialogue, then the script error came up. I used
    a screen capture program to record the sequence at 30 fps, and
    after a couple of tries was able to get the following screen shot:
    http://www.aufgehts.com/images/AG_SW_error.jpg
    I am completely puzzled because there is no need to download
    Xtras - after 8 hours of investigation I still have no idea what's
    going on. Both my MBP and MP have 10.5.4 with all the latest
    updates, and another team member with a MBP and 10.5.4 is able to
    run the program successfully. I've tried resetting Permissions for
    the application's folder, but with no success.
    The Projector has no need to download any Xtras (this option
    is NOT turned on in my projector / Xtra settings window). I thought
    it might be a problem with a Shockwave 11 player so I uninstalled
    just in case. Further, we tested the MBP that has no errors by
    uninstalled Shockwave 10 and installing SW 11, and this other MBP
    had no problem. The projector is a normal one that doesn't need to
    download a SW player (plus it is set to run with SW 10), so it
    should just start up with Rosetta, look for the Xtras folder, and
    run as normal.
    Anyone had similar issues or have a guess as to what might be
    going on? All ideas will be appreciated!

    quote:
    Originally posted by:
    fazstp
    What sort of installer are you using? Was it created under
    Leopard? I haven't had this particular issue but have had other
    problems with permissions not being set properly in Leopard by a
    pkg created under Tiger.
    I'm using the latest version of Firestorm (from Vise),
    created on my MacPro with 10.5. At first I assumed it was my
    installer, but the problem persists even if I manually install my
    uncompressed gold master files via my internal network. Further,
    all my old, previously installed and working versions of various
    Director 10 project run-time applications are now "broken" on this
    one MBP.
    Like you, my best guess is that it is a permissions issue. My
    theory is that all Xtra folders have now somehow become locked and
    the projector can not access them (this would explain the errors on
    the exisitng programs). Tried numerous solutions to this therory:
    resetting permissions in the app folder so all users have
    Read/Write access to all enclosed folders, repairing permissions in
    Disk Utilties, etc. The fact that this only appears to occur on the
    MacBook Pro and MacBook (so far) makes me wonder if there is some
    conflict with the Intel laptops. Or it could just be coincidence
    due to the majority of my users' (students) having laptops ...
    Any ideas will be entertained ... Is it possible to get more
    effective permissions repairs via terminal (which I am not too
    familiar with)?

  • Lingo "alert" causes script error

    I've just started using MX 2004, and I find that whenever the
    "alert" lingo is encountered, I get a script error which won't
    continue.
    I am working on Mac OSX 10.4.10 and compile my projectors to
    .exe and transfer them to my PC.
    Everything else works, just not the "alert" lingo command.
    Any ideas?
    Thanks
    William Donelson

    The alert handler requires a string so if you pass anything
    else you will get an error. If it was failing on
    alert ( "This is a message" )
    I don't know why, but if you were passing a message to a
    handler that wasn't a string then preceding it with EMPTY changes
    it to a string.
    ie.
    alert( EMPTY && v_message )
    or
    alert( v_message.string )

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • When I try to use the print/save as pdf option, I get a scripting error and Firefox usually freezes.

    On my MacBook Pro running OS 10.5.8 and Firefox 3.6.13, I am trying to save documents as pdfs under the print window, I get a scripting error and Firefox usually freezes/becomes nonresponsive. This happens every time I tried to perform this task.

    This is a fresh install of Windows 7.  It is installed on virtual environment on my mac mini using the parallels virtualization application.
    I purchased the windows version of dream weaver CS 6 through an online website which I tried to install to my new windows instance.   This is the academic version of the Dreamweaver application with a perpetual license that I am trying to install.
    I verified my eligibility through adobe which gave me a link to download the CreateiveCloud Set-up program.  I downloaded the install program in my windows environment and program and the gave the above error message.  Below is a copy of my computers specs. 

  • Firefox is slow to open and close. I get a "script error" that says it may be caused by a recently opened tab. What do I do to correct this problem. It is wreaking havoc when trying to open/close or move around the internet.

    I am getting a "script error" when I close out the internet, specifically Firefox. My backup internet explorer does not do this. This is slowing down the process of opening/closing Firefox. When I open Mozilla, I get "restore session" even though I have closed everything down. I have "removed program" and re-downloaded Mozilla 3 times and still this problem persists. What is causing it and how do I fix it?

    -> Update All your Firefox Plugins
    * https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    * Restart Firefox
    Check and tell if its working.

  • Running reports in SCCM: ActiveX Script Error

    When I try to run some reports, I authenticate then it throws a Script Error.  Error:  ActiveX component can't create object:  'Microsoft.XMLDOM'.
    This only happens on some reports and it only happens remotely.  If I try to run the same reports on the local server, there aren't any issues. 

    Have enabled remote errors?
    http://be.enhansoft.com/post/2013/01/16/Enabling-Remote-Errors-in-SQL.aspx
    What exactly is the error that your are getting!
    http://www.enhansoft.com/

  • Firefox 4.0 is my default browser, and I am receiving a script error message when I try to view online images in Family Tree Maker 2011, a genealogy program. Have not had problems until Firefox 4.0. Can't seem to find a setting in Firefox to fix this.

    Error is as follows: Line: 63 Char: 4344 Error: Unable to get value of the property 'offsetHeight': object is null or undefined Code: 0 URL: http://yui.yahooapis.com/combo?2.8.0/build/yuiloader-dom- event/yuiloader-dom-event.js&2.8.0/build/dragdrop/dragdrop- min.js&2.8.0/build/stylesheet/stylesheet- Do you want to continue running scripts on this page? Y/N buttons."

    I see. Well, I just tried to make IE my default browser, but it did not solve the problem. I receive the same script error when I view the image. (I may not have explained this thoroughly enough at first - I do get to view the image after answering the error message, but the print button embedded in the window doesn't work. Before, I never had a problem with viewing or printing.)
    I imagine that at this point I will either need to communicate this to the IE people, or possibly revert to an older version of IE.

  • I can't get Firefox to open on my computer. I've been using it for a year and a half with no problems until now. I keep getting the following "Unresponsive script" error message: Script: resource:///components/nsHandlerService.js:432 How do I fix this?

    Unresponsive script error message keeps popping up, Firefox will not open.

    Try to delete the mimeTypes.rdf file in the Firefox Profile Folder.
    * http://kb.mozillazine.org/mimeTypes.rdf
    * http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder

  • Still having a problem with Firefox going to "restart a session" even after re-installing Firefox. Keeps giving me "script error" when closing down. How do I fix this?

    As stated previously...I have removed and re-installed Firefox, but am still getting "script error" when shutting it down and going to "restore session" when opening. Please advise what to do about this problem. Thank you.

    Firefox 21 and Firefox 22 running on Windows 7 have been reported to take a long time to "wake up" from sleep. I realize hibernation is different than sleep, but... this is the closest match for your description.
    Some users have reported that this problem is resolved in Firefox 23 (currently in beta). Others have had inconsistent luck with minimizing Firefox before letting Windows sleep and other measures.
    Please check out this (very long) thread for more information: [https://support.mozilla.org/questions/961898 browser freezes after resuming from sleep]
    Or jump to the part about Firefox 23: https://support.mozilla.org/questions/961898?page=3#answer-457321
    The fact that this just started recently suggests perhaps it is related to another program or update, but I don't think anyone has confirmed the exact interaction that causes the problem.

  • When I click on firefox I get a java script error that says "TypeError: Components.classes[TvtPwmComponent_CID] is undefined", what does that mean?

    Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Script Error when I try to Preview a report

    Dear Experts, I have this issue when I try do a open a report by clicking Preview in CMC,  I get a parameter screen where I have to plug the values. When I try to click on the calendar icon to pick up the dates I get this error message:
    Internet Explorer Script Error
    Line: 251
    Char: 1
    Error: Object expected
    URL: .... prompting1.html
    I imported the same report in the test server and I can select the calendar dates on the parameter screen just fine.
    I'm on BOXI R2, Windows Server 2003.
    I followed the instruction of un-checking the and checking the "Disable Script Debugging" in Internet Options Advanced tab. That did not help.  I also made sure that the preferences in CMC has "ActiveX" under Crystal Report Viewer.
    Kindly help me fix this issue.
    Edited by: SAPman on Nov 9, 2009 12:36 PM

    >
    Sebastian Wiefett wrote:
    > Hi,
    >
    > this looks for me as an error from the IE.
    >
    > Try to delete your Cache please. Is the URL of your BO Server in your Trusted Sites list ?
    >
    > Regards
    > -Seb.
    I too feel it is something with IE itself. I can open the calendar on the parameter screen after I migrated the report in the test environment with IE7.0. My dev system has IE6.0 and I was unable open the calendar. So I thought maybe it is the version. But when I open the dev CMC on my workstation (with IE7.0), I still was unable to open the calendar in the parameter screen. So that rules out IE version.
    URL is also listed under Trusted sites. Moreover, if I type the dates manually, then report works fine too. But if I click on the calendar icon to select the dates, then I get this error.
    Any help is appreciated.

Maybe you are looking for