Trouble adding a web url link to an existing file: 1046: Type was not found or was not a compile-time constant:

Hi There,
We're trying to add a simple link to an existing Flash file. There looks to be at least 7 separate .as files and a separate swf that loads the main swf which all seems overly complex for what is essentially a page with six buttons on it.
However, we need to add a URL to some of the text. So we converted the text to a button, added an instance name of <ssbpurchasetickets_btn> then added the following Actionscript into the actions layer on the frame the text/button appears:
ssbpurchasetickets_btn.addEventListener(MouseEvent.CLICK, ssbButtonPurchase);
function ssbButtonPurchase(event:MouseEvent):void
navigateToURL(new URLRequest("http://www.url.com/tickets.html"));
When we publish the file we get the following error which seems to cascade into a whole bunch more errors:
Description: 1046: Type was not found or was not a compile-time constant: MouseEvent.
Source: function ssbButtonPurchase(event:MouseEvent):void
We added "ssb" onto the button and functions to ensure there were no conflicts but the same thing occurred. If we copy the button into a new file everything works so it must be conflicting with something in the main files.
Any help would be MUCH appreciated!!!!
Cheers

Thanks for the reply Ned,
The file is set to use AS3 and I'm pretty sure the original should be set to AS3 as the .as files look like AS3 syntax to me - here's a sample:
protected function handleWwrdButtonClick(e:ButtonEvent):void {
Browser.open(globalVar.xml.wwrd.item[0].@url, globalVar.xml.wwrd.item[0].@target);
OmnitureTracker.trackFeaturedContentClick('http://www.url.com/movies/international', 'wwrd_button');
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, onTimer);
I'm wondering if all the Actionscript has be placed into one of the .as files as there isn't any Actionscript in the Flash project - a part from the odd stop()
Really stuck on this one (I'm not an expert at all) so any help in deciphering the project would be much appreciated.
Cheers

Similar Messages

  • Can't do online banking. Get error message. "The requested URL /Summary.cgi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I can't do online banking. When I try to open the page I get error "The requested URL /Summary.cgi was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Hi,
    These blog posts might help debug problem
    Oracle APEX: Got a 404 Not Found? | Inside Oracle APEX by Patrick Wolf
    daust_de :: Oracle XE / APEX: Troubleshooting the 404-not found error on XE
    Regards,
    Jari

  • Entry Point Not Found, AVCFAssestCreateWithByteStremAndOptions could not be located in the dynamic link libary AVFoundationCF.dll.  Please help!

    Entry Point Not Found, AVCFAssestCreateWithByteStremAndOptions could not be located in the dynamic link libary AVFoundationCF.dll.  Please help!
    have followed all the touble shooting links to deleate temp files, unistal ect. still not working! when I reinstalled I got an error code. Please help
    I am running Windows 7.

    It says "error 7, windows error 127"
    Please help!

  • Problem in CS5 with web URL links

    HI. I have a newletter with links to web URLs in it. Until inDesign CS5, they automatically "went live" in my PDF version. Since I upgraded to CS5, if there is a line break, the URL only picks up the first line, until the soft line break, so many of the links don't work. I have set it for no hyphenation... have selected the URL and made it a "hyperlink from URL"... In some cases that works and in some cases it doesn't, and I can't figure out why. What am I missing? Thank You.

    I am working in CS5 (it says version 7) - it was acting just as you describe.
    I got mine to work every time by doing this:
    I paste the link into the inDesign document. I make sure it has the www and everything,
    but it doesn't appear to need the http:// in the front of it.
    Then I carefully highlight it (careful not to pick up an extra space before or after).
    Then I go to the TYPE menu, select HYPERLINKS & CROSS REFERENCES
    and from the pop-out CREATE NEW HYPERLINK from URL.
    This works.
    I have found if I need to change it I have to delete the whole area and start over, but it gets me there.
    I found if I use the global command right below that I also get into trouble trying to change things later.
    Hope it helps you!
    Sue

  • URL Link on downloaded Excel File

    Hi,
    I have got a requirement.
    For study and analysis purpose user download data on excel file from OCOD. Struture(Contents) of downloaded excel file is same as screen.
    But the problem is when user click on 'DETAIL' (which has URL link) he/she is directed to Live OCOD and asked for log in with ID and Password, even if
    user is logged in OCOD.
    What i want to do is.
    1) Download Excel file without any URL link.
    2) If 1) is not possible then do not want to have 'DETAIL' option of downloded file.
    3) Method for avoiding relog into OCOD.
    Thanks in Advance
    Yuj

    Yuj, within the application click on the Training and Support link in the upper right, then click on Add-On Applications, then click on Reports and Analysis for Excel Template. In order to take the webinar click on Browse Training, then click on Training Resources by Job, then click on All Users, then click on Using Mail Merge for Word and Reports and Analysis for Excel with Oracle CRM On Demand.

  • CS6 Design and Web Premium Link is a zip file I need to run the program on my Windows 8.1

    I'm having trouble with the zip file for the Creative Suite CS6 Design and Web Premium. Please show me a link that I can run the program on my laptop. Thank you.

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.5 (win), 5.5 (mac) | 5.4 (win), 5.4 (mac) | 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Adding worksets/iview as links to an html file utilised in a KM Doc iview

    Hi,
    I have developed a home page using the KM Document iview, which utilzes an html page in path to document.
    Now, On this home page, I want to display the links of worksets.
    Example: On Clicking the link--> Leave Management(a workset), it should open the leave management and its sub part iviews as Leave Cancel, Leave Status etc.
    Is it possible to display them on the same screen when the user clicks them? If it is possible, how to go about it?
    I tried using
    http://<portalserver:port>/irj/index.html?NavigationTarget=ROLES://<pcd location>
    in the html file, but on clicking this link, instead of the workset, the whole portal page is loaded in a sub-window.
    I don't have the option of creating a custom overview page in the back end; that's why following this approach.
    Any inputs on this would be helpful?

    Thanks Prashant,
    Level 1 of the problem is solved.
    Now I want When I click on the workset iview link,
    It should open another workset iview in which the iviews are displayed as links.
    Page 1
      (Workset Iview1)Clickable                                                    Workset Iview2 Clickable
    When workset iview1 is clicked, it should go to a page
    Link 1(an iview) Link 2(iview2) Link 3(iview3) and so on
    how can I achieve this?

  • An URL link to a ".dot" file doesn't start MS-word.

    When a page has a link to file with suffix ".dot" I expect that the file is being opened with MS-office (WORD) , Just like IE.
    Instead of that the contetnt of the dot file is presented in firefox itself.
    I have searched for a way to change the behaviour of firefox but didn't find the solution.

    Dear Rave,
    Thank you for your reply.
    Yes, I tried several times and got the same results.
    Does it have anything to do with the Options/Applications used in Firefox?
    Dr. T

  • Error message - "entry point not found - asl_add_log_file could not be located in the dynamic link library ASL.dll". Does anyone have a clue how this can be fixed? I am running iTunes 9.  Thank you.

    I get this message when I start up my computer and when I try to open itunes.  After a couple of clicks to cancel the message, all programmes still open.  I've run a registry checker to no avail.  I also cannot find the ASL.dll on my computer either.  Any ideas?

    Read Hi, just tried to upgrade to 11.2 but now when I try to open itunes I get an error message saying "the procedure entry point ADiAdID_acquirematchslotifnecessary could not be located in the dynamic link library iAdCore.dll". Any suggestions?

  • Adding permissions "NT Service\mpssvc" not working - the account is not found. Firewall not running (error 5 (0x5))

    Hi all,
    i have a problem with the firewall-service on a Windows 2008 Std SP2. The firewall service does not start. Access denied problem. I can see that on some registry-keys the permissions for the "NT Service\MpsSvc" account are missing.
    I found some similar threads, and
    here is decripted what to do.
    But if i try to add the permissions for "NT Service\MpsSvc" the server does not find this account - so, i cannot add it to the registry key.
    What i have to do that i can select this account ?
    Thanks
    Bruno

    But the problem is, that i can not ADD the account to the registry keys. The account  "NT Service\MpsSvc" is not resolved when i try to add the permissions.
    Bruno
    While adding permissions and resolving for account name, in location select "local machine" instead of domain. MpsSvc is local machine account !
    Also, please have a look at below article
    http://blogs.technet.com/b/networking/archive/2011/06/14/the-windows-firewall-service-fails-to-start-registry-permissions.aspx
    HTH
    Thanks, Santosh (MCTS W2K8 AD and SCCM) “ To Infinity and Beyond… ”

  • Creating a link to an existing file on the c drive?

    How can I create a button so that when it is pressed on Reader it hyperlinks to a document on my hard drive. This is extremely easy to accomplish on Acrobat Professional using the form tools, however if a form is built in Designer, the form toolbars are unaccesible. Please help to inform me on this issue.
    Brian

    Brian,
    You can use the following javascript syntax to open a document on local drive:
    xfa.host.gotoURL("file:///C:/yourdocument.pdf",1);

  • Problems adding  url link to buttons in action Script 3

    each time I added it link 1 to the button on file i get these error messages-  
    1046: Type was not found or was not a compile-time constant: link1.
    1180: Call to a possibly undefined method link1.
    Warning: 3594: exec is not a recognized method of the dynamic class RegExp. var r:Object = p.exec(s);  
    This is the code I am using:   import flash.net.navigateToURL; import flash.net.URLRequest;  var link_one:link1;  link_one = new link1(); stage.addChild(link_one);  link_one.addEventListener(MouseEvent.CLICK, buttonClickHandler);  function buttonClickHandler(event:MouseEvent):void { var url:String = "http://www.masterpiececorp.com/ARMREF.htm"; var request:URLRequest = new URLRequest(url); navigateToURL(request); }    I have no other problems with link 3 or 4, just link 1  I still cannot get my urls link to movie clips on the flash  
    Can you upload flash here? if not I have a image capture I can use to have you look at my buttons  and action script code. i have been to every forum I know and not any have been helpful at all. This is my last hope.
    Very frustrated newbie  Gina T
    Message was edited by: gtaylor0406

    The way you had your code originally would be correct...
    var link_one:link1;
    link_one = new link1();
    addChild(link_one);
    The 1046 error is indicating it doesn't recognize the link1 class.  So the first thing you need to make sure of is that you have assigned the link1 class designation to whatever symbol that is in the library.

  • Storing OPC URL link as String

    Hello
    I am having trouble with reading OPC URL link in correct format form the System.ini file. (LabView 8.2)
    I am able to read the OPC URL link from System.ini file and save it as a string, but in the OPC URL link it contain some back slash and that is where the problem start.
    I have old EXE  file created in LabView, which read the same OPC URL and able to communicate. I cannot provide this EXE file because it is very big.
    Please take a look the System.ini file where OPC URL link are stored, and the OPC test.vi.
    I try to add some extra back slash to take care of escape sequence, but I could not communicate with OPC server.
    Please help me
    Thank you,
    Attachments:
    OPC test.vi ‏45 KB
    System.ini ‏1 KB

    Hello Guys
    Thank to Rolf, Ravens and GerdW
    As Rolf point out that read raw string flag on the Read key.vi takes care of  all escape sequence problem. Also do the same thing when you use the Write Key.vi. So if the Value type is String then this flag comes up, but if not careful we can easily miss that.
    Here is the some more info.
    read raw string? Specifies whether the string was written without escaping unprintable and backslash (\) characters. If FALSE (default), the VI replaces any unprintable characters in the string, such as <ESC>, with a backslash and two Hex characters (\xx). If TRUE, the VI does not convert the unprintable characters in the string.
    write raw string? specifies whether to write the string without escaping unprintable and backslash (\) characters. If FALSE (default), the VI converts any backslashes (\) to double backslashes (\\) and replaces any remaining unprintable characters in the string, such as <ESC>, with a backslash and two Hex characters (\xx). If TRUE, the VI does not convert the unprintable characters in the string.
    I think this is very important point to keep in mind.
    Thank you

  • Firefox will only open websites via url link, does not even attempt to connect through the address bar.

    I can only open Firefox websites by using a url link. If I try to type something in the address bar it will not even attempt to load the page, no loading circle, no error or no connection message. I'm at youtube.com and I type in google.com and slap ENTER. Nothing happens. Nothing. I slap the ENTER key a couple more times to similar effect. I can open blank new tabs, but can't get the address bar to work. I can right click videos and have them open correctly in new tabs or windows, but the address bar refuses to do anything.
    Internet Explorer works perfectly fine though. Despite the ads.
    I've updated reinstalled, disabled my firewall, restarted firefox, restarted my computer, hasn't accomplished diddly jack squat. If anyone has any idea what's going on here I would highly appreciate your help.

    Hello,
    Try clicking on Tool --> Options --> Advanced --> General tab. Uncheck "Use Hardware Acceleration... ". Do you have any add-on like avg safe search installed?
    Hope that helps.

  • URL Link to Specific SWF Slide

    Is it possible once a Captivate 2 project has been exported
    to HTML/SWF to have a URL link open the SWF file to a specific
    slide number? For example if a Captivate 2 project is 20 slides
    long, the user could click a link that would open the swf file to a
    specific slide in the middle, say slide 10. Or can the html coding
    that opens the Captivate 2 exported SWF file be set to open the
    file to a specific slide? I am trying to avoid breaking up a multi
    scene file just so users can access one or two slides and not have
    to navigate through an entire file.
    Thanks.
    Bennor3814

    It's pretty simple to do with JavaScript actually and Philip Hutchison just released the latest version of his "Captivate Controller" a couple of days ago.
    This allows you to control Captivate 2,3 & 4 movies from JavaScript commands in a simple and non-technical way.
    You can read more about it and download it here: http://pipwerks.com/journal/2009/06/07/introducing-the-captivatecontroller/
    /Michael
    Click here to visit the www.captivate4.com blog

