URL link with Flash

Hi,
I wanted to create a button in Flash (invisible button) that
is linked to a URL, but I want to be able to change the URL anytime
I want. I've try using xml but somehow it's not working..Is there
other way to do this?
Thanks

put .swf and .xml in the some folder.
you XML code is:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<root>
<goHere url="http%3A%2F%2Fwww%2Eyahoo%2Ecom%2F">
</root>
http%3A%2F%2Fwww%2Eyahoo%2Ecom%2F is actually
http://www.yahoo.com/. Why look more about
escape and
unescape.
AS code is sth like this:
stop();
var urlAdress:String = new String();
var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function(success:Boolean) {
if (success) {
urlAdress = myXML.firstChild.firstChild.attributes["url"];
urlAdress = unescape(urlAdress);
gotoAndStop(_root._currentframe+1);
} else {
error_txt.text = "missing .xml file";
myXML.load("myXML path");
your url adress mus be in
urlAdress

Similar Messages

  • URL link with target _blank

    Is it true that is not possible to insert in wiki pages a link to an external page with target set to "_blank" (new page)? If possible, how to do this?

    adobe1kenobe066 wrote:
    Site with the SWF with the link with target="_blank":
    http://solarinkgraphics.com/web.htm          • clicking on the IMAGE or the "ENLARGE" link should take you to a target="blank" url
    Site it should go to:
    http://thehoneymoonphase.com
    First off that first link to the graphics site does not work.  Getting a page not found error.  Although I was able to do a quick lucky guess and added an "l" to the end of the address and it worked.
    Second, because the link is embedded within a Flash document, your problem will lie within the ActionScript code as opposed to the HTML.  Thus you would be better off posting this in the Flash forum with your ActionScript code to get better troubleshooting responses.
    http://forums.adobe.com/community/flash

  • Url link with target="_blank" hangs in Internet Explorer 7 BUT works fine in IE6, FF, Safari?

    Okay, so I have a SWF embedded on a page, which has a link to a target="_blank" url, and it works in every other browser, INCLUDING the notorious ie6, but NOT in IE7?
    IE7 just opens a blank page (without the address in the address field) and displays 'connecting...' and stays there forever.
    • I even manually typed in the adress of the site I'm trying to access with the link, and the page opened just fine in IE7.
    But when I click on the link from the SWF, it hangs again and doesn't open. I manually typed in both addresses with and without the 'www' (i.e. http://somewebsite.com and http://www.somewebsite.com) and both opened in IE7.
    But the link from the SWF ONLY opens a blank page with the 'connecting...' and stays there forever.
    • I feel like it was working previously, but I could be wrong. Besides that, it is working in ie6, of all things. So I don't get it?
    • This also happens with other website that have a link with target="_blank" in IE7, so it's not only my site.
    As always any leads are greatly appreciated.
    Site with the SWF with the link with target="_blank":
    http://solarinkgraphics.com/web.htm          • clicking on the IMAGE or the "ENLARGE" link should take you to a target="blank" url
    Site it should go to:
    http://thehoneymoonphase.com

    adobe1kenobe066 wrote:
    Site with the SWF with the link with target="_blank":
    http://solarinkgraphics.com/web.htm          • clicking on the IMAGE or the "ENLARGE" link should take you to a target="blank" url
    Site it should go to:
    http://thehoneymoonphase.com
    First off that first link to the graphics site does not work.  Getting a page not found error.  Although I was able to do a quick lucky guess and added an "l" to the end of the address and it worked.
    Second, because the link is embedded within a Flash document, your problem will lie within the ActionScript code as opposed to the HTML.  Thus you would be better off posting this in the Flash forum with your ActionScript code to get better troubleshooting responses.
    http://forums.adobe.com/community/flash

  • Url link in flash page flip book

    I am very inexperienced at what I am trying to accomplish.
    I have created a flip book in flash. On a page in the book I made a button that is a link to an external url. When I place the the swift file of that page on my webstie, the link works. I have made a link from my homepage to the flipbook. But when I open the flip book the url link does not work.
    Does anyone out there know what's wrong?
    thanks

    If the flip page the swf is in has interactive code asigned to it, such as whatever you use to flip the page, it could be blocking access to any clickable objects in the swf file.

  • Simple question: calling URL link with WEB.SHOW_DOCUMENT is not working

    Hi folks,
    this should be an easy question, but I have no idea why it's not working :-(.
    In one of my form, I would like to place an URL link behing button.
    For this purpose I'm using below code:
       WEB.SHOW_DOCUMENT('http://www.google.com','_blank');But when above code is executed, nothing happens :-(.
    Could it be because I'm using it within modal type of window?
    Thanks,
    Tomas
    I'm using Oracle Forms 10g

    have you checked with using self instead of blank to see if it will replace your current page with the one you are tyring to call?
    Have you got any other firefox plugins running such as Ad block? can you try disabaling all addons and even the internal pop-up blocker jus to see if this will work?
    if self works but blank does not how about having the main app called from a multi frame page. one frame with the app in and the other frame with some javascript that can be called to open a new window? dont know if that will work and its late so probably not thought it thorugh fully :)

  • Question regarding GO URL link with &Action=Navigate in OBIEE 11g

    Hello All,
    Actually I am working with the GO URL Links in OBIEE 11g.When I am trying to use the link as
    &Action=Navigate&p0=3&p1=bet&p2="Time%20Periods".Date&p3=2+ '01/01/2011'+'01/31/2011'
    The data is not getting filtered.It is giving me all the data which I don't need also..Is this a bug or am I doing any mistakes..Please let me know..

    Actually I have a few parameters or filters and I am using those filters in the GO URL Link but that filters when I am applying in
    &Action=Extract it is working properly.But When I am trying the same with &Action=Navigae it is not gining me the results what I want..

  • Linking with Flash?

    I've been tinkering with a XML Flash webste for some time (flash newbie)  and while I managed to set everything up correctly, I do not know how to make text within a read more page link to the same page used by a contact navigation button.
    The code used for buttons (specifically the contact button) is as follows:
    onClipEvent (load)
        num = 4;
        this.hitArea = this.area;
        link_num = _root.getMenuSystemOrder(num - 1);
        this.title1.gotoAndStop(num);
        this.title2.gotoAndStop(num);
        this.title3.gotoAndStop(num);
        this.title4.gotoAndStop(num);
    on (rollOver)
        if (_root.link != link_num)
            this.gotoAndPlay("s1");
        } // end if
    on (releaseOutside, rollOut)
        if (_root.link != link_num)
            this.gotoAndPlay("s2");
        } // end if
    on (release)
        if (_root.link != link_num && _root.animation == 1)
            _root.animation = 0;
            _root.link_prev = _root.link;
            if (_root.link_prev < _root.pagesReadMoreFrame)
                _parent["item" + _root.getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            } // end if
            _root.menu2["item" + _root.getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            _root.link = link_num;
            _root.play();
        } // end if
    As listed in the xml file, this is the contact button menu (with the page containing the text named contacts)
    <!-- menu -->
    <section name="menu">
    <link systemOrder="4">
    <![CDATA[
    <p align="center">contact</p>
    ]]></link>
    </section>
    I was told to use the following code, <a href="asfunction:_root.catchlink,contact,">contact us</a>, but alas, it did not work.
    Any help would be greatly appreciated.

    I included portions of my xml and flash code because they were requested of me on other forums. I thought it might have helped; guess not.   Anyway, since I wasn't able to articulate my question properly, here is an example of what I would like to achieve:
    http://activeden.net/item/xml-portfolio-template-v4/full_screen_preview/37738
    Click on "About".
    Within the text box, click on "view our projects".
    This hyper link directs you to the same page linked from "Projects" (found on the red menu)
    How can I achieve that result? I'm pretty sure I need to use asfunction, but being new to flash, I'm unable to come up with a command.

  • How to create an external url link with my pdf in acrobat pro

    I have no pb with adobe non pro to create an external web link which is connected to my pdf ( but internal link inside my pdf doesn't work ! ) , but I can't find in adobe pro, and further more I need  to have inside my pdf  another link  which must be connected to a web site
    Is there anyone to help a french guy ? Thanks to you

    Hi jeromemonange,
    Here is some information about creating hyperlinks in a PDF, both to external sources, such as a website, or to another page within the PDF: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7cb7.w .html
    Please let us know how it goes.
    Best,
    Sar

  • Url/link with an anchor

    Hallo,
    I have too pages.
    page 1 has a link to page 2 - page 2 has a lof of html text.
    I wan't to jump from page 1 to a spezial html point to page 2.
    I don't no the word in english - in german it ist an anchor.
    here my code:
    page 1 - region source:
    Information WCA
    page2 - region source:
    ......... a lot of html code.....
    <a name="wca">Work center Assignment</a>
    ......... a lot of html code.....
    the link ist ok but I don't jump to the "wca" point.
    does anybody now if it is possible to jump to "wca"?
    thanks a lot
    szcepak

    Sczepak,
    This can be done just like with any HTML document.
    First, you need to create the anchor in your document. This will be where the user ends up when clicking on the link. The syntax for this is:
    <a name ="anchor_name">Your Text</a>Once you have your anchor in place, you can then create a link that will bring you to it. Use the following syntax:
    <a href="#anchor_name">Click Me</a>That should do it.
    Thanks,
    &#150; Scott &#150;
    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • Why can't I send URL link with iCloud mail?

    .mac mail allows user to send a link to a webpage using shift,command--why can't icloud mail?

    I am using the mail app on my Macbook Pro with charter email.  I click the paperclip. Choose the document. It shows up in my email.  I click the paper airplane.  Wait.  Then get...
    "Cannot send message using charter.net.  Sending the message content to the server failed.Select a different outgoing mail server from the list below or try later to leave the message in your outbox until it can be sent."
    Connection Doctor is all green.
    Checked the SMPT server list and can't find a problem.
    All other emails go through just fine.
    I just upgraded to Mountain Lion and stay up date.
    I remember this happening when I first got my Mac a few years ago and quit using the mail app. because I couldn't solve it.  Now it is just driving me crazy. 

  • Issue with  creating URL links with variable

    Hi,
    I'm trying to create a drill down report. This is the link I got for my Detail Report, I took it from the SHARE REPORT LINK and I chose CURRENT PAGE:
    bidev:9704/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&bipPath=%2FTEST%2F00-TEST_REPORT.xdo&bipParams={"_xmode":"2"}
    I have a bind variable in my DATA MODEL called P_CREATED.
    How do I pass the a value so that when the reports open, it will used that variable.
    I found this on a blog: http://bipconsulting.blogspot.ca/2010/02/drill-down-to-detail-or-another-report.html
    But somehow, his link is pretty different from mine.
    Thanks

    From various blogs and forums, it seems that the address, coming from the 10g version and the 11g version, are different.
    Ex from 10g:
    1) http://knishida-lap.us.oracle.com:9704/bip/Data/Trend by Country/Trend by Country.xdo?_xpf=&_xpt=0&_xdo=%2FData%2FTrend%20by%20Country%2FTrend%20by%20Country.xdo&p_country=USA&_xt=Trend%20Chart&_xf=html&_xmode=0
    2) http://localhost:9704/xmlpserver/Country_Name/Country_Name.xdo?_xpf=&_xpt=0&_xdo=%2FCountry_Name%2FCountry_Name.xdo&P_COUNTRY_REGION=Asia_xt=Country_Name&_xf=html&_xmode=4
    And this is what I got from 11g:
    http://bidev:9704/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&bipPath=%2FTEST%2F00-TEST_REPORT.xdo&bipParams={"_xmode":"2"}

  • URL Link In Gnome Desktop

    Hello,
    If I drag an URL from the Firefox address bar to my personal desktop in Gnome an icon is created and I can latter access that site by clicking on it. But when I do that the browser that opens the page is Epiphany rather than Firefox as I expected to be.
    How can I change this behavior for the link being open with my favorite browser (in System/Preferences/Preferred Applications I have Firefox set as my default browser)?
    Thanks in advance for your help.

    Hi,
    I think that you need to do the possible development in the ECC backend system - not in Portal/UWL - since as far as I understood from your message, your workflow is in ECC.
    You could take a look into this recent thread:
    Empty URL Link with SAP_WAPI_ATTACHMENT_ADD
    I don't know if it will work in UWL. You could easily test it by adding and URL attachment to a work item in backend (in business workplace) and then see how it looks in UWL and does it work. If it works, you can find a solution in the above mentioned thread or perhaps you can ask further questions from the author of the thread.
    Regards,
    Karri

  • URL link in send e-mail pl/sql procedure

    I have a send e-mail procedure. I am trying to enclose in the body of the message a URL link with parameters from a form, but it is only taking part of it.
    for example http://my.link&pid='||pid||'&uid'||uid
    it only takes http://my.link
    What is the way to do it successfuly?
    Thanks,

    Thanks for your replies. I still did not get it to work. For example if I stick to your solution with :
    urlname := 'my.link?pid='||pid||'&uid='||uid;
    where should I stick the try this?
    I am using a variable called message.
    'message: ' 'click on the following link' ||CRLF || urlname
    This is is not working. Any clues? Thanks a lot. Jeanne

  • How do I add URL links in my chapters?

    I'm making an enhanced podcast, and I need to know how to create these URL links with in Final Cut Express HD.
    I think it has something to do with creating chapters.

    create two buttons, say urlBtn and replayBtn:
    replayBtn.addEventListener(MouseEvent.CLICK,replayF);
    urlBtn.addEventListener(MouseEvent.CLICK,urlF);
    function replayF(e:Event){
    flv.seek(0);  // where flv is your flvplayback component's instance name
    flv.play();
    function urlF(e:Event){
    navigateToURL(new URLRequest("http:www.adobe.com"));

  • URL link Attachment Limitation in Foreground

    Hi Experts,
    When i am attaching a URL link through Services of Object for a invoice document.
    The Complete URL link is not copied to the Address field. Only it is accepting 1000 character.
    My question is how to increase the URL length. Since my requirement is the URL link are having more that 1000 characters.
    Example :
    Tcode : MIR4 --- Invoice Document , year
    when i goto the services of Object ---> Create the Attachment
    It popup a dialog box which contain the Title and Address.
    In the Address we will copy the URL Link ,
    URL :  documentum\Docbases\dmbsip_prd_docbase\Hydrocarbon Supply Chain 
              Management\Integration\Application Documentation\WORKFLOW\SCC- 
              HSM-07-00011 (T & I Automation Workflow)\Misc. DPSR Documents
    when i try to copy this URL link in the Address Field , it is not taking the Full URL link.
    Venkat

    Hi,
    I think that you need to do the possible development in the ECC backend system - not in Portal/UWL - since as far as I understood from your message, your workflow is in ECC.
    You could take a look into this recent thread:
    Empty URL Link with SAP_WAPI_ATTACHMENT_ADD
    I don't know if it will work in UWL. You could easily test it by adding and URL attachment to a work item in backend (in business workplace) and then see how it looks in UWL and does it work. If it works, you can find a solution in the above mentioned thread or perhaps you can ask further questions from the author of the thread.
    Regards,
    Karri

Maybe you are looking for

  • Question about using multiple iPods on the same PC

    I've read the FAQs on this subject but I still have a couple of questions about multiple users with separate iPods using the same PC. I want to use my family's desktop (A new Gateway with Vista, if it matters) for my new iPod Classic, but my father a

  • Using multiple ipods on the same cpu

    my little brother & older sister just got new ipod videos and while i have an ipod photo i need to know if any1 can tell me how to set it up so i can use multiple ipods on the same (windows) computer without creating multiple user accounts if its eve

  • Change apple id contact email

    how can i change apple id contact email address? thank you

  • TV shows come on line...when?

    I missed the season finale of 24! How long after the show was originally broadcast must I wait until it's available on iTunes Music Store?! PS- Don't tell me how it ends!

  • Problem transport requests remain in queue

    Hello I have problem as transport requests remain in queue of QAS and does not advance in approwal list. Problem began  after /usr/sap/trans was full Now trnasport are imported correcly but remain in queue of QAS and does not advance in approwal list