How to make one button change many links??

Hallo,
i am trying to make a button to change its url from an external folder.
Is that possible ?
Im trying :navigateToURL(new URLRequest("http://+"stoixeia/url_"+epilogi+".txt")+");
can someone help plz ?

this is my code without the button and the navigate code that works perfect
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;
var epilogi:int=1;
var sinolo;
var platos:int=98;
var ipsos:int=98;
var direct:int=0;
var arxikox:int;
var myTween:Tween;
stop();
var mTextLoader:URLLoader = new URLLoader();
mTextLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
mTextLoader.addEventListener(Event.COMPLETE, oLoaded);
mTextLoader.load(new URLRequest("stoixeia/no.txt"));
function oLoaded(e:Event):void {
    sinolo=int(e.target.data.sinol);
    platos=int(e.target.data.plat);
    ipsos=int(e.target.data.ips);
    nextFrame();
arxikox=afisa.x;
maska_eikonas.width=afisa.kadro_0.width=afisa.kadro_1.width=afisa.kadro_2.width=platos;
maska_eikonas.height=afisa.kadro_0.height=afisa.kadro_1.height=afisa.kadro_2.height=ipsos;
afisa.kadro_0.x=-1*platos;
afisa.kadro_1.x= 0*platos;
afisa.kadro_2.x= 1*platos;
var myUTextLoader:URLLoader = new URLLoader();
myUTextLoader.dataFormat =URLLoaderDataFormat.VARIABLES;
myUTextLoader.addEventListener(Event.COMPLETE,loadedU);
myUTextLoader.load(new URLRequest("stoixeia/url_"+epilogi+".txt"));
var a:Timer=new Timer(4000);
a.start();
a.addEventListener(TimerEvent.TIMER,pi);
loadimage (0,2);
loadimage (1,1);
loadimage (2,sinolo);
var myTextLoader:URLLoader = new URLLoader();
myTextLoader.addEventListener (Event.COMPLETE, onLoaded);
myTextLoader.load (new URLRequest("stoixeia/plirofories_"+epilogi+".txt"));
var m1TextLoader:URLLoader = new URLLoader();
m1TextLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
m1TextLoader.addEventListener (Event.COMPLETE, o1Loaded);
m1TextLoader.load (new URLRequest("stoixeia/timi_"+epilogi+".txt"));
function onLoaded (e:Event):void {
    this.keim.text = e.target.data;
function o1Loaded (e:Event):void {
    var r:int;
    titl0.text = e.target.data.titl;
function pi (e:Event):void {
    epilogi--;
    direct = -1;
    if (epilogi == 0) {
        epilogi = sinolo;
    kinisi ();
    myTextLoader.load (new URLRequest("stoixeia/plirofories_"+epilogi+".txt"));
    m1TextLoader.load (new URLRequest("stoixeia/timi_"+epilogi+".txt"));
function loadimage (pou:int,poio:int) {
    var loder = new Loader();
    loder.load (new URLRequest("stoixeia/img_"+poio+".jpg"));
    if (afisa["kadro_" + pou].numChildren == 2) {
        afisa["kadro_" + pou].removeChildAt(1);
    afisa["kadro_" + pou].addChild (loder);
    afisa["kadro_" + pou].width=platos;
    afisa["kadro_" + pou].height=ipsos;
function kinisi ():void {
    myTween= new Tween(afisa, "x", Elastic.easeOut, afisa.x, afisa.x+(direct*platos), 1, true);
    myTween.addEventListener (TweenEvent.MOTION_FINISH,paok);
function paok (e:TweenEvent):void {
    alaksetheseis ();
function alaksetheseis ():void {
    afisa.x = arxikox;
    var whatload = epilogi + direct;
    if (whatload == 0) {
        whatload = sinolo;
    if (whatload > sinolo) {
        whatload = 1;
    if (direct == 1) {
        if (afisa.kadro_0.x <= 0) {
            afisa.kadro_0.x += platos;
        else {
            afisa.kadro_0.x=-1*platos;
            loadimage (0,whatload );
        if (afisa.kadro_1.x<=0) {
            afisa.kadro_1.x+=platos;
        else {
            afisa.kadro_1.x=-1*platos;
            loadimage (1,whatload );
        if (afisa.kadro_2.x<=0) {
            afisa.kadro_2.x+=platos;
        else {
            afisa.kadro_2.x=-1*platos;
            loadimage (2,whatload );
    else {
        if (afisa.kadro_0.x>=0) {
            afisa.kadro_0.x+=-1*platos;
        else {
            afisa.kadro_0.x=platos;
            loadimage (0,whatload );
        if (afisa.kadro_1.x>=0) {
            afisa.kadro_1.x+=-1*platos;
        else {
            afisa.kadro_1.x=platos;
            loadimage (1,whatload );
        if (afisa.kadro_2.x>=0) {
            afisa.kadro_2.x+=-1*platos;
        else {
            afisa.kadro_2.x=platos;
            loadimage (2,whatload );
can u help me add a button and make it change the url ?

Similar Messages

  • Can i make a button change anchor link when you scroll down the site?

    I am trying to make a scroll site.. and i have navigation buttons on the right, a full menu, but also a "1 topic up" button and "1 topic down" button.
    Is there any way that i can have those buttons change anchor link when you scroll down the site.
    Example:
    I am at home, then i press "1 topic down" and gets scrolled to the next topic on the website, but then i cant make the button change to link to the anchor below that, so the button becomes useless after that 1 press.
    Is that in any way possible in Muse to make it change link?

    Hi
    You can try to create different buttons on page positions where down scrolling will be active with separate button actions. For example you click on "I topic down" , page scrolls and there is another button placed with "Next Topic down" , on click this would scroll the page more and similarly along the length of page.
    Button with anchor link scrolling down the page cannot be used for different anchor links, creating different buttons with anchors is the solution.
    Thanks,
    Sanjit

  • I've never made a rescue email, how do I make one and change my security questions

    I've never made a rescue email, how do I make one and change my security questions

    Click here for information. If you can't reset them through the method described in that article, contact the iTunes Store staff via the link in the 'Additional Information' section.
    It isn't possible to create a rescue email address without correctly answering two of the questions. Nobody on these boards can reset them for you.
    (95613)

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • How to use one button rollover symbol to create 100 graphically different buttons

    I do know how to create a button rollover symbol.
    I don't know how to make that button rollover symbol reuseable. I'd like to put 100 different images in 100 copies of the button. I'd rather not make new symbols for every button, since the rollover animation may change.
    Symbol "Accessibility" allows the title to be changed for copies of the symbol. Does similar functionality exist for bitmaps used in the symbol?
    Could the copied button bring in new graphics from the timeline in another symbol or a xml sheet?
    Any help would be greatly appreciated. I've been following tutorials, except none of them cover this situation.
    Thanks for your help!

    Created in EA version 3:
    I have 2 samples for you that are very similar.
    1- uses the symbol with no image and loads the image as a background-image for the div.
    https://app.box.com/s/co7uki3fm3b11a3o1xjw
    2- uses an image in the symbol and replaces this image with a new one in the img (not div)
    https://app.box.com/s/3ms92f5cv0mylspsi5uo
    Choose what you prefer.
    3. An example with more elements in the symbol directly on the stage instead of a container. use a container if you want to place the symbols in a specific rectangle div for example.
    https://app.box.com/s/y92bpo82kncxnn2w567y

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • How to make a Button to work Actively even if there is a mandatory field..?

    Hi All..
    How to make a Button to work Actively even if there is a mandatory field to be fulfilled..???
    I am badly in need of this logic, as i have to incorporate in my code..
    Points will be rewarded without fail..

    Hi Pavan,
    I also faced the same requirement. U can do one thing like remove the obligatory keyword of that parameter/select-option. U can handle the same using the program in at selection-screen event. See this sample of code,
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:  s_land1 for T005-LAND1 <b>[Needs to be mandatory]</b>                 no intervals no-extension.
    SELECT-OPTIONS:  s_panid FOR zoindex_val-zopanid.
    SELECT-OPTIONS:  s_effdat FOR zoexchrate-zedate.
    SELECTION-SCREEN END OF BLOCK b2.
    *-- AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
    *-- Obligatory Country Code
      IF s_land1[] IS INITIAL.
        MESSAGE e050 WITH text-050.
                     "Please select the Country Code
      ENDIF.
    So whenever u do F8/Enter other than that push button, it will prompt u to enter the country code first then only u can proceed.
    Hope this would help u in some way. Please do reward the helpful answers.

  • How to make a button load a sprite from library??

    PLEASE HELP!!
    Hey everyone.. iv been looking for help for a few weeks but cant seem to find the awnsers
    I am trying to create a newspaper that consists of four pages. Each   page i have created and are sitting in the library as sprites. Each page   has buttons that need linking so that when pressed it loads the next   page or page that i want. This is the part i am confused with =/ how do i   make the buttons on each page load the next page (sprite) from the   library??
    Basically i want to no how to make a button load a sprite from the library when clicked. Does anyone no the script for this?
    Thanks for any help

    A question arises as to whether or not you are posting in the right forum.  Sprites are AS3 objects.
    If you want to add movieclips to the stage from the library using AS2, then you need to assign them each an Identifier via right clicking them in the library and selecting the Linkage option... from there you slect the option to Export for Actionscript and then assign the Identifier.
    You then use the attachMovie() method to make use of that Identifier to dynamically load the library object.

  • HT5796 I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed

    I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.

    I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.

  • Workflow, How to make the attached SAP shortcut linked to a webgui t-code ?

    How to make the attached SAP shortcut linked to the webgui ? (Instead of the SAP Gui )
    When I received a "workflow msg" in my outlook inbox, I clicked on the attached shortcut.
    And a logon pop-up comes to me, in order that I logon to SAP in the SAPGui mode.
    It enables me to make a decision in SAP.
    I'd like that when the user receive the shortcut ( or a link ), it opens the webgui mode ?
    How can I do that ?
    Thx a lot,
    Erwan

    thx

  • How to make a button to stop and run a for loop?

    How to make a button to stop and run a for loop?  and if it is stopped it shall start from where i t stopped.

    Your VI has some very fundamental flaws.
    The start/stop button is outside the FOR loop, thus it will NOT get read during execution of the FOR loop, but only before the FOR loop starts. Think dataflow!
    Thus the terminal of the start/stop button belongs inside the FOR loop.
    Your FOR loop iterates 20x, which probably takes about a nanosecond. You will NOT be fast enough to reliably press the start/stop button during a specific iteration of the FOR loop.
    Your code does not "stop and run" a FOR loop (sic). The loop always spins, but executes an empty case when "Stopped". I guess that's what you actually want?
    Once you solve (2), the x indicator will contain a random value whenever you "stop".
    As soon as the 20 iterations complete, the outer while loop spin an things start over, another nanosecond later.
    Place e.g. a 500ms wait inside the FOR loop to solve this.
    Don't place terminals of indicators on top of formula nodes.
    Your formula does not produce any output, so really has no purpose.
    Use a real "stop" button to terminate the while loop (mechanical action: latch when released). Right now you are using a plain switch, which does not reset to false before the next run. This means that you need to manually reset it before running the program again.
    It is oftern useful to operate the VI in execution highlighting mode. You will immediately see that your button does not get read during execution of the FOR loop. Try it!
    LabVIEW Champion . Do more with less code and in less time .

  • Slide duration - How to make one slide have a different duration to another slide?

    Slide duration - How to make one slide have a different duration to another slide?
    EG So one slide has 2 seconds, another 4 another 6
    All I can see is how to make all slides have the same duration
    Any help very much appreciated!
    Brian

    Slide durations are not changeable on a slide-by-slide basis.

  • How to make a column as command link

    hi,
    how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
    thanks in advance

    JDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
        public void commandButton_action2(ActionEvent event) {
    // make the clicked row the current
      //Get access to the value binding
       ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
       DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
      //the command link is a child of af:column, which is a child of af:table
      CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
      //access the row data, to obtain the Row object and the formatted key string
      JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
      String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
    //set the current row in the binding
      dciter.setCurrentRowWithKey(rowKey);
    // open dialog
            FacesContext fctx = FacesContext.getCurrentInstance();
            AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
            UIViewRoot viewRoot = new UIViewRoot();
            viewRoot.setViewId("/yourDialogPage.jspx");
            HashMap properties = new HashMap();
            properties.put("width",300);
            properties.put("height",200);       
            adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
      }If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
    Frank

  • How to make "Utility" button in Printer Setup Utility available

    There, i add a printer in the Printer Setup Utility and select it. i want to open printer utility, but the "Utility"
    button in Printer Setup Utility is dimmed. In addition,
    "Printer\Configure printer" in the Printer Setup Utility menu is also dimmed.
    How to make "Utility" button in Printer Setup Utility available?
    Thanks in advance.

    Hi Jiong,
    That button is to acess the printer utility for that particular printer, not all printers come with a utility. If you have the disk that came with your printer, you can see if it has a Macintosh driver, if it does then it mimght have the utility with it. It's pretty hard to run the utility on its own, its burried somewhere in the system so that's why you have that menu item. You can alternatively go on the internet and download the latest driver, which might have a utility. All the utility will do will give you options to check nozzle patterns, alighnement, ink tank levels, and cleaning options - just mimnor maintenence junk, non-essentials, etc. I think Tiger just comes with a whole heap of generic drivers for different printer lines, can't say for sure.
    I wouldn't worry about it, especially if you have a relatively old printer.
    Hope that helps
    DKR

  • How to make one dvd from several camcoder dvd's

    How to make one dvd from several camcoder dvd's. I got a dvd camcoder, to be able to play them into DVD player I had to finalize  my disks. Now I got several DVD's whith short files and terrible custom camera menu. I'd like to make it more presentable.
    The main problem is I dont want to recode my vob files. So Final Cut and other editing soft is bad idea.
    Is there any soft on mac I could reauthor my DVD's?

    How to make one dvd from several camcoder dvd's. I got a dvd camcoder, to be able to play them into DVD player I had to finalize  my disks. Now I got several DVD's whith short files and terrible custom camera menu. I'd like to make it more presentable.
    The main problem is I dont want to recode my vob files. So Final Cut and other editing soft is bad idea.
    Is there any soft on mac I could reauthor my DVD's?

Maybe you are looking for