Help Finding Link URL in Nested SWFs

Hello,
I have a "wrapper swf" that loads a remote flash player that in turn loads video preroll ads from various advertisers.
So my wrapper is the parent and the remote swf is a child and the video ad is a grandchild.
I am looking to capture the url that the grandchild will navigate to when clicked.
I am trying to trace it in the parent (wrapper) mouseUP and mouseDOwn event.
Is there a way to traverse ALL children until I get to the "bottom/last loaded" swf and get the URL?
I wish to save the url to a variable so I can launch the url in another player of my own as opposed to having it launch an external IE browser.
Thanks a million for any help!.

and that puts you back to the start of the issues i brought up before.  unless you have some specific knowledge of what's going on in those loaded swfs, you're not likely to find a solution.
if, however, you know all the swfs are loaded using loader class instances AND added to the display list directly (as opposed to adding a loader's content), you can use something like:
var lastURL:String;
lastLoadedURLF(MovieClip(root));
function lastLoadedURLF(mc:MovieClip):void{
    for(var i:int=0;i<mc.numChildren;i++){
        if(mc.getChildAt(i) is MovieClip){
            lastLoadedF(MovieClip(mc.getChildAt(i)));
        } else if(mc.getChildAt(i) is Loader){
            if(Loader(mc.getChildAt(i)).content){
                if(Loader(mc.getChildAt(i)).content is MovieClip){
                    lastURL = Loader(mc.getChildAt(i)).contentLoaderInfo.url;
                    lastLoadedURLF(MovieClip(mc.getChildAt(i)).content));

Similar Messages

  • Need some help embedding a url into a swf file

    Hi all
    Thanks to help I have received here, I am almost done with my add banner. I need the banner to link to a url.
    The entire banner needs to be a clickable link for  the duration of the animation. So anyone can click on the banner at any point during the animation, and be brought to my site. I tried putting a frame at the end with getURL("http://www.mybsite", "_blank"); but that doesnt work. When I do that, the banner is not a clickable link, but the site opens automatically  after the animation has played. Cant have that. So after doing some research, the apparent correct way to do this is by making a button, but I do that and the button obsures everything else.
    Any ideas on what I should do?
    Thanks in advance.

    if nothing else is clickable, attached to your main timeline:
    this.onRelease=function(){
    getURL(whatever,"_blank");

  • Need  help finding link to install Lion 10.7 so I can upgrade to iCloud

    Trying to upgrade from 10.6.8 to Lion so I can upgrade to iCloud.  I had help with it earlier but had to do other installations.  Now the links won't come back and all I can find in the App store is Mtn Lion!!!

    Click on the App Store icon in the Dock:
    When you open the App Store, click on the "Featured" tab at the top of the page. Lion is at the top of the "Top Paid" list:
    Or type, "Lion" into the Search field and it will be the first choice in the results:
    If you saw Mountain Lion, you weren't in the App Store. Likely, just the Apple Website.
    Now, it doesn't make much sense to pay for Lion, now, and then have to pay for Mountain Lion in July. If you don't think you'll be upgrading to Mountain Lion when it is released, then buying Lion, now, may be reasonable.

  • Need Help, Finding a site for uploading swf files

    [moved from AS3 forum by moderator -  is not an AS3 discussion]
    Alright, so I'm kind of new to these forums. I searched them thoroughly several times, but couldn't a find a section for what I exactly needed. I used an older version of Flash and actionscript to make some interactive games and then exported them.
    I've found plenty of sites that allow uploading of a variety of files, including flash based ones. The problem is that these sites are either for storage, downloading the file onto one's computer, or that they would have to go to a specific link to play the game.
    What I want is to be able to place a file onto an uploading site and be able to embed it (I think that's the word) to my own site/forums. That way the game can be played on a site and or discussion forum, without members having to go to another site or downloading the game.
    What file uploading site would you recommend for this? I've already tried several, but they don't allow embedding files. I would prefer for the site to be free, as I don't have enough files to make it worth paying a monthly fee.
    Thanks in advance for any replies/information!

    Yes, why not upload it to your own website. Most of sites are not support swf file, but support flv file. To upload swf to your website you can use the code like
    <object width="300" height="300">
    <param name="movie" value="flashmovie.swf">
    <embed src="flashmovie.swf" width="300" height="300">
    </embed>
    </object>
    If you really need to upload swf to other websites, I think you need to convert your video but that will not a game.  But maybe you can try to find some flash game websites.

  • How to find out URL of Masthead Help Link

    Hi Experts,
    I am working for a support project. Implementation team has long back left the project. I have to change the 'Help' link URL of Masthead area. There are three links in Masthead - Logoff, Personalize and Help.
    At present when we are clicking on 'Help' link of  Masthead, user is routed following website:
    https://www.xyz.com.
    In the new scenarion, when the user will click on 'Help' link of  Masthead, user should be routed following website:
    https://www.abc.com.
    I can see the following property of Masthead iView:
    Show Link in Masthead: Help
    I am unable to find out where the URL has been stored.
    Can you please let me know. Is it in UME or any other place? If yes, where excatly in UME.
    I searched a lot in the code. I got the file (com.sap.portal.navigation.masthead) from server. After that I imported it in NWDS. I searched a lot in various places of NWDS. I can not see the URL.
    It seems that javascript:openHelp is helping in getting URL. If yes, how?
    <TD nowrap >
    <!--<hbj:link id="HelpLink" tooltip="<%=helpTooltipStr%>" linkDesign="FUNCTION" reference="javascript:openHelp();"><hbj:textView nested="true" text="<%=helpTextStr%>"/></hbj:link> --><hbj:link id="HelpLink" tooltip="<%=helpTooltipStr%>"
         linkDesign="FUNCTION" reference="#">
                                          <% if (!isPreview) { HelpLink.setOnClientClick("javascript:openHelp();");} %>
                                          <hbj:textView nested="true" text="<%=helpTextStr%>"/>
                                        </hbj:link>                                             
    </TD>
    <TD nowrap>
    Please help.
    Regards,
    Gary

    Hi Sushil,
    It seems that I don't have the correct masthead  par file. I have got the masthead file from BASIS. It is com.sap.portal.navigation.masthead
    The existing masthead par file has following setting in portalapp.xml
    <property name="HelpUrl" value="http://help.sap.com/content/documentation/netweaver/docu_nw_04s.htm">
              <property name="plainDescription" value="Help Link URL"/>
              <property name="category" value="Navigation"/>
            </property>
            <property name="ShowLogInLogOffLink" value="true">
              <property name="validvalues" value="4/true5/false"/>
              <property name="plainDescription" value="Show Link in Masthead: Log In / Log Off"/>
              <property name="longDescription" value="Show or hide the 'Log In' / Log Off' link displayed in the masthead iView at runtime."/>
              <property name="category" value="Navigation"/>
            </property>
            <property name="HelpUrl" value="http://help.sap.com/nw04 ">
              <property name="plainDescription" value="Help Link URL"/>
              <property name="category" value="Navigation"/>
            </property>
    This does not contain link https://www.xyz.com
    Does this mean that the mathead par I am having is wrong.
    Please suggest.
    Regards,
    Gary

  • Please can any body help me out where can I find link to download  ALDSP2.5

    Hi All,
    Please can any body help me out where can I find link to download ALDSP2.5.
    I am trying since last couple of days as I am not able to find it. please some body help me out in this regard. I appriciate even if I get a link to download ALDSP3.0.
    thanks in advance.
    Please mail me the links at [email protected]
    rajen.
    Edited by: user13358281 on Jul 2, 2010 2:57 PM

    Hello Werner,
    Thanks for response, but I couldn't find the same.
    Still my search is going on. I dont know why oracle people made this that dificult, If I am not wrong I think earlier i could easily locate the previous version artifacts(softwares) easily. but now why they made that complicated.. no clues.
    any ways thanks once again.

  • Please help me in finding link to downlaod oracle BI discover

    Please help me in finding link to downlaod oracle BI discover
    i didnot find discover in obiee so where can find
    Thanks in Advance

    Hi,
    Discoverer is part of BI Standard Edition. You can down load BI from here. You need the 2 CDs for Discoverer Plus and Viewer and the Tools CD for Discoverer Admin and Desktop.
    You should also apply the patches to go to the latest version. The LearnDiscoverer blog has details of the latest patches.
    Rod West

  • HT1349 I need help finding an old library that itunes states my ipod is already linked to

    I need help finding an old library that it states my ipod is already linked to.  My computer recently had a terrible virus and needed to be wiped clean.  I had to redownload itunes and I bought several songs.  I want to add them to my old library because I had several cd's that I had uploaded.  Is there a way to find that old library and combine them without having to erase all the songs that are currently on my ipod???  Thanks

    Umm.  If you wiped the hard drive, then all old libraries are gone unless you have them on backup.

  • Where do I find the url link to my App on iTunes Store?

    newbie here, but where do I find this url address to link people to iTunes? Is it within iTunes Connect?
    Thanks

    You can just goolge the correct app link to Appstore like Adobe & DPS is https://itunes.apple.com/us/app/adobe-dps/id570783236?mt=8
    Or Login to your iTunes Connect and there is a link that takes you to your app on the appstore

  • How can I find the URL for an iCal calendar in iCloud so I can make a link to it on a web page.

    I have a single iCal calendar that I want people to access through my webpage.  How can I find the URL so that they can view the calendar without having to subscribe to it.  I converted to iCloud from .Mac and I can see that changes to this calendar are not showing up.

    Mmmh.. i see... I don't know wether it is possible for people just check calendars without subscribing to them... I have been sharing some calendars in my website (maybe you can have a look at it in order to check wether it could be a possible solution for you)
      http://web.me.com/andreabruschi/englishplanet/English_Courses.html
    Cheers
    Andrea

  • How to find broken url from custom 404 page?

    I have created a custom 404 jsp page and updated the web deployment descriptor with the code:
         <error-page>
            <error-code>404</error-code>
            <location>/jsp/custom-404.jsp</location>
         </error-page>Whenever I enter an invalid url or click on broken link (target does not exist), a 404 HTTP response arises and the custom-404.jsp is rendered. So far so good.
    Within the custom-404.jsp, I would like to know the original url (invalid link or broken link) so that I can send the administrator an email with the url details.But, I could not find any API to find this url?
    Can someone help here please?
    Thanks

    My bet is that it is available as referrer inside the error page in case of a redirect, or as Request URI in case of a forward.
    String referrer = httpServletRequest.getHeader("referer"); // Yes, with the legendary misspelling in it.
    // or
    String requestURI = httpServletRequest.getRequestURI();

  • Action link URL calling from another screen from the same web server not work

    Hi there,
    I have an action link URL calling from another screen from the same web server, used the following syntax:
    /analytics/saw.dll?Go&path=.....
    But it is not working, when open the page, it shows error message
              Oops! Google Chrome could not find analytics
    Any help? Thanks!
    Ling

    That's a +1 from me... same issue and yes, isn't inelegant or a shortcoming for some might be the cause of boldness as they rip their hair off their head so thanks in advance for keeping the refinement of the magic potions making the EA secret magic sauce... which may help stop hairloss
    Cheers!
    tfbkny

  • Is there a problem with ending a URL with somefile.swf?

    I have a swf button that launches a new window (ex: http://domain.com/index.html) with the javascript:new.window method. I am finding that sometimes (1 or 2 times out of every 5 clicks) the window is nothing but blank white. I have found, by mistake, that if the javascript:new.window launches directly to (http://domain.com/somefile.swf) then it works everytime.
    I think the problem with the blank browser window might be related to slower Internet connections. I can't seem to find anyone else with the blank browser window issue, so I'm wondering what side effects or problems might arise by using the swf as that url instead of an html file that runs the swf.
    Flash player detection?
    Could a browser decide to download the file (for saving) instead or running it?

    I can't quite say what the issue with your swf not loading in the html is. It almost sounds more like an issue of the swf not loading.
    If the user has Flash Player installed on their machine (which they should if they are getting your original button) then you probably don't have to worry about the browser trying to download the swf - its probably not going to.
    What you might want to be more concerned about is window resizing.  If the user can resize the window from the specified size in your js (if you have any) than Flash Player will resize. If the user extends the window beyond the height OR the width, then anything on stage but out side of the fla stage bounds will be visible. You can constrain the size in your js, and set resize = no.
    But mainly, youre perfectly fine linking directly to the swf if that is all you need.

  • How to view (or print) all the links (URL's) of a webpage?

    Years ago, when I was a Windows user, I recall my browser (IE or Firefox, can't recall which) having an option where I could print *all* the weblinks (URL's) at the end of the article.  I don't see this option anywhere in Safari.
    I'd not only like to print them, but even more-so, to *view* the URL's, so I can copy/paste them into a TextEdit file.
    Are any of these features possible in Safari 7.0.6 ?
    Thanks!

    Don't know much about SOA Composer (sorry - you've hit the BPM forum), but you should be able to see the business rules from the Oracle BPM Composer. If you've installed BPM, go to http://xx:####/bpm/composer and you'll see business rules after poking around a little. Let me know if you need more help finding them.
    Dan

  • How to add anchor tag dynamically on infopath (OOTB task form of workflow .xsn) by jquery -dynamically as i did by below script on newform.aspx where I will read Help title and URL value from list

    on newform.aspx just above the top of cancel button I want to put 1 hyperlink "Help"
    but I want to do this by script/jquery by reading my configuration list where 1 column is TITLE and other is- URL
    Configuration List has 2 columns Title and URLValue
    Title                                    UrlValue
    HelpNewPage                    
    http://url1
    HelpEditPage                      http://url2
    so script should read Title and display "Help"--->1st part on NewForm.aspx/EditForm
    Script should read UrlValue column and on click of help-(display link) the respective url should be open in new window.-->second part
    Please let me know reference code for adding anchor tag dynamically by reading from list
    Help/Reference 
    http://www.sharepointhillbilly.com/Lists/Posts/Post.aspx?ID=5
    I can see hyperlink near cancel button-
    //This block is just placing help link near cancel button- 
    $(document).ready(function() {
        GetHelpLinkFromConfigList();
    var HelpLinkhtml ='<a href="#" text="Help">Help</a>';
    var position =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
    var HelpLinkhtml ='<a href="#" text="Help" onclick="GetHelpLinkFromConfigList();">Help</a>'; 
    var position =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
    var HelpLinkimageButton ='<IMG SRC="../../Style Library/Help.bmp" style="width:35px;"/>'; 
    var position1 =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkimageButton );
    //Rest script
    function GetHelpLinkFromConfigList()
     //The Web Service method we are calling, to read list items we use 'GetListItems'
     var method = "GetListItems";
     //The display name of the list we are reading data from
     var list = "configurationList";
     //We need to identify the fields we want to return. In this instance, we want the Title,Value fields
     //from the Configuration List. You can see here that we are using the internal field names.
     var fieldsToRead = "<ViewFields>"+"<FieldRef Name='Title' />"+"<FieldRef Name='Value' />"+"</ViewFields>";
     //comment
     var query = "<Query>" +
                            "<Where>" +
                                "<Neq>" +
                                    "<FieldRef Name='Title'/><Value Type='Text'>Help</Value>"
    +
                                "</Neq>" +
                            "</Where>" +
                            "<OrderBy>" +
                                "<FieldRef Name='Title'/>" +
                            "</OrderBy>" +
                        "</Query>";
     $().SPServices(
     operation: method,
        async: false,
        listName: list,
        CAMLViewFields: fieldsToRead,
        CAMLQuery: query,
        completefunc: function (xData, Status) {
        $(xData.responseXML).SPFilterNode("z:row").each(function() {
        var displayname = ($(this).attr("ows_Title"));
        var UrlValue = ($(this).attr("ows_Value")).split(",")[0];
        AddRowToSharepointTable(displayname,UrlValue)
    function AddRowToSharepointTable(displayname,UrlValue)
        $("#NDRTable").append("<tr align='Middle'>" +
                                    "<td><a href='" +UrlValue+ "'>+displayname+</a></td>"
    +
                                   "</tr>");
    <table id="NDRTable"></table>
    sudhanshu sharma Do good and cast it into river :)

    Hi,
    From your description, you want to add a help link(read data from other list) into new form page.
    The following code for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    ExecuteOrDelayUntilScriptLoaded(AddHelpLink, "sp.js");
    function AddHelpLink() {
    var context = new SP.ClientContext.get_current();
    var list= context.get_web().get_lists().getByTitle("configurationList");
    var camlQuery= new SP.CamlQuery();
    camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Title'/><Value Type='Text'>Help</Value></Eq></Where></Query></View>");
    this.listItems = list.getItems(camlQuery);
    context.load(this.listItems,'Include(Title,URL)');
    context.executeQueryAsync(function(){
    var ListEnumerator = listItems.getEnumerator();
    while(ListEnumerator.moveNext())
    var currentItem = ListEnumerator.get_current();
    var title=currentItem.get_item("Title");
    var url=currentItem.get_item("URL").get_url();
    var HelpLinkhtml ='<a href="'+url+'">'+title+'</a>';
    $("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
    },function(sender,args){
    alert(args.get_message());
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Function Module Extraction from KONV Table taking lot of time for extractio

    Hi I have a requirement wherein i need to get records from KONV Table (Conditions (Transaction Data) ). i need the data corresponding to Application (KAPPL) = 'F'. For this i had written one function module but it is taking lot of time (@ 2.5 hrs) fo

  • SQL Server 2008 Analysis Services and OBI EE

    Hello, How to use the Multidimensional import functionality of the BI EE Administration against a cube stored in a SQL Server 2008 Analysis Services? Thanks, Paul

  • ITunes 8 - Visualizer/White Circles

    Just installed iTunes 8 and when I run the visualizer I'm seeing huge white circles floating around the visualizations where I guess something epic and awesome should be. I'm running 1gb of ram, Windows XP Pro SP3. Thanks!

  • My Imac does not recognize a TEAC CDW54E with Mac OS 10.2.8

    I have an iMac 333Mhz and a TEAC CDW54E external USB CD Burner. This burner works so good with Mac OS 9.2.1, but when I start my computer using Mac OS 10.2.8. the finder does not activate and recognize the CD burner. This burner needs that the finder

  • Nokia musicplayer not refreshing the music library

    I cant refresh music library in my 5233,refreshing just dont stop in music player and so no new tracks are added to it however all previous songs of music player are available in music player,new aaded tracks play well in file manager but they dont a