Maybe you are looking for

  • Places not working after photo has been edited...

    Hello All As the title states after I edit a photo in Iphoto (on the ipad, in either Photos or Adobe Express) the edited photo no longer shows in places.... Is this just the way it is? Does the geotag go away after editing? Should I be saving the edi

  • How to link vbak and vbrp tables

    hi friends, i want to display lips table values based on lips-vbeln = it_vbrp-vgbel here i want a filed thru which i can link vbrp-<fieldname> to vbak/vbap-vbeln so that i can get values into it_vbrp. here is equation.   it_vbrp =>   vbak-vbeln = vbr

  • Red Traffic Light for Datasources Delta Queues

    Hi all, Our R/3 source system is connected to our BW system. Between the two systems we operated standard logistics datasources delta queues, by filling the setup tables and performing an initial update. The datasources delta queues were created and

  • Export to Pdf Issue in IR

    Hi All, I am having issues with export to pdf in Hyperion IR. I am using the following code to export a report section to pdf: ActiveDocument.Sections["R-Pdf_Report"].Export("C:\\Temp\\Report.pdf",bqExportFormatPDF) It exports the report to pdf but t

  • Reflection on Graphics2D

    I want to draw antialiasing graphics, but I am using Java 1.1 compiler. The runtime Java should be 1.4 or above. I would like to use Graphics2D, but it starts from 1.2. I was told to use reflection to do this, but I am new to it. Can anyone provide a