How to swap text members

Hi to all and PLEASE HELP!
First I'm a total beginner and nonprogrammer.
I recently started a "must end" project and it's almost
finished. But i've got one last problem.
I want to swap a scrolling text sprite with another scrolling
text sprite when user clicks a button.
But without moving the framehead into another frame. My movie
has 7 scrolling texts.
I'm trying to do it with this primitive method:
I placed 6 of them out of the stage where no one can see.
And I inserted these scripts to the button which "swaps" the
text sprites (or better to say: relocates them).
This is the script inserted into the button which shows the
sprite textone:
on mouseUp me
sprite("textone").locH = 177
sprite("textone").locV = 460
sprite("texttwo").locH = -600
sprite("texttwo").locV = -600
sprite("textthree").locH = -600
sprite("textthree").locV = -600
--note: I wrote the first three. it's actually 7
end
And this is the script inserted into the button which shows
the sprite texttwo:
on mouseUp me
sprite("textone").locH = -600
sprite("textone").locV = -600
sprite("texttwo").locH = 177
sprite("texttwo").locV = 460
sprite("textthree").locH = -600
sprite("textthree").locV = -600
--note: I wrote the first three. it's actually 7
end
This script works and changes the positions of my text
sprites. AND HERE IS THE PROBLEM:
After the text sprite positions are changed they don't scroll
down or up.
What is the problem in this case? And I'm sure there are many
other ways to swap sprites.
How do I solve this issue? Sorry for my poor English and
thanks for any help.

Rather than moving sprites around, you might want to just
exchange the member of the sprite. You would then use something
like this for each of the buttons:
on mouseUp me
sprite("textOne").member = member("firstText")
end
This way you only need one sprite, you don't need to worry
about locations.
I have no idea why a text member would not scroll after its
been moved.

