Scrolling menu with indpendent static text

I was hoping someone would be able to help me, im not very
experienced, but i learn pretty quickly.
This
is a screenshot of my menu, it is a horizontal scrolling menu. Upon
rollover, the icons glow red. I copied the actionscript from
something i found online.
I need static text to appear in the bottom section when each
icon is selected, thus labeling the icon. I've tried different
things, but each time the text would move horizontally as the icons
do. I need the text to exsist independently from the menu, but i
have no idea how to do this. Any help would be greatly appreciated.
I can provide the FLA file if needed.
this is the action script i have placed on the menu, i dont
know if it will help
xm = 0;
//function to set the xpos of the movieclip
function xpos(bar_length,mul)
hpos = 0;
scroll_length = 490;
incr = bar_length/scroll_length;
xm = _xmouse;
if(_xmouse <= 10){xm = 10;}
if(_xmouse >= 400){xm = 400;}
scroll_x = hpos - xm;
scroll_x = scroll_x * mul;
x_pos = scroll_x * incr;
x_pos = x_pos + hpos;
return x_pos;
_root.onEnterFrame = function ()
// call function xpos
x_pos = xpos(700,.20);
with (bar)
_x += (x_pos - _x)*.4;
// call function xpos
x_pos = xpos(950,.75);
with (menu)
_x += (x_pos - _x)*.4;
thanks it advance

you will need to create a 'dynamic' text field in the
position that you want there, and then assign text to the field on
rollOver of the button clip. You can control the text assignment
from within the onRollOver and onRollOut handlers. Something like
this from the main timeline:

