Get URL from embedded Flash AS3 movie

I have a thumbnail scroller app built with AS3 on my website
homepage. I have the class files but would like to know of any
quick workaround to make the embedded Flash movie clickable without
reworking the AS3 files. What I would like to do is if you click on
a thmbnail or anywhere in the movie, the "portfolio" page loads. I
asume this would use javascript? Any help is greatly appreciated.
Thank you.

I notice that when I click on the thumbnails in the browser,
a "0" appears on top of each thumb. When i test in Flash preview
clicking on an image generates:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL
Not Found.

Similar Messages

  • Get URL from which Flash was downloaded into browser

    Hello buddies,
    Is there any API in ActionScript to identify the URL from
    which Flash was downloaded into browser?
    Thanks

    example (
    http://www.flashkit.com/tutorials/Actionscripting/Basic/Easy_to_-Tiran_Da-674/index.php):

  •  Why would certain users not be able to open a mail to url from a Flash swf on my website?

     Why would certain users not be able to open a mail to url from a Flash swf on my website?

    1. Because they're using Android or iOS and can't see the Flash container.
    2. Because they have Flash Player, but NOT Shockwave, which works for Interactive content like games and links in Flash containers.
    3. ActiveX controls are blocking Flash content in IE.
    4. Any of about a dozen other things.
    As a web desginer since 2003, I can tell you that these days, it's a terrible idea to have Flash content in a website (outside of games that require it). Video should be HTML5. Navigation, content and other links should be HTML, CSS and/or Javascript ONLY, because placing them in a Flash container makes them invisible to literally half of your viewers or more, since SmartPhones can't and don't see Flash, and tablets don't either without special browsers, which may or may not work with embedded links.

  • Why can't i get sound from some of my movies when i'm watching it on my macbook pro, but it works on my iMac?

    why can't i get sound from some of my movies when i'm watching it on my macbook pro, but it works on my iMac?

    I need the exact model number, not just the series. 
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Is it possbile to get URL from the browser address bar?

    Hi
    I'm in the process of creating a JITIR agent in java that takes in the url of the website that the user presently viewing.
    I don't want the user to have to copy or type in to my app the websites URL. Is it possbile to get this from the process e.g. The browser address bar, or the HTTP:// request sent by the browser.
    Any thoughts gratefully recieved.
    Phil

    I'm in the process of creating a JITIR agent in javawhat's this?
    robert

  • Sql item - get url from page

    Hi I'm trying to display a menu from a table, and then I want to mark the current page in that menu by reading the url of the current page.
    This is what i've got so far:
    DECLARE
    loc Varchar2(40);
    BEGIN
    loc := htp.script('document.url');
    htp.print('<table border=1>');
    for rec in (select id, name, parent_id, url from fgj_menu where parent_id=0) loop
       HTP.print ('<tr>');
       HTP.print ('<td><a href="' || rec.url || '">' || rec.name || '</a></td></tr>');
       for rec2 in (select id, name, parent_id, url from fgj_menu where parent_id = rec.id) loop
    if rec2.url = loc then
       HTP.print ('<tr>');
       HTP.print ('<td>  >> <a href="' || rec2.url || '">' || rec2.name || '</a></td></tr>');
    else
       HTP.print ('<tr>');
       HTP.print ('<td>    <a href="' || rec2.url || '">' || rec2.name || '</a></td></tr>');
    end if;
    end loop;
    END LOOP;
    htp.print('</table>');
    END;fails on 4th line :
    loc := htp.script('document.url');Any suggestions?
    Message was edited (format edits) by:
    Botzy

    Hi Botzy
    You can put your javascript code in an HTML portlet, but I prefer to put a page under htdocs, it's much easier to develop, and then use an url item that displays the url directly in the page.
    About the code :
    var xhr_object = null;
    if(window.XMLHttpRequest) // Firefox
         xhr_object = new XMLHttpRequest();
    else if(window.ActiveXObject) // IE
         xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
    xhr_object.open("POST", "/portal/pls/portal/my_schema.my_proc", true);
    xhr_object.onreadystatechange = function()
    if(xhr_object.readyState == 4) alert(xhr_object.responseText);
    xhr_object.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xhr_object.send('p_param1=value1&p_param2=value2');
    That's really simple to use, you just have to change the name of your proc and its parameters, and you'll get what it "htp.prints". Be sure to grant exec to public on you proc.
    By the way, I've just imagined an even more simple solution :
    - do not pass any param to your procedure. Let it just write always the same code whatever the page it is on
    - identify each entry of your menu with a javascript id, for instance
    <table>
    <tr><td id="url1">page 1</td></tr>
    <tr><td id="url2">page 2</td></tr>
    etc...
    Then use a small javascript code at the end of your page with something lie this :
    document.getElementById(document.location.href).style = a different color
    or
    document.getElementById(document.location.href).innerHTML = something different
    or whatever you want.

  • Get Url from all tabs

    Hello,
    I feel like this is something simple but I cannot write a correct script to do it.
    How would I write a script that just gets the urls of all tabs in safari?
    then if one exists, it selects that tab to be opened.

    Would It be easier that instead of telling safari to open that tab if it exists, to set the beginning part of my script that gets info from safari to get info from all tabs, for a specific tab only?
    I don't understand your goals to be able to tell you what you want. Given what you've said in earlier posts it sounded like you wanted to see if a particular URL was present in any tab and if so activate it. That doesn't seem to be the case any more. You'll need to more clearly explain what you're trying to do in order to progress.
    I purchased a book http://apress.com/book/view/1430223618 which I am going to use to better help me make applescripts as well as cocoa-applescript applications in xcode. Do you think this book will be able to help, or is there another I should look at?
    That book, like most others, covers a lot of the theory behind AppleScript - the concepts behind AppleScripts/Apple Events, and things like handlers, process flow, etc.
    It will not tell you how to do what you want, because what you want is something very specific - unique, even. What it might do is give you the fundamental building blocks to work out how to build your script to do what you want. For example, I've shown you some examples of how to find out what tabs are present, how to activate a tab, how to switch windows, etc. The book might do the same thing (albeit spread throughout several chapters). It's a matter of putting that together in a way that achieves your goal.

  • Get Url from a text box

    Hello,
    I have read a couple posts in regards to the GEt URL function
    but couldn't find what I'm looking for.
    Trusting someone can help.
    Here are two reference files
    1- Main swf that loads the movie clip
    with the links
    Swf
    that displays the links I'm opening in a new window
    I'm able to open the url on a new window but couldn't find a
    way to control the height of this window. Please note that the
    links are all inside a text box. They are not separate buttons they
    are just text hiperlinks.
    Please let me know if any of you knows how to control the new
    _blank window height.
    Thanks
    Fe

    Hi. You should consider posting this to either the iPhone forum or the Developer forum. This forum is for discussing the Unix subsystem of OS X...

  • Get URL from HTMLImg

    Hello,
    How do I get the URL from HTMLImg? I get the HTMLImg object from
    GetImageForResultFromSource
    I am using C# in 5.0.4
    Thank you.

    not with Java ... and only if IE actually provides an API that lets you get it. And only if you can get a reference to the IE process.
    It's really more an IE question, not Java.

  • Get URL from within a Ejb-Container

    Hi all,
    I try to realize a WD-Application with Hibernate ORM. Now it seems , that from within the Ejb the hibnerate.cfg.xml couldn't be found.
    No I try to read the URL from hibernate.cfg.xml. There I did some test with the getResource()-Function. At least I managed to get a URL from a zip-archive, but I'm not able to found the URL from something inside the archive, <b>and my configuration is in an archive!!!</b>
    See the following tests:
      URL myurl11 = cl.getClass().getResource("/"); //works
      URL myurl12 = cl.getResource("/"); //works not! (without getClass())
      URL myurl2 = cl.getClass().getResource("/version.txt"); //works
      URL myurl3 = cl.getClass().getResource("version.txt");//works not (relativ)
      URL myurl4 = cl.getClass().getResource("/apps/sap.com/dc~oracle~ear/src/java/src.zip");//works
      URL myurl5 = cl.getClass().getResource("/apps/sap.com/dc/oracle/ear/src/java/src.zip");//works not
      URL myurl6 = cl.getClass().getResource("/apps/sap.com/dc~oracle~ear/src/java/src.zip/de/pa/ejb/systeme/SystemeDao.java");//works not
      URL myurl7 = cl.getClass().getResource("/apps/sap.com/dc~oracle~ear/src/java/src.zip/de.pa.ejb.systeme/SystemeDao.java");//works not
      URL myurl8 = cl.getClass().getResource("/apps/sap.com/dc~oracle~ear/src/java/src.zip/de.pa.ejb.systeme.SystemeDao.java");//works not 
    As you can see with "myurl14" it works for a zip-file but not futher. How can I get Into an archive? Or even adress things relative?
    Can anybody help me?
    Thanks
    Richard

    Hi Joe,
    Thanks a lot for ur reply,
    But the LD_LIBRARY PATH is set to the user that runs the App Server, Since it is throwing a UnsatisfiedLinkError, there must be a problem with the link only(i.e calling native method).
    The flow of data is as follows
    1 A method from ejb calls another java method in an other java class which is in the same jar file,passing the actual arguments.
    2 That java method calls the Native methos residing in the same class file
    3 The Native mentod calls a c function as usual
    My ejb is working fine up to the Native Method call, at this point it is throwing an error
    All my java files are in a package, and my .h file contains package name in the prototype of c function
    If you get any ideas please mail me ASAP
    ThanQ
    Kiran

  • Create a toc from adobe flash as3?

    hi guys
    i wante to create a completely toc in adobe flash as3? is there any way to do this?
    for example i want to create a toc file with full size logo (photo form toc information)
    or change duration location with slide title
    i want also another questiion about sdk folder in adobe captivate, i found some swc file in this folder, but i want documetion to use this swf file in custome development,
    thank

    Hi
    Please elaborate a bit more as you want users to download pdf from your site or print site page as pdf etc
    If its regarding documents then you can add add df documents in your site and then link them to pages where users can download the pdf, if you are referring to print page then you can provide information for ctrl+p/cmd+p , or add html code for print shortcut.
    https://forums.adobe.com/message/6319543
    Thanks,
    Sanjit

  • How to get urls from urls.

    to be exact, how do i get automator to search urls from current webpage, and then search urls again from those urls i got from my current webpage.
    Thanks in advance!

    Try this;
    * http://techdows.com/2011/09/show-http-in-firefox-7-address-bar.html

  • Get URL from Mail message to Safari

    I want to be able to email myself at home from work with a URL in the body of the message. I want a Mail rule and Automator (or applescript if necessary) to take that URL from the message body and send it to Safari which will go to the URL. The URL can be either a web page or downloadable file.
    Quad G5   Mac OS X (10.4.7)   4.5GB RAM

    Shoot! I wrote this huge reply and then quit Safari by accident. I'm too tired to type it all over again (I should install a keylogger).
    Anyway, check out the screen shot of my workflow. the AppleScript section is where it xfers the URL from a text editor (BBEdit) to Safari. It's pretty dirty but it works.
    http://www.jameskocsis.com/urlworkflow.jpg
    post antother reply if you need more data on this process.
    Good luck.
    -James

  • Opening maximized window from embedded flash movie

    Hi!
    I need your help!
    I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
    How can I achieve this?
    thank you!

    use the javascript window.open method to open your popup and set the page dimensions.
    you can use getURL or navigateToURL() to execute a javascript function or better use the externalinterface class to call a javascript function in your embedding html file.

  • Opening default Browser from embedded Flash

    The Situation is this:
    I have a running flash application myapp.swf (Actionscript
    2), which runs on a server and requires a parameter (
    http://myserver.com/myapp.swf?myparam=value).
    I now want to create an AIR Wrapper for this application. So
    I embed the above URL in a html-based AIR Project using the embed
    tag. When I launch my new AIR Project the application is displayed,
    but when I click on a link within the flash application a new AIR
    window opens, displaying the respective Webpage.
    But it should instead open a new tab or window in the default
    Browser of the respective operating system.
    I have tried the following without success:
    - Attempt to create a flash-based AIR Application. The
    application did not work properly since the swf file is on a server
    and not within the AIR Appplication. If I download the swf-file and
    put it in this directory I can't pass it the required parameter
    - Trying to open a default Browser window like this:
    http://snipplr.com/view/4442/adobe-air-open-new-url-with-sandbox-bridge.
    I belive this only works with a flash-based AIR Application too
    The best solution for me would be, if I could solve the
    problem without having to alter the flash part. But, if neccessary
    changing the flash part would also be an option.
    I really would appreciate any comments / suggestions on this
    matter

    I should probably add, that I am not a very experienced AIR
    Developer.
    quote:
    So lets get this straight, you now have the content
    embedded/loaded within a HTMLLOADER, right?
    Probably not... I have a Html based project. Meaning that I
    refer to an initial html file from my application.xml. In this html
    File I embed the mentioned flash application using the following
    line:
    < embed height="100%" width="100%" src="
    http://myserver.com/myapp.swf?myparam=value"
    />
    Could I use HTMLLoader in a HTML-based AIR app?
    quote:
    And when the AIR APPLICATION is launched, you would want the
    links that are embedded within the HTMLLOADER to open up in a
    browser?
    This is correct, but it should open up the default Browser
    like IE or Firefox but not a new AIR window.
    quote:
    Are you using: navigateToURL(new URLRequest("
    http://" + url), "_blank");
    I am not using navigateToURL since the flash application I am
    working with "does not know" that it is wrapped by an AIR
    application. Therefore, it opens new URLs the way it is normally
    done in a flash stand-alone application.
    As I see it AIR recognises that a link is being called and
    opens a new, AIR window instance.
    I have seen the article about Windows Vista before, but I
    would think that it is not directly related to my problem, since I
    do not have to problem whether links are being opened in, for
    example, Firefox or Internet Explorer but links are opened in a
    build-in AIR Window.
    I hope shed some light on the problem I am having...

Maybe you are looking for

  • Keep getting error message itunes wont sync with iphone...help anyone

    keep getting error message...iphone wont sync with itunes..help anyone

  • IPhone 3G and Outlook 2007 sync Vista x64

    Hi, I pre-ordered two iPhone 3G a week ago (still not received them) and then went online to read user opinions about it. and, honestly, the scared me. First, battery life. I'm Samsung SCH-i760 (Verizon) smartphone user and I'm pretty happy with it.

  • VAT amount

    Dear All, my client using TAXINN. tax code: V1 Vat-3%, condition records maintained. In PO- item level-Invoice tab-Taxes-VAT 3 % is showing in Amount field. but in filed Condition value is showing Zero for Vat 3%. e.g base price= Rs. 300 VAT 3% = 9 i

  • App 200 error

    Hi, My colleague has a Torch which, upon powering on, gives him an App 200 error then a white screen. I have tried the resolution posted here http://supportforums.blackberry.com/t5/BlackBerry-World/App-Error-200/td-p/1376105  but this doesnt work, as

  • Number of times the record to be printed in Oracle reports

    I have a requirement to print each record in specified number of times based on one of the field of the record. For Ex: Each record has the following fields and I need to print each record based on Quantity Cust PO Number Item Number Quantity PO1234