Similar Messages

  • How can I "swap" text on re-load?

    Hola
    First to all, is this possible?
    Need you help to "guide" me to or help me find out how to swap text daily or on reload.
    For example, I have a div with a quote that I want to change daily (or on reload ) How can I do this?
    Thanks
    PS. I Google it and find a lot images swap, not sure if those work on text.
    Thanks again
    Daniel Ulysses

    Thanks a lot.
    Here is the link to the scrip
    http://www.javascriptkit.com/script/script2/motivatequotes.shtml
    Now, more questions, (sorry, newbe with this)
    How can I make it work?
    Where the "script part goes in my page?
    And , how can I make it appear" in the box where I have the quotes?
    Here is the script
    <script language="JavaScript1.1" src="
    http://www.mydomain.com/motivatequote.js">http://www.mydomain.com/motivatequote.js&quot;>/http://www.mydomain.com/motivatequote.js&quot;>/
    Motivational quotes script
    By JavaScript Kit (http://javascriptkit.com)
    Over 400+ free scripts here!
    </script>
    <p align="center"><font face="arial" size="-2">This free script provided by</font><br>
    <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
    Kit</a></font></p>
    Can you explain more about this?
    If you can't, I understand,
    Thanks a lot
    Daniel Ulysses

  • How come all family members get my texts sent to just one family member?

    How come all family members get my texts sent to just one family member? iPhone 6, newly updated.

    it came with iMessage, you can disable it on each device
    but as stated don't use the same appleID if you just do it to save money on apps you can just use family sharing it accomplish the same
    but without you all getting the same iMessages and you not being able to facetime each other.

  • How to pass text in MDX query

    Hi All,
    I was wondering how to pass text in MDX query.
    Below mentioned is my sample query and it is working fine.
    SELECT
    {[Measures].members} ON AXIS(0),
    NON EMPTY [0MATERIAL].[LEVEL01].MEMBERS
    *[0DOC_NUMBER].[LEVEL01].MEMBERS ON AXIS(1)"
    FROM [$ZTEST]"
    WHERE {[0MATERIAL].[000012345]} ";      
    But in data base 000012345 consists of material name as “ Pepsi “
    Now based on Pepsi I want to fetch results? Is it possible?
    Thanks in advance.

    Srinivas,
    So you are using JAVA, if you consult the developer's guide there is a section specifically addressing your question the ResultSet API should handle this via the formatted
    <b>Retrieving Result Sets
    ResultSet API</b>
    Note that the concept allows for more than two axes, however a two-dimensional, table-like data set makes the
    example easy to illustrate. On the columns axis, two members (“Store Cost” and ”Store Sales”) of the measures
    dimension have been selected; on the rows axis, three members (“Berlin,” ”Hamburg,” and ”Munich”) of the City level
    of a geographical hierarchy. The dataset has six cells:
    Cells provide four mandatory properties:
    • Value — supports all common column types, for example:
    o numeric types
    o dates
    o time values
    o strings
    o null
    • Data type — int value describing the data-type (see java.sql.Types)
    • Status — state of the cell (for example, error or null)
    <b>• Formatted value — a string representation of value</b>
    You can retrieve text in this manner.
    Do you want to be able to pass text as if it were a value as well?
    Cheers,
    Scott

  • Help needed saving text members to TAB delimited txt file

    I have 7 text memebrs each containing several lines of text
    that were pulled in and sorted from a TAB delimited text file.
    What I'd like to know is, is there any way to convert those
    text members back into the TAB delimited format from which they
    came? I'd like to be able to pull in the data, let it be edited to
    some extent, then saved back out..... and I'm not too sure how to
    go about it.
    Example of txt file:
    ID_No Name Age
    1 Phil 26
    2 Sam 34
    3 Mary 21
    They're then sorted in to text files of ID_No, Name, and Age,
    with the lists of the relevent items in each.
    Like.....
    ID_No
    1
    2
    3
    Name
    Phil
    Sam
    Mary
    Age
    26
    34
    21
    Certain lines of these text members change, depending on what
    the user selects. I'd like to put these sections back in their
    original TAB delimited format, but with any changed data replacing
    the old, so next ime the app is opened the new data is pulled in
    from the txt file.
    I know I'm probably going about this the wrong way, but it's
    the only way I know so far lol
    Any ideas?

    global filex, idlst, namelst, agelst
    on readtabline (str)
    tmpstr = ""
    y = 1
    repeat with x = 1 to the number of chars in str do
    if str.char[x] = tab then
    case y of
    1 : idlst.add (tmpstr)
    2 : namelst.add (tmpstr)
    3 : agelst.add (tmpstr)
    end case
    tmpstr = ""
    y = y + 1
    else
    tmpstr = tmpstr & str.char[x]
    end if
    end repeat
    agelst.add (tmpstr)
    end
    on exitFrame me
    idlst = [] --set up some lists to hold that data we read in
    namelst = []
    agelst = []
    filex = new (xtra "fileio")
    filex.openfile ("t.txt", 1)
    indata = filex.readfile() -- read the data in
    filex.closefile()
    filex = void
    repeat with x = 1 to the number of lines in indata do
    readtabline(indata.line[x]) --seprate it into its diffrent
    elements
    end repeat
    -- you now have your data sorted in to three list of id, age
    and name
    -- so you would now do what ever editing you wanted to do
    --now to write it out to a new file
    filex = new (xtra "fileio")
    filex.createfile (the moviepath & "tout.txt")
    filex.openfile (the moviepath & "tout.txt", 2)
    repeat with x = 1 to idlst.count() do
    filex.writestring (idlst[x] & tab & namelst[x] &
    tab & agelst[x] & return)
    end repeat
    filex.closefile()
    end
    I tested this on your exact scenario and it worked a brezze
    hope it helps
    Regards
    David

  • Swap text

    I have some buttons which upon rollover will swap images. I
    also want
    them to swap text though and am wondering if I can keep the
    text text
    and how that is done. So I am looking to do a swap image, but
    not with
    an image, but with text. What is the best way to do this?
    Thanks,
    Brian

    > div/layers because not everyone has new web browsers
    that can read them
    Your teacher is uninformed.
    > Do you think they did the div tag with that?
    Yes, I did that with a div tag.
    The trick is this:
    Put a layer on the page. Use DW's SetTextOfLayer behavior to
    do the text
    swaps for each button, all swapping the text in that layer.
    When you are
    finished, remove the absolute positioning from the layer, and
    you will have
    exactly the same effect.
    But - this depends on your ability to have a page layout that
    can
    accommodate positioning such things.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "james designs" <[email protected]> wrote in
    message
    news:e66p8u$hrg$[email protected]..
    > Yes that is exactly want I want to do with the index
    page, well not the
    > design
    > but the text swap. Do you think they did the div tag
    with that? Iv'e never
    > used
    > em cuz my web design teacher told me they are kinda
    messed up when u use
    > div/layers because not everyone has new web browsers
    that can read them. I
    > think she is kind of outdated but I dunno.
    >
    > >Yes. Check this page -
    > >
    > ><a target=_blank class=ftalternatingbarlinklarge
    > >href="
    http://www.neapco.com
    > ">
    http://www.neapco.com
    > </a>
    >

  • Can't see any text members when I use flash 8.

    I'm using flash 8 and some of my users are having trouble
    seeing my site because they can't see any of the text!!! In some
    computers it works ok but some users can't see any text member even
    if they upgrade the flash player to 8 version. How do I correct
    this!
    I had had problems with this when I ran a swf directly, I
    couldn't see any text; but when I put the swf into a html file I
    can see the text members that the web page has. Why is this
    happening!!! This did'nt happend with version mx. How can I correct
    this problem!
    Please help!
    Thanks a lot!
    Brenda Sanchez.

    just because people say they have flash 8 doesn't mean they
    actually have flash 8 have any of them navigated to a flash player
    detection site and confirmed they have flash 8? have any of them
    right clicked on an embedded swf and confirmed they have flash
    8?

  • How do multiple family members use iTunes.? One account or multiple?

    How do multiple family members use iTunes. One account right now but apps gets added to all devices and iTunes messages go to all devices.  Can multiple accounts be setup and still have ability to share purchased items?

    Hey Ajtt!
    I have an article for you that can help inform you about using Apple IDs in a variety of ways:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using one Apple ID for iCloud and a different Apple ID for Store Purchases
    You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud. Just follow these steps:
    iPhone, iPad, or iPod touch:
    When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud.
    In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match). You may need to sign out first to change the Apple ID.
    Mac:
    Enter the Apple ID you want to use for iCloud in Apple () menu > System Preferences > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in Store > Sign In. In iTunes 11, you can also click iTunes Store > Quick Links: Account.
    PC (Windows 8):
    Enter the Apple ID you want to use for iCloud in the Control Panel. To access the iCloud Control Panel, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes. In iTunes 10, select Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    PC (Windows 7 and Vista):
    Enter the Apple ID you want to use for iCloud in Control Panel > Network and Internet > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes 10 in Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    Note: Once a device or computer is associated with your Apple ID for your iTunes Store account, you cannot associate that device or computer with another Apple ID for 90 days. Learn more about associating a device or computer to your Apple ID.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • How to build the members in essbase based on levels using EAL

    Hi All,
    How to restrict the members to build the in essbase based on levels using EAL.
    I've requirement, in one dimension, needs to build the one level1 member as level0 in essbase.
    please let me know the procedure, if any one implemented or face similar.
    Thanks in advance,
    Kiran

    there's no such functionality in EAL to create Essbase outlines based on levels. the only workaround to this is to use Mapping tables:
    1- create the dimension in essbase with the desired HFM level 1 members as level 0.
    2- set this specific dimension to mapping in your design grid within your EAL Bridge
    3- create the SQL Mapping table and start mapping those members from HFM to Essbase.
    Tanios

  • How to print text vertically in smart forms

    hi,
    Can any one tell how to print text vertically in smartforms
    ADVANCE THANKS
    GUHAPRIYAN

    HI,
    Chk out  this thread.Maybe it proves helpful.
    Re: vertical writing in smartforms
    Regards,
    Gayathri

  • How to wrap text around a table

    I'm new to Pages. The first thing I tried to do was play with tables, because they are the biggest headache in Microsoft Word. However, I ran into a problem right away--I cannot figure out how to wrap text tightly around a table so that the table is surrounded by text on all four sides.
    Does anyone know how to do this? Seems very basic. There is even a button that shows what I want (Text Wrap drop-down --> Around), but when I click on it, nothing happens.

    Peter,
    I can recreate the appearance with five hard returns after the first paragraph, or instead, changing the After Paragraph spacing to 116 pt. Did this with Baskerville Regular 12 pt with line spacing set at 1. Same Arrange settings as shown by OP.

  • How to extract text from a PDF file?

    Hello Suners,
    i need to know how to extract text from a pdf file?
    does anyone know what is the character encoding in pdf file, when i use an input stream to read the file it gives encrypted characters not the original text in the file.
    is there any procedures i should do while reading a pdf file,
    File f=new File("D:/File.pdf");
                   FileReader fr=new FileReader(f);
                   BufferedReader br=new BufferedReader(fr);
                   String s=br.readLine();any help will be deeply appreciated.

    jverd wrote:
    First, you set i once, and then loop without ever changing it. So your loop body will execute either 0 times or infinitely many times, writing the same byte every time. Actually, maybe it'll execute once and then throw an ArrayIndexOutOfBoundsException. That's basic java looping, and you're going to need a firm grip on that before you try to do anything as advanced as PDF reading. the case.oops you are absolutely right that was a silly mistake to forget that,
    Second, what do the docs for getPageContent say? Do they say that it simply gives you the text on the page as if the thing were a simple text doc? I'd be surprised if that's the case.getPageContent return array of bytes so the question will be:
    how to get text from this array? i was thinking of :
        private void jButton1_actionPerformed(ActionEvent e) {
            PdfReader read;
            StringBuffer buff=new StringBuffer();
            try {
                read = new PdfReader("d:/getjobid2727.pdf");
                read.getMetaData();
                byte[] data=read.getPageContent(1);
                int i=0;
                while(i>-1){ 
                    buff.append(data);
    i++;
    String str=buff.toString();
    FileOutputStream fos = new FileOutputStream("D:/test.txt");
    Writer out = new OutputStreamWriter(fos, "UTF8");
    out.write(str);
    out.close();
    read.close();
    } catch (Exception f) {
    f.printStackTrace();
    "D:/test.txt"  hasn't been created!! when i ran the program,
    is my steps right?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • How to email text from a text component in my applet on a the host server ?

    How to email text from a text component in my applet on a the host server, back to my email address ?
    Assuming I have Email Form on the host server.
    Help will be appreciated.

    You can do like below
    =REPLACE(Fields!Column.Value," " & Parameters!ParameterName.value & " ","<b>" & Parameters!ParameterName.value & "</b>")
    The select the expression and  right click and choose placeholder properties
    Inside that set Markup type as HTML 
    then it will highlight the passed parameter value in bold within the full xml string
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to change text in PDF doc. which is a musical score

    Hello,
    I'm new here, so please excuse me if I do or say something I shouldn't.
    I need to change the words in a musical score because the font is too small. OCR recognition doesn"t work because there are illustrations that are different from images or text... Is there a way to get in there and make the changes I need to do?
    Any help greatly appreciated.

    Thanks for the reply, but I have Adobe Reader 9 Pro. Will it still not 
    work ?
    Le 29 sept. 2011 à 29 sept. 11 - 16:09, Claudio González a écrit :
    Re: How to change text in PDF doc. which is a musical score
    created by Claudio González in Adobe Reader - View the full discussion
    Unfortunately, not with the free Reader.
    Replies to this message go to everyone subscribed to this thread, 
    not directly to the person who posted the message. To post a reply, 
    either reply to this email or visit the message page: [http://forums.adobe.com/message/3944833#3944833
    To unsubscribe from this thread, please visit the message page at [http://forums.adobe.com/message/3944833#3944833
    ]. In the Actions box on the right, click the Stop Email 
    Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Forums
    For more information about maintaining your forum email 
    notifications please go to http://forums.adobe.com/message/2936746#2936746

Maybe you are looking for

  • Can't Send Mail with Same Outgoing Server

    I have 2 Roadrunner accounts that use the same outgoing smtp server. In order for me to send email (receiving POP email is not a problem), I have to set the outgoing server for port 25, no SSL and no authentication. I can get one of the accounts to w

  • Playing ACC files in Windows ME

    I have an old windows ME box that's connected to my soundsystem\HDTV and I want to be able to play songs in unprotected ACC format (would love protected too!) that are stored on another machine over me network. I can already play the few MP3 files bu

  • Deleting groups of photos on iPad

    I want to delete 500 photos that I have on my iPad, and can't find any way to do it other than one by one... I thought I'd be able to access them from iTunes, but cant

  • ASCII Object

    I have a device (video switcher) that will accept ASCII commands.  One of the acceptable commands is used to set date and time.  In order execute this command it must be in the proper format "ZaMM/DD/YY/HH:MMSa".  Lookout uses a floating point number

  • Why are DNG images saved at 240ppi?

    I'm just learning to shoot in RAW. The first big problem I'm encountering is that after I manipulate my RAW image and want to save it as a DNG image, it gets saved at 240 ppi (and not at 300 ppi). How can I tell PE 6.o to save at 300 ppi?