Hello, help on action script please.

Hello,
I heed some help on creating a button in flash,I need the
steps to create a button that links to a website.
Thanks in advance.

The Help in Flash is quite thorough. Do a search for "create
button" and "getURL".
But basically, create a button image on the stage, select it
and hit F8 then choose button as your symbol type. Now give your
button an instance name... for example "myBtn_btn". Then in frame
one, of the timeline where your button sits and on a layer for
actions put the following code:

Similar Messages

  • Help with action script please

    hay guys, im having trouble with changing my action script to
    allow multiple layers of the same thing in order to show a greater
    sense of depth than the normal application. im using a flash
    toutorial on making a sort of matrix like falling text (
    link)
    and im not completely understanding what to change in order to
    accomplish my goal. i tryed to send them a message using their
    contact page, but its broken, forcing me to find a forum. im sure
    it has something to do with the third group of code where it
    identifies what its using. but whenever i change anything there to
    either match the identifiers or movie clip names the action script
    crashes when i test the movie. any help is appreciated.
    im using flash cs3 and made sure to create it all in action
    script 2.0
    please excuse my spelling, im sure i made a mistake
    somewhere.

    "FlashTastic" <[email protected]> wrote in
    message news:e4ir4t$ru4$[email protected]..
    >I don't think an enterframe will be your best bet.
    >
    > You might want to use something like
    >
    > if(_root._currentframe >= _root.totalframes){
    > loadMovie("myMovie.swf",_root)
    Why in the world would you do that when you can just put a
    keyframe on the last frame and ..
    loadMovie("myMovie.swf");
    tralfaz

  • Help with Action script 2.0 please

    Hi,
    I am new to actionscript and i could really do with some help
    please. I am trying to load external movie clips into two different
    containers depending on which button is clicked. Sometimes there
    may be two conatiners attached to a buuton click, whilst other
    buttons may only need to load one movie clip. Here is the action
    script i have been using:
    button1.onPress = function () {
    _root.createEmptyMovieClip("container", 1);
    _root.createEmptyMovieClip("container1", 2);
    unloadMovie("container1");
    loadMovie("scene2.swf", "container");
    loadMovie("scene5.swf", "container1");
    container._x = 50 ;
    container._y = 110 ;
    container1._x = 170 ;
    container1._y = 5 ;
    button2.onPress = function () {
    loadMovie("scene6.swf", "container");
    unloadMovie("container1");
    container._x = 50 ;
    container._y = 110 ;
    This does load the movies, however i have to press button one
    first before button two will work. Ideally i need to be able to
    call any movieclip at any time. Can anyone tell me where i am going
    wrong?

    quote:
    Originally posted by:
    NedWebs
    Try moving these lines outside of the button function:
    _root.createEmptyMovieClip("container", 1);
    _root.createEmptyMovieClip("container1", 2);
    You can use "this" instead of "_root"... that'll save any
    problem if you ever move this within some other movie. Also, move
    the x/y assignments just under those lines since they relate to
    them directly.
    Hey thankyou for your help, that works now. although if i
    move the x and y assignments i would have to create another
    container right? Thanks again for your help.

  • Help with action script 2.0

    I'm a beginner with flash. I created a flash file on my own.
    I also created a flash file using a slideshow program. Generally I
    like this program. I can insert them into my html with no problem.
    I want to load the slideshow.swf file into an empty movie
    clip in the flash file I created called products.swf. It works fine
    using
    loadMovie("slideshow.swf", call_mb_slideshow); (where
    call_mb_slideshow is a empty movieclip.)
    as long as the all the files are in the same folder. But, I
    need the products.swf file with the empty movieclip to be in the
    parent folder AND I need the slideshow.swf and the slideshow.xml
    file to be in a child folder call musicbox_slideshow. When I change
    the code to this:
    loadMovie("musicbox_slideshow/slideshow.swf",
    call_mb_slideshow);
    It loads the slideshow.swf file into the movieclip fine, BUT
    it doesn't know where to find the slideshow.xml file that loads the
    pictures into the slideshow. It looks for it in the parent folder,
    not the child folder.
    How do I write the script in products.swf so that it knows
    where the slideshow.xml file is? I cannot change the slideshow.swf
    file code in any way. I need to do it from products.swf.

    I can use this code from html. I'm able to say where the swf
    and xml file are. I just don't know how to do this using action
    script.
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="768" height="576" id="tech" align="middle">
    <param name="movie"
    value="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    />
    <param name="quality" value="high" />
    <embed
    src="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    quality="high" width="768" height="576" name="tech" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>.

  • Help with Action Scripting

    I have been developing a site and I am having issues with
    something that is probably very simple. I have created several
    movieclips that expand and contract as you roll over them. I wanted
    to make a function/method so that when the user clicks, it takes
    them to another scene in this movie. Here is the action script I am
    using:
    on(release) {
    gotoAndPlay("Scene 9");
    Unfortunately, this is not working. I thought that perhaps
    the on(release) method wouldn't work on these movie clips based on
    the action script I was already using to expand/contract the boxes,
    but the following code works just fine:
    on(release) {
    getURL("home.html");
    I'm stumped. Can anyone offer a suggestion as to what I
    should do? Here is the web address of the page I'm working on, it
    has the movie I'm having an issue with.
    AndrewJW.com. The
    first image on the left next to the word photography links to
    another page of the site. The image of the pearl ring next to that
    is the one that will not advance to another scene in the movie.
    Thanks for any and all input.
    Andrew

    Jeckyl>
    erm... ok i've to admit my mistake in 2nd script.
    _root.gotoAndPlay() takes only ONE argument,
    _root.gotoAndPlay("Scene 9", 1); won't works.
    Thank for reminding me
    actually this make me confuse sometime,
    from the code hint in flash,
    for
    gotoAndPlay,
    gotoAndPlay(
    frame);
    gotoAndPlay(
    scene,
    frame);
    for
    MovieClip.gotoAndPlay,
    MovieClip.gotoAndPlay(
    frame);
    so, gotoAndPlay can accept 2 arguments only when use without
    "something dot" in front.
    if Andrew's script is attached to an instance of button
    symbol, we can use
    on(release) {
    gotoAndPlay("Scene 9", 1);
    Since Andrew will attach the script to an instance of
    movieclip, he can only use:
    on(release) {
    gotoAndPlay("Scene 9");
    where he have to give the label to the 1st frame of "Scene 9"
    same name with the scene.
    Am i right Jeckyl?
    I heard many people said "scene"+"script"="buggy", but some
    time I get it "works". What is your opinion?

  • Cant fins a brokel link in the action script, please help.

    Hi guys. I'm fairly new to flash and I've hit a hurdle which
    I think looks pretty simple.
    I click on a button in the Nav bar (SERVICES) and the link
    seems to be broke.
    Do I need to upload the fla file to get help or can you tell
    from the movie on line here?
    http://www.willpower.net.au/rounddesigncopysite/

    The link in your message is also broken.

  • Help whit action script.

    Hello out there
    are there any of you out there who can help me get my image display system to work?
    I have been following advances script from my main site:
    function onFinish(success_boolean, gallery_obj, xml)
        if (success_boolean)
            play ();
        } // end if
    } // End of the function
    function textSelectable(selectedObject)
        isTextSelected = getSettingsValue(mainObj, "textSelectable", "item");
        if (isTextSelected == "true")
            selectedObject.selectable = true;
        } // end if
    } // End of the function
    function getXmlSection(obj, itemName, sectionName)
        for (i = 0; obj[itemName][i]; i++)
            if (obj[itemName][i].name == sectionName)
                returnedResult = true;
                return (i);
                break;
            } // end if
        } // end of for
    } // End of the function
    function getSettingsValue(obj, itemName, itemType)
        sectionNum = getXmlSection(obj, "section", "settings");
        for (k = 0; obj.section[sectionNum][itemType][k]; k++)
            if (obj.section[sectionNum][itemType][k].name == itemName)
                return (obj.section[sectionNum][itemType][k].value);
                break;
            } // end if
        } // end of for
    } // End of the function
    function getGlobalImageName(imageNumber)
        sectionNum = getXmlSection(mainObj, "section", "global_img");
        imageParams = new Array();
        imageParams.name = mainObj.section[sectionNum].image[imageNumber].imageUrl;
        imageParams.linkToOpen = mainObj.section[sectionNum].image[imageNumber].link;
        return (imageParams);
    } // End of the function
    function getCopyright(textObj)
        textObj.htmlText = getSettingsValue(mainObj, "copyright", "item");
        textSelectable(textObj);
    } // End of the function
    function getCompanyName(textObj)
        textObj.htmlText = getSettingsValue(mainObj, "companyName", "item");
        textSelectable(textObj);
    } // End of the function
    function getSlogan(textObj)
        textObj.htmlText = getSettingsValue(mainObj, "slogan", "item");
        textSelectable(textObj);
    } // End of the function
    function getSystemValue(textObj, systemOptionName)
        textObj.htmlText = getSettingsValue(mainObj, systemOptionName, "item");
        textSelectable(textObj);
    } // End of the function
    function getMenuLink(textObj, linkNum)
        sectionNum = getXmlSection(mainObj, "section", "menu");
        textObj.htmlText = mainObj.section[sectionNum].link[linkNum].value;
        textSelectable(textObj);
    } // End of the function
    function getMenuSystemOrder(linkNum)
        sectionNum = getXmlSection(mainObj, "section", "menu");
        return (mainObj.section[sectionNum].link[linkNum].systemOrder);
    } // End of the function
    function getCurrentText(textObj, textNumber)
        sectionNum = getXmlSection(mainObj, "section", "pages");
        currentPage = _root.link - _root.firstPageFrame;
        textObj.htmlText = mainObj.section[sectionNum].page[currentPage].texts[0].pageText[textNumber].value;
        textSelectable(textObj);
    } // End of the function
    function getMenuPreviousLink(linkNum)
        k = 0;
        for (systemOrder = getMenuSystemOrder(k); systemOrder; systemOrder = getMenuSystemOrder(k))
            if (systemOrder == linkNum)
                orderResult = k + 1;
                break;
            } // end if
            ++k;
        } // end of for
        return (orderResult);
    } // End of the function
    function getCurrentImageName(imageNumber)
        sectionNum = getXmlSection(mainObj, "section", "pages");
        currentPage = _root.link - _root.firstPageFrame;
        imageParams = new Array();
        imageParams.name = mainObj.section[sectionNum].page[currentPage].image[imageNumber].imageUrl;
        imageParams.linkToOpen = mainObj.section[sectionNum].page[currentPage].image[imageNumber].link;
        imageParams.target = mainObj.section[sectionNum].page[currentPage].image[imageNumber].target;
        return (imageParams);
    } // End of the function
    function getCurrentImageName_splash(imageNumber)
        sectionNum = getXmlSection(mainObj, "section", "settings");
        imageParams = new Array();
        imageParams.name = mainObj.section[sectionNum].image[imageNumber].imageUrl;
        imageParams.linkToOpen = mainObj.section[sectionNum].image[imageNumber].link;
        return (imageParams);
    } // End of the function
    function checkLinkType(linkTextType, linkNumber)
        k = 0;
        typeCount = 0;
        finalLinkNumber = parseInt(linkNumber) + 1;
        currentPage = _root.link - _root.firstPageFrame;
        sectionNum = getXmlSection(mainObj, "section", "pages");
        for (linkTypeCkeck = mainObj.section[sectionNum].page[currentPage].link[k].linkType; linkTypeCkeck; linkTypeCkeck = mainObj.section[sectionNum].page[currentPage].link[k].linkType)
            if (linkTypeCkeck == linkTextType)
                ++typeCount;
            } // end if
            if (typeCount == finalLinkNumber)
                return (k);
                break;
            } // end if
            ++k;
        } // end of for
    } // End of the function
    function more_click_func(number)
        tempNumber = number.split(" ");
        number = tempNumber.join("");
        number = number.toLowerCase();
        num = _root.pagesReadMoreFrame;
        currentPage = _root.link - _root.firstPageFrame;
        if (isNaN(Number(number)))
            readMoreType = number;
        else
            readMoreType = "readmore";
        } // end else if
        if ((_root.link != num || _root.readMoreFrameType != readMoreType) && _root.animation == 1)
            _root.animation = 0;
            _root.link_prev = _root.link;
            if (_root.link != 7)
                _root.menu["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
                _root.menu2["item" + getMenuPreviousLink(_root.link)].gotoAndPlay("s2");
            } // end if
            if (number == "privacypolicy")
                _root.readMoreFrameType = "privacypolicy";
                sectionNum = getXmlSection(mainObj, "section", "privacyPolicy");
                titleNum = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum = getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle = mainObj.section[sectionNum].item[titleNum].value;
                _root.readMoreText = mainObj.section[sectionNum].item[textNum].value;
            else if (number == "termsofuse")
                _root.readMoreFrameType = "termsofuse";
                sectionNum = getXmlSection(mainObj, "section", "termsOfUse");
                titleNum = getXmlSection(mainObj.section[sectionNum], "item", "pageTitle");
                textNum = getXmlSection(mainObj.section[sectionNum], "item", "pageText");
                _root.readMoreTitle = mainObj.section[sectionNum].item[titleNum].value;
                _root.readMoreText = mainObj.section[sectionNum].item[textNum].value;
            else
                _root.readMoreFrameType = "readmore";
                sectionNum = getXmlSection(mainObj, "section", "pages");
                linkCount = checkLinkType("readMoreLink", number);
                i = 0;
                linkTitleNum = getXmlSection(mainObj.section[sectionNum].page[currentPage].link[linkCount], "item", "title");
                linkTextNum = getXmlSection(mainObj.section[sectionNum].page[currentPage].link[linkCount], "item", "linkText");
                _root.readMoreTitle = mainObj.section[sectionNum].page[currentPage].link[linkCount].item[linkTitleNum].value;
                _root.readMoreText = mainObj.section[sectionNum].page[currentPage].link[linkCount].item[linkTextNum].value;
            } // end else if
            _root.link = num;
            _root.play();
        } // end if
    } // End of the function
    function getContactFormText(textObj, textNumber)
        sectionNum = getXmlSection(mainObj, "section", "contactForm");
        textObj.htmlText = mainObj.section[sectionNum].texts[0].pageText[textNumber].value;
        textSelectable(textObj);
    } // End of the function
    function getContactFormText_only(textNumber)
        sectionNum = getXmlSection(mainObj, "section", "contactForm");
        return (htmlText = mainObj.section[sectionNum].texts[0].pageText[textNumber].value);
    } // End of the function
    function getContactFormParams()
        sectionNum = getXmlSection(mainObj, "section", "contactForm");
        ContactFormParams = new Array();
        servNum = getXmlSection(mainObj.section[sectionNum], "item", "serverOption");
        recNum = getXmlSection(mainObj.section[sectionNum], "item", "recipient");
        ContactFormParams.rec = mainObj.section[sectionNum].item[recNum].value;
        ContactFormParams.serv = mainObj.section[sectionNum].item[servNum].value;
        return (ContactFormParams);
    } // End of the function
    function getGallerySystemProperty(propName)
        sectionNum = getXmlSection(galleryObj, "section", "systemOptions");
        propNum = getXmlSection(galleryObj.section[sectionNum], "option", propName);
        return (galleryObj.section[sectionNum].option[propNum].value);
    } // End of the function
    function getGallerySettings(propName)
        sectionNum = getXmlSection(galleryObj, "section", "settings");
        propNum = getXmlSection(galleryObj.section[sectionNum], "option", propName);
        return (galleryObj.section[sectionNum].option[propNum].value);
    } // End of the function
    function getGalleryImage(imageNum, categoryNum)
        sectionNum = getXmlSection(galleryObj, "section", "imagesData");
        imageParams = new Array();
        image = galleryObj.section[sectionNum].category[categoryNum].image[imageNum];
        nameNum = getXmlSection(image, "item", "imageUrl");
        commentNum = getXmlSection(image, "item", "imageComment");
        imageParams.name = image.item[nameNum].value;
        imageParams.comment = image.item[commentNum].value;
        return (imageParams);
    } // End of the function
    function getCurrentGalleryName(categoryNum)
        sectionNum = getXmlSection(galleryObj, "section", "imagesData");
        return (galleryObj.section[sectionNum].category[categoryNum].name);
    } // End of the function
    pagesReadMoreFrame = 5;
    firstPageFrame = 1;
    var mainObj = _root.parsed_obj;
    var galleryObj = _root.gallery_obj;
    _root.readMoreFrameType = "readmore";
    And I follow the script tries from display page:function reloadContent()
        thisTitle.htmlText = _root.readMoreTitle;
        thisText.htmlText = _root.readMoreText;
        _root.textSelectable(thisText);
        _root.textSelectable(thisTitle);
    } // End of the function
    reloadContent();
    function reset_txt(name, name2, value)
        path = _target;
        path[name2] = value;
        this[name].onSetFocus = function ()
            path = _target;
            if (path[name2] == value)
                path[name2] = "";
            } // end if
        this[name].onKillFocus = function ()
            path = _target;
            if (path[name2] == "")
                path[name2] = value;
            } // end if
    } // End of the function
    formParams = _root.getContactFormParams();
    rec = formParams.rec;
    serv = formParams.serv;
    var fields_descriptions = Array("", Array("t1", "your_name", ""), Array("t2", "your_email", ""), Array("t3", "message", ""));
    for (i = 1; i <= fields_descriptions.length; i++)
        reset_txt("t" + i, fields_descriptions[i][1], fields_descriptions[i][2]);
    } // end of for
    And one action fore the images frame
    onClipEvent (load)
        imageProperties = _root.getCurrentImageName(3);
        loadMovie(_root.url + imageProperties.name, this.cont.pic);
        url = imageProperties.linkToOpen;
        targetWindow = imageProperties.target;
    Here I have to follow the advances xml file from where it should findeud of which image to display:
    <?xml version="1.0" encoding="UTF-8"?>
    <content>
    <!-- general vars -->
    <section name="settings">
      <item name="textSelectable">true</item>
      <item name="copyright"><![CDATA[COPYRIGHT NAVN |<a href="asfunction:_root.more_click_func, privacyPolicy">COPYRIGHT LINK TEKST</a>]]></item>
      <item name="companyName">SIDENS NAVN</item>
      <item name="slogan">SIDENS SLOGAN</item>
      <item name="slogan2"><![CDATA[SIDENS EKSTRA TEKST]]></item>
      <image imageUrl="_logo.png" link="asfunction:link"/>
      <image imageUrl="_pic_menu_1.png" link="asfunction:link"/>
      <image imageUrl="_pic_menu_2.png" link="asfunction:link"/>
      <image imageUrl="_pic_menu_3.png" link="asfunction:link"/>
      <image imageUrl="_pic_menu_4.png" link="asfunction:link"/>
      <image imageUrl="_pic_menu_5.png" link="asfunction:link"/>
    </section>
    <!-- menu -->
    <section name="menu">
    <link systemOrder="1"><![CDATA[MENU 1]]></link>
    <link systemOrder="2"><![CDATA[MENU 2]]></link>
    <link systemOrder="3"><![CDATA[MENU 3]]></link>
    <link systemOrder="4"><![CDATA[MENU 4]]></link>
    <link systemOrder="5"><![CDATA[MENU 5]]></link>
    </section>
    <!-- pages -->
    <section name="pages">
    <page name="company">
    <image imageUrl="_pic1.png" link="asfunction:link"/>
    <image imageUrl="_pic2.png" link="asfunction:link"/>
    <image imageUrl="_pic3.png" link="asfunction:link"/>
    <image imageUrl="_pic4.png" link="asfunction:link"/>
    <texts>
    <pageText><![CDATA[FØRSTE SIDE OVERSKRIFT 1]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE TEKST 1]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE OVERSKRIFT 2]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE TEKST 2]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE TEKST 3]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE TEKST 3]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE TEKST 4]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE OVERSKRIFT 3]]></pageText>
    <pageText><![CDATA[FØRSTE SIDE TEKST 5]]></pageText>
    </texts>
    <link linkType="readMoreLink">
    <image imageUrl="HEER I VANT YHE PUCTURE URL TO BE" link="and images link"/>                              !--- < HEER
    <item name="title"><![CDATA[FØRSTE SIDE MERE OVERSKRIFT 1]]></item>
    <item name="linkText"><![CDATA[FØRSTE SIDE MERE TEKST 1]]></item>
    </link>
    <link linkType="readMoreLink">
    <image imageUrl="HEER I VANT YHE PUCTURE URL TO BE" link="and images link"/>                              !--- < HEER
    <item name="title"><![CDATA[FØRSTE SIDE MERE OVERSKRIFT 2]]></item>
    <item name="linkText"><![CDATA[FØRSTE SIDE MERE TEKST 2]]></item>
    </link>
    <link linkType="readMoreLink">
    <image imageUrl="HEER I VANT YHE PUCTURE URL TO BE" link="and images link"/>                              !--- < HEER
    <item name="title"><![CDATA[FØRSTE SIDE MERE OVERSKRIFT 3]]></item>
    <item name="linkText"><![CDATA[FØRSTE SIDE MERE TEKST 3]]></item>
    </link>
    <link linkType="readMoreLink">
    <image imageUrl="HEER I VANT YHE PUCTURE URL TO BE" link="and images link"/>                              !--- < HEER
    <item name="title"><![CDATA[FØRSTE SIDE MERE OVERSKRIFT 4]]></item>
    <item name="linkText"><![CDATA[FØRSTE SIDE MERE TEKST 4]]></item>
    </link>
    </page>
    <page name="services">
    <image imageUrl="_pic5.png" link="asfunction:link"/>
    <image imageUrl="_pic6.png" link="asfunction:link"/>
    <texts>
    <pageText><![CDATA[ANDEN SIDE OVERSKRIFT 1]]></pageText>
    <pageText><![CDATA[ANDENSIDE TEKST 1]]></pageText>
    <pageText><![CDATA[ANDEN SIDE OVERSKRIFT 2]]></pageText>
    <pageText><![CDATA[ANDEN SIDE TEKST 2]]></pageText>
    <pageText><![CDATA[ANDEN SIDE TEKST 3]]></pageText>
    </texts>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[ANDEN SIDE MERE OVERSKRIFT 1]]></item>
    <item name="linkText"><![CDATA[ANDEN SIDE MERE TEKST 1]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[ANDEN SIDE MERE OVERSKRIFT 2]]></item>
    <item name="linkText"><![CDATA[ANDEN SIDE MERE TEKST 2]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[ANDEN SIDE MERE OVERSKRIFT 3]]></item>
    <item name="linkText"><![CDATA[ANDEN SIDE MERE TEKST 3]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[ANDEN SIDE MERE OVERSKRIFT 4]]></item>
    <item name="linkText"><![CDATA[ANDEN SIDE MERE TEKST 4]]></item>
    </link>
    </page>
    <page name="solutions">
    <image imageUrl="_pic7.png" link="asfunction:link"/>
    <image imageUrl="_pic8.png" link="asfunction:link"/>
    <texts>
    <pageText><![CDATA[TREDIE SIDE OVERSKRIFT 1]]></pageText>
    <pageText><![CDATA[TREDIE SIDE TEKST 1]]></pageText>
    <pageText><![CDATA[TREDIE SIDE TEKST 2]]></pageText>
    <pageText><![CDATA[TREDIE SIDE OVERSKRIFT 2]]></pageText>
    <pageText><![CDATA[TREDIE SIDE TEKST 3]]></pageText>
    </texts>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[TREDIE SIDE MERE OVERSKRIFT 1]]></item>
    <item name="linkText"><![CDATA[TREDIE SIDE MERE TEKST 1]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[TREDIE SIDE MERE OVERSKRIFT 2]]></item>
    <item name="linkText"><![CDATA[TREDIE SIDE MERE TEKST 2]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[TREDIE SIDE MERE OVERSKRIFT 3]]></item>
    <item name="linkText"><![CDATA[TREDIE SIDE MERE TEKST 3]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[TREDIE SIDE MERE OVERSKRIFT 4]]></item>
    <item name="linkText"><![CDATA[TREDIE SIDE MERE TEKST 4]]></item>
    </link>
    </page>
    <page name="products">
    <image imageUrl="_pic9.png" link="asfunction:link"/>
    <image imageUrl="_pic10.png" link="asfunction:link"/>
    <image imageUrl="_pic11.png" link="asfunction:link"/>
    <texts>
    <pageText><![CDATA[FJERDE SIDE OVERSKRIFT 1]]></pageText>
    <pageText><![CDATA[FJERDE SIDE TEKST 1]]></pageText>
    <pageText><![CDATA[FJERDE SIDE OVERSKRIFT 2]]></pageText>
    <pageText><![CDATA[FJERDE SIDE TEKST 2]]></pageText>
    <pageText><![CDATA[FJERDE SIDE TEKST 3]]></pageText>
    <pageText><![CDATA[FJERDE SIDE TEKST 4]]></pageText>
    <pageText><![CDATA[FJERDE SIDE TEKST 5]]></pageText>
    <pageText><![CDATA[FJERDE SIDE TEKST 6]]></pageText>
    </texts>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 1]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 1]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 2]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 2]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 3]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 3]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 4]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 4]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 5]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 5]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 6]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 6]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FJERDE SIDE MERE OVERSKRIFT 7]]></item>
    <item name="linkText"><![CDATA[FJERDE SIDE MERE TEKST 7]]></item>
    </link>
    </page>
    <page name="contacts">
    <image imageUrl="_pic12.png" link="asfunction:link"/>
    <texts>
    <pageText><![CDATA[FEMTE SIDE OVERSKRIFT 1]]></pageText>
    <pageText><![CDATA[FEMTE SIDE TEKST 1]]></pageText>
    <pageText><![CDATA[FEMTE SIDE OVERSKRIFT 2]]></pageText>
    <pageText><![CDATA[FEMTE SIDE TEKST 2]]></pageText>
    <pageText><![CDATA[FEMTE SIDE OVERSKRIFT 3]]></pageText>
    <pageText><![CDATA[FEMTE SIDE TEKST 3]]></pageText>
    </texts>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FEMTE SIDE MERE OVERSKRIFT 1]]></item>
    <item name="linkText"><![CDATA[FEMTE SIDE MERE TEKST 1]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FEMTE SIDE MERE OVERSKRIFT 2]]></item>
    <item name="linkText"><![CDATA[FEMTE SIDE MERE TEKST 2]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FEMTE SIDE MERE OVERSKRIFT 3]]></item>
    <item name="linkText"><![CDATA[FEMTE SIDE MERE TEKST 3]]></item>
    </link>
    <link linkType="readMoreLink">
    <item name="title"><![CDATA[FEMTE SIDE MERE OVERSKRIFT 4]]></item>
    <item name="linkText"><![CDATA[FEMTE SIDE MERE TEKST 4]]></item>
    </link>
    </page>
    </section>
    <!-- privacy policy -->
    <section name="privacyPolicy">
    <item name="pageTitle"><![CDATA[COPYRIGHT OVERSKRIFT]]></item>
    <item name="pageText"><![CDATA[COPYRIGHT TEXT]]></item>
    </section>
    <!-- privacy policy -->
    <!-- terms of use -->
    <section name="termsOfUse">
    <item name="pageTitle"><![CDATA[REGLER OVERSKRIFT]]></item>
    <item name="pageText"><![CDATA[REGLER TEXT]]></item>
    </section>
    <!-- terms of use -->
    </content>
    The second language in the XML file is Danish
    Can not make it work showing the picture can you help me?

    You've posted way too much code. Maybe somebody will have the time to read all of it and try and figure out what your problem is. It isn't really even clear that you know what your problem is.
    Try to focus down your question to something a little bit more direct. That is the best way to get help.

  • Help with my script Please

         This is a script that I am using to batch flatten and rotate(if needed) files. This script is working intermittently and I can't seem to get a handle on why I keep getting the error message:
         - Could not save as "" because the file could not be found.
         Line: 66
         executeAction( idsave, desc64, DialogModes.NO );
    Please if anyone could help me that would be great.  It is getting rather annoying that it works sometimes and other times it does not. Thanks in advance.
        Clevadio
    //=============Find Current Documents path================//
    var CurrentPath = activeDocument.path;
    //=============Establish current documents destination===============//
    var folder1 = Folder(CurrentPath + '/' + 'Flats');
    //=============Check if it exist, if not create it.============//
    if(!folder1.exists) folder1.create('Flats');
    //=============Establish current documents file name=========//
    var CurrentFileName = activeDocument.name;
    //=============Modify current file name================//
    var modifiedFileName = CurrentFileName.replace( ".psd", "Flat" );
    //=============Establish save path====================//
    var saveFileCurrentPath = new File(folder1 + '/' + modifiedFileName);
    //=============Flatten document ====================//
    var idFltI = charIDToTypeID( "FltI" );
    executeAction( idFltI, undefined, DialogModes.NO );
    //=============Rotate  document if in 'Landscape'====================//
    if (app.documents.length > 0) {
         var myDocument = app.activeDocument;
         if (myDocument.width > myDocument.height) RotateToPortrait();
    function RotateToPortrait(){
         try{
        var idRtte = charIDToTypeID( "Rtte" );
            var desc2 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref1 = new ActionReference();
                var idDcmn = charIDToTypeID( "Dcmn" );
                var idOrdn = charIDToTypeID( "Ordn" );
                var idFrst = charIDToTypeID( "Frst" );
                ref1.putEnumerated( idDcmn, idOrdn, idFrst );
            desc2.putReference( idnull, ref1 );
            var idAngl = charIDToTypeID( "Angl" );
            var idAng = charIDToTypeID( "#Ang" );
            desc2.putUnitDouble( idAngl, idAng, 90.000000 );
        executeAction( idRtte, desc2, DialogModes.NO );
              return activeDocument.activeLayer;
         }catch(e){}
    // =======================================================
    //=============Now save document ====================//
    var idsave = charIDToTypeID( "save" );
        var desc64 = new ActionDescriptor();
        var idAs = charIDToTypeID( "As  " );
            var desc67 = new ActionDescriptor();
            var idmaximizeCompatibility = stringIDToTypeID( "maximizeCompatibility" );
            desc67.putBoolean( idmaximizeCompatibility, false );
        var idPhtthree = charIDToTypeID( "Pht3" );
        desc64.putObject( idAs, idPhtthree, desc67 );
        var idIn = charIDToTypeID( "In  " );
        desc64.putPath( idIn, new File( saveFileCurrentPath ) );
    executeAction( idsave, desc64, DialogModes.NO );
    activeDocument.close()

    You can turn off some of the dialogs with: app.displayDialogs = DialogModes.NO;
    #target photoshop
    if (app.documents.length > 0) {
    //Turn display dialogs off
    app.displayDialogs = DialogModes.NO;
    //=============Find Current Documents path================//
    var CurrentPath = activeDocument.path;
    //=============Establish current documents destination===============//
    var folder1 = Folder(CurrentPath + '/' + 'Flats');
    //=============Check if it exist, if not create it.============//
    if(!folder1.exists) folder1.create();
    //=============Establish current documents file name=========//
    //Current filename without the extension
    var CurrentFileName = app.activeDocument.name.replace(/\.[^\.]+$/, '');
    //=============Modify current file name================//
    var modifiedFileName = CurrentFileName +"Flat.psd";
    //=============Establish save path====================//
    var saveFileCurrentPath = new File(folder1 + '/' + modifiedFileName);
    //=============Flatten document ====================//
    activeDocument.flatten();
    //=============Rotate  document if in 'Landscape'====================//
    var myDocument = app.activeDocument;
    if (myDocument.width > myDocument.height) myDocument.rotateCanvas(90);
    //============Save File=======================//
    psdSaveOptions = new PhotoshopSaveOptions();
    activeDocument.saveAs(saveFileCurrentPath, psdSaveOptions, true, Extension.LOWERCASE);
    //Close Document
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

  • Help with action script to load image

    I have a Fla file that is works to slide open doors from
    button hit and open sliding doors, but I cannot get an image to
    load and display when the door begins to open, can some please
    help. I can send th fla file for viewing.

    I did modify the script. My images were in Adobe RGB (1998) and I modified the script to match them from that to the costco printer one. The images were changed as by looking at the screen, by printing to costco, and looking at the new profile assigned. But they didn't look the same on the screen or printed as those from either Preview or ColorSyncUtility.
    I finally wrote a 'shortcut' in iKey to just change all the open images in ColorSync Utility.
    Note: Graphic Converter might work. It does change the image on the screen but I haven't printed it. The screen does not look the same as ColorSyncUtility, It does not give you the choice of intent either.

  • Repetitive saving over and over , help on actions / scripts

    Hi all i'm using cs5 to edit 1 picture into 12 variations for a canvas print ad , so i have the original image , which is 
    (1) reduced in size  from approx 30mb @300dpi to approx 7mb @100dpi my action for the 3d canvas requires it to be 40-60 dpi at approx 80"
    (2) actioned into a 3d canvas
    (3) then reduced back to approx 6" @100dpi
    (4) then grouped layers named 1 to 12 are turned on save as then 2 save as then 3 save as etc etc etc etc
    i'm up to 107 folders of 12 images  as you can imagine its getting borring lol
    is there a way via a script (which i've never used) so i can have lets say an image in a folder called "108"
    and i can run a script so it does what it does and saves the 12 image variations from that 1 image.
    any help will be appreciated  i can go through about 10 to 15 a day before i start losing the will to live .
    regards ken

    The outer frame is a blank template so i open the original (shutterstock) image then resize it ,run the studio gallery wrap action , this gives a 3d look and rotates the image slightly , then i run an action  ( i recorded) to copy that layer , reduce size 10 times (10 layers) to give the 10 colour variations around the outside , this is saved as colourmix.jpg
    then where the large image is  (layer 1bdg) i have the same colour filters in grouped layers so i end up with 12 pictures as follows
    colourmix
    red
    yellow
    green
    blue
    orange
    teal
    purple
    pink
    b&w
    Sepia
    Untouched no filter as original image
    i have over a thousand to get through and then i intend to do 7 or 8 frame variations , so this is gonna take a longggg time this is why i thought i come to the experts
    JJMACK thanks for the help will take a look at that now.
    very best regards ken

  • I need help with this script please ASAP

    So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if you can.
    The script (Sorry if it's a bit long):
    #------------Startup-------------
    display dialog "Social Studies Exchange Trviva Game by Justin Parzik" buttons {"Take the Quiz", "Cyaaaa"} default button 1
    set Lolz to (button returned of the result)
    if Lolz is "Cyaaaa" then
    killapp()
    else if Lolz is "Take the Quiz" then
              do shell script "say -v samantha Ok starting in 3…2…1…GO!"
    #------------Question 1-----------
              display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
              set A1 to (button returned of the result)
              if A1 is "Apprentices" then
                        do shell script "say -v samantha Correct Answer"
              else
                        do shell script "say -v samantha Wrong Answer"
      #----------Question 2--------
                        display dialog "Most children were taught
    to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
                        set A2 to (button returned of the result)
                        if A2 is "Bible" then
                                  do shell script "say -v samantha Correct Answer"
                        else
                                  do shell script "say -v samantha Wrong Answer"
      #------------Question 3---------
                                  display dialog "In the 1730s and 1740s, a religious movement called the_______swept through the colonies." buttons {"Glorius Revolution", "Great Awakening", "The Enlightenment"}
                                  set A3 to (button returned of the result)
                                  if A3 is "Great Awakening" then
                                            do shell script "say -v samantha Correct Answer"
                                  else
                                            do shell script "say -v samantha Wrong Answer"
      #-----------Question 4--------
                                            display dialog "_______ was
    a famous American Enlightenment figure." buttons {"Ben Franklin", "George Washington", "Jesus"}
                                            set A4 to (button returned of the result)
                                            if A4 is "Ben Franklin" then
                                                      do shell script "say -v samantha Correct Answer"
                                            else
                                                      do shell script "say -v samantha Wrong Answer"
      #----------Question 5-------
                                                      display dialog "______ ownership gave colonists political rights as well as prosperity." buttons {"Land", "Dog", "Slave"}
                                                      set A5 to (button returned of the result)
                                                      if A5 is "Land" then
                                                                do shell script "say -v samantha Correct Answer"
                                                      else
                                                                do shell script "say -v samantha Wrong Answer"
      #---------Question 6--------
                                                                display dialog "The first step toward guaranteeing these rights came in 1215. That
    year, a group of English noblemen forced King John to accept the…" buttons {"Declaration of Independence", "Magna Carta", "Constitution"}
                                                                set A6 to (button returned of the result)
                                                                if A6 is "Magna Carta" then
                                                                          do shell script "say -v samantha Correct Answer"
                                                                else
                                                                          do shell script "say -v samantha Wrong Answer"
      #----------Question 7--------
                                                                          display dialog "England's cheif lawmaking body was" buttons {"the Senate", "Parliament", "King George"}
                                                                          set A7 to (button returned of the result)
                                                                          if A7 is "Parliament" then
                                                                                    do shell script "say -v samantha Correct Answer"
                                                                          else
                                                                                    do shell script "say -v samantha Wrong Answer"
      #--------Question 8-----
                                                                                    display dialog "Pariliament decided to overthrow _______ for not respecting their rights" buttons {"King James II", "King George", "King Elizabeth"}
                                                                                    set A8 to (button returned of the result)
                                                                                    if A8 is "King James II" then
                                                                                              do shell script "say -v samantha Correct Answer"
                                                                                    else
                                                                                              do shell script "say -v samantha Wrong Answer"
      #--------Question 9------
                                                                                              display dialog "Parliament named ___ and ___ as England's new monarchs in something called ____." buttons {"William/Mary/Glorius Revolution", "Adam/Eve/Great Awakening", "Johhny/Mr.Laphalm/Burning of the hand ceremony"}
                                                                                              set A9 to (button returned of the result)
                                                                                              if A9 is "William/Mary/Glorius Revolution" then
                                                                                                        do shell script "say -v samantha Correct Answer"
                                                                                              else
                                                                                                        do shell script "say -v samantha Wrong Answer"
      #---------Question 10-----
                                                                                                        display dialog "After accepting the throne William and Mary agreed in 1689 to uphold the English Bill of _____." buttons {"Money", "Colonies", "Rights"}
                                                                                                        set A10 to (button returned of the result)
                                                                                                        if A10 is "Rights" then
                                                                                                                  do shell script "say -v samantha Correct Answer"
                                                                                                        else
                                                                                                                  do shell script "say -v samantha Wrong Answer"
      #---------Question 11------
                                                                                                                  display dialog "By the late 1600s French explorers had claimed the ___ River Valey" buttons {"Mississippi", "Ohio", "Hudson"}
                                                                                                                  set A11 to (button returned of the result)
                                                                                                                  if A11 is "Ohio" then
                                                                                                                            do shell script "say -v samantha Correct Answer"
                                                                                                                  else
                                                                                                                            do shell script "say -v samantha Wrong Answer"
      #------Question 12---------
                                                                                                                            display dialog "______ was sent to ask the French to leave 'English Land'." buttons {"Johhny Tremain", "George Washington", "Paul Revere"}
                                                                                                                            set A12 to (button returned of the result)
                                                                                                                            if A12 is "George Washington" then
                                                                                                                                      do shell script "say -v samantha Correct Answer"
                                                                                                                            else
                                                                                                                                      do shell script "say -v samantha Wrong Answer"
      #---------Question 13-------
                                                                                                                                      display dialog "_____ proposed the Albany Plan of Union" buttons {"George Washingon", "Ben Franklin", "John Hancock"}
                                                                                                                                      set A13 to (button returned of the result)
                                                                                                                                      if A13 is "Ben Franklin" then
                                                                                                                                                do shell script "say -v samantha Correct Answer"
                                                                                                                                      else
                                                                                                                                                do shell script "say -v samantha Wrong Answer"
      #--------Question 14------
                                                                                                                                                display dialog "The __________ declared that England owned all of North America east of the Mississippi" buttons {"Proclomation of England", "Treaty of Paris", "Pontiac Treaty"}
                                                                                                                                                set A14 to (button returned of the result)
                                                                                                                                                if A14 is "" then
                                                                                                                                                          do shell script "say -v samantha Correct Answer"
                                                                                                                                                else
                                                                                                                                                          do shell script "say -v samantha Wrong Answer"
      #-------Question 15-------
                                                                                                                                                          display dialog "Braddock was sent to New England so he could ______" buttons {"Command an attack against French", "Scalp the French", "Kill the colonists"}
                                                                                                                                                          set A15 to (button returned of the result)
                                                                                                                                                          if A15 is "Command an attack against French" then
                                                                                                                                                                    do shell script "say -v samantha Correct Answer"
                                                                                                                                                          else
                                                                                                                                                                    do shell script "say -v samantha Wrong Answer"
      #------TheLolQuestion-----
                                                                                                                                                                    display dialog "____ is the name of the teacher who runs this class." buttons {"Mr.White", "Mr.John", "Paul Revere"} default button 1
                                                                                                                                                                    set LOOL to (button returned of the result)
                                                                                                                                                                    if LOOL is "Mr.White" then
                                                                                                                                                                              do shell script "say -v samantha Congratulations…you…have…common…sense"
                                                                                                                                                                    else
                                                                                                                                                                              do shell script "say -v alex Do…you…have…eyes?"
                                                                                                                                                                              #------END------
                                                                                                                                                                              display dialog "I hope you enjoyed the quiz!" buttons {"I did!", "It was horrible"}
                                                                                                                                                                              set endmenu to (button returned of the result)
                                                                                                                                                                              if endmenu is "I did!" then
                                                                                                                                                                                        do shell script "say -v samantha Your awesome"
                                                                                                                                                                              else
                                                                                                                                                                                        do shell script "say -v alex Go outside and run a lap"
                                                                                                                                                                              end if
                                                                                                                                                                    end if
                                                                                                                                                          end if
                                                                                                                                                end if
                                                                                                                                      end if
                                                                                                                            end if
                                                                                                                  end if
                                                                                                        end if
                                                                                              end if
                                                                                    end if
                                                                          end if
                                                                end if
                                                      end if
                                            end if
                                  end if
                        end if
              end if
    end if

    Use code such as:
    display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
    set A1 to (button returned of the result)
    if A1 is "Apprentices" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    #----------Question 2--------
    display dialog "Most children were taught to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
    set A2 to (button returned of the result)
    if A2 is "Bible" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    (90444)

  • Flash Game Problem Need Help! Action-Script 2.0

    Im making a flash game its a sniper game btw and i am have a problem with after killing the target for it to go to the next frame. I have tried on(press) on(release) for buttons i hae tried lots of different stuff (1.3 hours of trying) and so i was wondering if you could help me out. and here the link to the download for the source .fla yes i uploaded it cuz i really need the help ! thanks for any help! http://fileape.com/?act=download&t=yz6Lhp0oDdAB-7whXWB62WIoACXMVgV7r1flbKy17aJZamyC-vXNFwx tZP6pwXV50NGk3XWK9anDa4m6tBfGEtPOZwKbuZFcaFyGyEGiYqeILdcvVuEZy3QVHX3xY6S170xapkdrZJN9lov4k hxeqJ4_S6aGRpNQWjTT3MhudPLa1ZBAi79CiPqX5kN835lD7vzAU0O6WJZaK6jZBROg2A,,
    or
    http://fileape.com/dl/2gI8YiSW9QGzIgAu
    if the top one doesnt work (the top one shouldnt have a time wait)
    Thanks for all help
    also please if you can find the problem itd be nice to know what it is

    I will not download the .fla - maybe if you hosted the .swf I would view it.
    to change frame use: gotoAndStop(<framenumber>);
    (without the < >, just a number for the fram).
    I recommend you use movieclips for buttons and place all code on the main timeline. For movieclips, give them an identifier name (bottom left int he properties box of the movieclip) then on the main timeline use:
    movieclipName.onRelease = function(){
    gotoAndStop(10);//change 10 to the frame you wish to go to. gotoAndPlay(10) plays from the frame.

  • Help with Report Script please :(

    Hi,
    I'm trying to write a report script with a slight calculation and would really appreciate some help.
    Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
    (All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
    So account 100 for all Entities = 50
    account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
    I want to display account 100 grouped as 75 without showing a line for each entity.
    This is what I have so far but it doesn't work right:
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi"
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
    "FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
    <ROW ("Account")
    <LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
    { CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
    <COL (Period)
    "Dec"
    !

    Dreamscapeuk wrote:
    Hi Robert,  I wasn't getting any data, but I managed to figure that out.  Basically I created 2 columns with the values I needed and then added them up with a calc cloumn.  However I can't get my essbase substitution variables working.  So I created a substitution variable called CurrQtr  and set this to Quarter3.  In my script I'm using this @CurrQtr as  a period however it doesn't use it as it's just giving me the total for the Period dimension.  Any help?
    Here's the script:
    ROWREPEAT
    SUPCOMMAS
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT ""
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( DataSrc, Years, Version, "P&L Type", Currency, Scenario, InterCompany, "Cost Center","Set of Books","Reporting")
         "DataSrc" "FY10" "Current" "No_Type" "USD" "Actual" "InterCompany" "Cost Center" "AB_CON_USD" "No_Cost_Type"
    <COLUMN (Period)
              @CurrQtr
         WWL "RIA-IFRS REPORTING ADJS."
    CALCULATE COLUMN "Gaap" = 1 - 2
    ORDER 0,3,1,2
    <ROW (Account)
    <LINK(<DESCENDANTS("Global Accounts","Lev0,Account"))
    In my script I'm using this @CurrQtr as a period however it doesn't use it as it's just giving me the total for the Period dimension. Any help?
    I don't understand this...
    *<COLUMN (Period)*
    *          Qtr3      WWL "RIA-IFRS REPORTING ADJS."*
    have you tried like this.??
    Edited by: Prabhas on Feb 1, 2011 12:05 AM

  • Help with a script please

    Can anyone suggest a simple script to delete ~Library/Caches/Firefox evey time a user logs out? I want to trial such a script because the proxy is making Firefox act very starnge and deleting this folder gets it going again . . Thanks very much.

    take a look at http://www.bombich.com/mactips/loginhooks.html

  • Help with SQL Script please

    Hi there,
    What I`m trying to accomplish here is the following guys;
    This would be the pseudo code that I`m trying to convert into proper SQL;
    Declare @Parameter varchar(50)
    now I`m trying to find out how to find whatever is in the @Parameter in the values of table column. something like this;
    If @Parameter exists in (select column from table) then do something here else something else....
    Thanks very much in advance for your help.

    do you want some thing like below
    Declare @Parameter varchar(50)
    If exists (select column from table where column = @Parameter)
    begin
    --do something here
    END
    else
    Begin
    --something
    END
    Thanks
    Saravana Kumar C

Maybe you are looking for

  • JSF:how to get value from dinamically generated HtmlInputText components�H�H

    <h:panelGroup binding="#{dynamicInputGroupBean.group}"/> public HtmlPanelGroup getGroup() {           if (this.getSelectedComp() == null) {                return this.group;           FacesContext facesContext = FacesContext.getCurrentInstance();    

  • Manually sorting photo's

    I am trying to manully sort photo in Iphoto 09.  It is grey'd out.  How do I enable it?

  • Windows CE 5.0 and Compact Framework 2.0

    We need some help with develop and deploy applications develop with .NET 1) Are Olite 10gR2 certified with Windows CE 5.0? PDA UNITECH PA960 Windows CE 5.0, 51856 Kb de RAM y 2 flash: Disk0nChip M_Systems de 20 Mb PCMCIA/Compact Flash Device de 488.7

  • Accidentally deleted song in iTunes, how to retrieve from iCloud?

    I accidentally deleted a song I have on iCloud which I had downloaded to my computer. The song still shows in iTunes but when I click on it it says song can't be located. When I go to the store it shows it's already purchased. How do I download the s

  • Unable to connect to Airport Extreme since installing Mountain Lion

    Unable to connect to Airport Extreme since installing Mountain Lion. If I go to Finder > Shared I can see it listed but then when I go to connect to it won't. I can see it in Airport Utility and connect to the internet but when I try and connect to t