Similar Messages

  • Scrolling menu with independent static text

    I was hoping someone would be able to help me, im not very
    experienced, but i learn pretty quickly.
    This
    is a screenshot of my menu, it is a horizontal scrolling menu. Upon
    rollover, the icons glow red. I copied the actionscript from
    something i found online.
    I need static text to appear in the bottom section when each
    icon is selected, thus labeling the icon. I've tried different
    things, but each time the text would move horizontally as the icons
    do. I need the text to exsist independently from the menu, but i
    have no idea how to do this. Any help would be greatly appreciated.
    I can provide the FLA file if needed.
    this is the action script i have placed on the menu, i dont
    know if it will help
    xm = 0;
    //function to set the xpos of the movieclip
    function xpos(bar_length,mul)
    hpos = 0;
    scroll_length = 490;
    incr = bar_length/scroll_length;
    xm = _xmouse;
    if(_xmouse <= 10){xm = 10;}
    if(_xmouse >= 400){xm = 400;}
    scroll_x = hpos - xm;
    scroll_x = scroll_x * mul;
    x_pos = scroll_x * incr;
    x_pos = x_pos + hpos;
    return x_pos;
    _root.onEnterFrame = function ()
    // call function xpos
    x_pos = xpos(700,.20);
    with (bar)
    _x += (x_pos - _x)*.4;
    // call function xpos
    x_pos = xpos(950,.75);
    with (menu)
    _x += (x_pos - _x)*.4;
    thanks in advance

    you will need to create a 'dynamic' text field in the
    position that you want there, and then assign text to the field on
    rollOver of the button clip. You can control the text assignment
    from within the onRollOver and onRollOut handlers. Something like
    this from the main timeline:

  • How to link one scroll bar with two dynamic text boxes.

    How to link one scroll bar with two dynamic text boxes.
    If i move scroll bar in one text box,automatically text will
    be moved in another text box.But scroll bar is not visible.
    Can you please help me.
    Thanks in advance.

    See the following article:
    JavaScript - setFocus Method for tabbing to next form field
    And see if iOS can even handle the sample form.
    iOS and android devices are not a powerful as your desktop of laptop computer and have limited support for JavaScript within PDF forms. This limitation for specific apps ranges from none to quite a bit but not all JavaScript.

  • Need menu with just simple text

    I'm importing a simple graphic for the main menu's background (mostly black, with a logo at the bottom). There are 3 short movies the viewer can access from the main menu.
    Having trouble finding a theme that lets me type just the TEXT of the movies -- don't want icons, buttons, or gray background beneath the title.
    So -- the finished DVD will have a main menu with just the names of the 3 movie files, over black, with the logo at the bottom.
    Can someone help?

    A lot of the old themes work well. For example 'Green Linen'
    If you are working 4:3 create a black 720x540 pixel images for use as the background and drop it in the background image well. Use 854x480 for widescreen.
    (For PAL, the figures are 768x576 and 1024x576)
    BTW, You need to put you logo on this black background image.
    Drag-and-drop your movies on the black background in the iDVD menu view; click on each name to make it show the name you want. (You will be able to change the font and font color.)
    If the basic theme you are using uses any motion drop zones, turn those off.
    After trying this, if you need more instructions (or more detail) come back and ask.

  • Adobe form -- Issue in Displaying Dynamic text along with Static text

    Hi All,
    I am having an issue when i am displaying a dynamic text along with static text in adobeforms.
    The dynamic text is slightly coming down and not aligned with the static text. i can see half row it is coming down.
    how to align both texts to be printed in same format.
    Request all of your expert advices in achieving this .
    Thank you in advance.
    Thanks&Regards,
    Phani Miriyaila.

    Hi,
    Select both dynamic and static text in the layout. Goto Object palette -> Layout. Give values to X,Y coordinates and Height & Width. Anchor properly and specify margins as well.
    Select both dynamic and static text in the layout. Right click on it and goto palettes -> Paragraph. It gives you the text alignment options. Align the text and give similar font and size.
    Thanks & Regards,
    Sanoosh

  • How to create a menu with pages linked as sub menu in ADF?

    Hi Experts,
    I'm new to ADF and trying to create a menu like below in ADF.
    Actions Menu
    |
    |
    Option 1 -- A page with some static text and links.
    Option 2 - A different page with some static text and links.
    Have evaluated options like panelGroupLayout and menu components, requesting experts opinion on the best way to do it.
    Thanks in advance..

    Thanks AP.
    Not like outlook. Here's some more details on what I'm looking for.
    Create a menu bar.
    Create a menu called "Actions"
    Create two items under it called "Option1" and "Option2".
    When I move the mouse over "Option1", I want a page to be shown on the right (just like how a sub menu will be displayed usually).
    When I move the mouse over "Option2", I want to show a different page on the right (just like how a sub menu will be displayed usually).
    Thanks in advance.
    Edited by: Muruhanantham C on Dec 28, 2012 12:51 PM

  • Howto add static text in xsl stylesheet

    Hi,
    I'am having problems trying to write a static text to a fixed length file using the file adapter.
    I'am using the FlatStructure sample provided.
    When I run the sample, there's no problem... But when I remove the mapping from tns:State <-> fix:State (in addr1Toaddr2.xsl) and change the fix:State to a static text (Set Text option in right mouse popup menu) then this text will NOT show up in the written fixed length file.
    My addr1Toaddr2.xsl looks like this:
    <?xml version="1.0" encoding="windows-1252"?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="XSD">
    <schema location="file://D:/OraBPELPM_2/integration/bpelpm/orabpel/samples/tutorials/121.FileAdapter/FlatStructure/address-csv.xsd"/>
    <rootElement name="Root-Element" namespace="http://xmlns.oracle.com/pcbpel/demoSchema/csv"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="file://D:/OraBPELPM_2/integration/bpelpm/orabpel/samples/tutorials/121.FileAdapter/FlatStructure/address-fixedLength.xsd"/>
    <rootElement name="Root-Element" namespace="http://xmlns.oracle.com/pcbpel/demoSchema/fixedLength"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 1.0 AT [WED MAY 18 11:29:24 CEST 2005]. -->
    ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlns.oracle.com/pcbpel/demoSchema/csv" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" xmlns:fix="http://xmlns.oracle.com/pcbpel/demoSchema/fixedLength" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" exclude-result-prefixes="xsl xsd tns nxsd fix ldap xp20 bpws ora orcl">
    <xsl:template match="/">
    <fix:Root-Element>
    <xsl:for-each select="/tns:Root-Element/tns:Address">
    <fix:Address>
    <fix:Name>
    <xsl:value-of select="tns:Name"/>
    </fix:Name>
    <fix:Street>
    <xsl:value-of select="concat(tns:Street1,' ',tns:Street2)"/>
    </fix:Street>
    <fix:City>
    <xsl:value-of select="string('C2345678901')"/>
    </fix:City>
    <fix:State>
    <xsl:text disable-output-escaping="no">D2345678901
    </xsl:text>
    </fix:State>
    <fix:Country>
    <xsl:value-of select="string('E234567')"/>
    </fix:Country>
    </fix:Address>
    </xsl:for-each>
    </fix:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Note:
    The construct "<xsl:value-of select="string('E234567')"/>" is my 'patch'to write a static text.
    Can you tell me what I'am doing wrong? Or is this a bug...
    greetings,
    Jan.

    Hi ,
    I am assuming you are using Oracle JDeveloper XSL Mapper for designing the XSL. Currently , our XSL Mapper has a limitation due to that whenever you add any static text to target node in mapper, it adds an extra "\n" with that static text. And so our Native format translator doesn't find the definition for that and that's why it doesn't get printed in the file.
    Workaround [although little painful] is remove those extra "\n" after you finish your XSL design.
    We are working to fix this issue asap.
    HTH.
    Thanks,
    Rakesh

  • Static Text in flash 8 disappears

    Here's a weird one for you. I have a site built in flash 8
    with some static
    text in there. It's in Verdana, no Kern set on it and is
    Anti-Aliased for
    animation, whilst this appears to work on every test machine
    and clients
    machines we've had reports from 2 users that the Static text
    doesn't appear
    at all. None of the text is sitting under masks or any other
    object, the
    dynamic text appears to be displaying just fine. They've
    installed the
    latest flash version and are running on IE6.
    I've searched through google groups and have found a couple
    of things that
    sound similar but it appears that they just changed the text
    to use the
    device fonts. I really don't want to have to do that if I can
    help it,
    especially as this in theory should be working. Anyone else
    had a problem
    like this, is there a bug in Flash for certain
    configurations?
    Thanks
    James

    Hey Tom,
    No, I understand what you're saying. Originally, I did embed
    the non-system font and used it on all of my static text. It worked
    great for me in both IE and Firefox, both local and live. However,
    my clients weren't getting any text at all and I have no idea why
    (they tried it on both IE and Firefox). I'm not sure what the
    differences in our browsers are as they are the same versions.
    Maybe they have special settings set up?
    As an experiment, I'm going through and changing my static
    text from the embedded font to a system font. I did one section of
    the site, made it live, and asked the client to test and see if
    they could see text. They said they could. So, for some reason
    their browsers aren't liking the original embedded font I used. As
    I said in an earlier post, I know my original font embed worked
    because I tested it on a computer that didn't have the font
    installed. So, I don't know where the problem lies for the client.
    The client has an important meeting in 2 weeks and needs to
    present what I've made so far. So, until I can figure out what's
    going on with the client's browsers, I'm opting to change the font
    over to a system font and do away with the embedded font for the
    time being.
    However, you said:
    quote:
    If the text field is static, you need do nothing more than
    choose a non-device font.
    Do you mean I don't need to embed a font for static
    text?

  • How do I generate formula with column of text?

    I have a list of attendees to an upcoming party. Three columns - First Name, Last Name, Attendance.
    In the "Attendance" column I have created drop down menues with 4 different text values regarding their attendance (Yes, No, Maybe, No Reply).
    At the top of the page I would like to have a quick list table referencing the text values and count; would look like this:
    Yes - 34
    No - 12
    Maybe - 24
    No Reply - 13
    How do I create this quick list with number count since the values in the "Attendance" column are text.
    Thank you kindly!

    Okay hotshot, I'm stuck again.
    Now I want to gather the number of "Yeses" from two different tables. This is what I have tried so far but am stuck: =COUNTIF(Terry Allen :: Attendance,Ron Allen :: Attendance,"Yes")
    There error message I received was "Countif requires 2 arguments, but was given 3."
    I do have a way around it; just use your previous formula to tally up the number of yeses at the bottom of each table, and then sum it all up, but I would rather just cut to the chase and have it formulate directly in my quick list table at the top of the page.
    Any thoughts? Thanks.
    Message was edited by: beansupreme

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • How to align text below the menu with text in the menu?

    I'm trying to design a law firm site with a menu with text below it that is centered with the text in the menu.  So, under "ABOUT" in the menu, there is "Meet our Attorneys".  I can't get the 2 text boxes to center.  When it looks centered, it moves when its FTP uploaded.  Here's the site:
    http://mckenzielaird.com

    Hi
    I checked the site and can see that under About , Meet our attorneys both are aligned centrally.
    Can you please confirm me if I am missing anything here ?
    Thanks,
    Sanjit

  • Help With Scrolling Menu / Button Rollovers

    First thank you to anyone who can answer and help with this
    question.
    http://paragon.sortismarketing.com
    - at this link I have created a site with a simple scrolling menu.
    Now what I want to happen is when you rollOver the buttons on the
    scrolling menu they get larger and then smaller again after you
    roll off them.
    I know how to do this with tweening in a non moving
    environment, by making them a movie clip instead of button. But for
    some reason when I did this in this case it screwed the menu all up
    and made it go crazy. Is there a way to do this with action script
    that isn't going to screw up the underlying code for the
    scrolling?

    You can use the below code also. As your mouse pointer goes
    over the down, it will scroll down.
    on(rollOver){
    scrolltext.scroll -= 1;

  • Movieclip with scrolling menu

    In my site (stage1200x650) I use a button to load a movieclip
    (the loaded swf file is 550x400) the movie contains a menu with
    buttons wich I whant to scroll throug horizontaly. How do I make a
    scrollbar that scrolls through the menu horizontaly?
    thx
    K

    Please check out this video which addresses your query regarding changing the anchor link state as you scroll: http://www.youtube.com/watch?v=qNsI6DHz5Co
    Cheers,
    Vikas

  • Scrolling bar with external text

    Hi,
    I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which is what I'm running.
    What I need is, basically, to have a scroll bar to scroll up and down an external text (XML or .txt). I just don't seem to be able to do it. Also, is there a way of customizing the scroll bar?
    Thanks for the help!
    N.

    Hey, I had to do a VERY similar thing for a student project a
    few months ago. If you go to
    Flashkit.com, you can find
    tutorials on how to import XML and CSS or XSL. I was able to do it
    and I don't know a lot of actionscript. If you want to see how I
    used it, go to
    the University of Scranton's MIT
    website.
    Hope that helps!

  • How do i return to a regular menu in music file instead i got scrolling windows with no way to return to a normal mode. What do i do guys?

    How do i return to a regular menu in music file instead i got scrolling windows with no way to return to a normal mode. What do i do guys?

    Actually i had to reset my ipod and it worked! Hope it will not happen again:)

Maybe you are looking for

  • Imac doesn't understand cd's

    Hello! First off, I would like to say that this mac has booted from one special cd (who knows why) But the mac os 8.5 install disk won't boot. Another imac will boot the exact same cd (and it's older!)

  • What would the equation be to scale a 2nd Y-axis to my first Y-axis?

    I am using a 8757D scalar to collect 2 channel sweeps. The first channel has an arbitrary Scale, REF Position and REF Level, the 2nd channel has a differing Scale, REF Position and REF Level. I collect and plot channel 1data with no problem since it

  • ISE sponsor portal guest accounts

    I am having an issue with guest accounts that have been created in the sponsor portal, some accounts work fine but others show up in the authentication logs on ISE as error 22056.  This error points to ISE not looking in the right identity store but

  • IPhone photos turned gray with "jpg" written on them!

    Hi ~ I have found this issue on several forums but none ever were resolved...  All the photos that were taken on the phone (hundreds!) have all turned gray and have "jpg" on them!  When I try to open them, they won't open but sometimes flash a quick

  • How to move my favorites from Firefox to IE?

    Recently, my Firefox has been very uncooperative with my computer. It's not the first time this has happened, but it will be its last. Especially after Firefox crashed my computer... I would like to find out how to move my favorites from Firefox back