I need help with an auto-page advance.

I'm sure I'm doing something wrong. I have a program with 32 pages. Each page is a movie clip with text and images (with motion tweens) and sound. I want one page to play, then the next to play, etc. I have a stop(); at the last frame of each page_mc to kep it from looping. I tried this code butit does not work:
page01_mc.addEventListener(Event.COMPLETE,nextPage);
function nextPage(event:Event):void
gotoAndStop("page02_mc");
Help! (PS: I'm a novice at Flash CS4 and AS3)

What you can try is to dispatch an event at the end of each movieclip and have listners waiting for the event for each as you move down the timeline.  For instance, let's say each frame of your main timeline is a different page movieclip.  At the end of each movieclip place this line of code:
dispatchEvent(new Event("START_NEXT"));
Then, on the main timeline, for each frame you create an event listener for the current mc.  If your first mc instance name was mc1, then in its frame you would have...
mc1.addEventListener("START_NEXT", playNext);
And since the timeline is arranged one mc per frame, the playNext function could be made generically so that all movies could use it...
function playNext(e:Event):void {
play();
Since you are using frame labels, then you would probably devise some other means for advancing, but the same dispatch/listener scenario could still drive the call to move on.

Similar Messages

  • I need help with a 1 Page Form with scrollable text field (5000 limit characters) and printing

    Hello, I have no training in using Adobe Acrobat Pro or Livecycle Designer so I need major help with a 1 page form that I am attempting to create. Basically the form will be used to nominate employees for a Job Well Done Award.
    The form contains the following:
    1.) The name(s) of the employees being nominated and the date of the accomplishment.
    2.) In the middle of the page I have a section for a write up, limited to 5000 characters, this is were I am needing the most help. A couple of things, about this section: The font is set at 11 and I don't want it to change. The text field has multiple-line, scroll long text enabled. The text field is a certain size and can only hold so much text, then it starts to scroll, which I am ok with, I like that feature. The issue I am having is during printing. I would like to keep the text field scrollable but when I print I would like to be able to print everything in that field. Executing this is the problem, I have no clue how to do it. I was hoping for some setting within Acrobat Pro or LiveCycle to be available, but the more I read and research this, it appears that it may require java, xml, basically some coding. I don't know for sure.
    3.) Below the text field I have another field for the person nominating to type their name and right next to that another field for a digital signature.
    4.) And finally below those two fields I have a Submit button that is setup to start email application so the form can be emailed to the proper inbox.
    Thank you in advance.

    With an Acrobat form the only thing you can do is export the text to
    another location (like a blank field on another page) or to another file
    format. With an LCD form you can expand the text box itself, but you'll
    need to ask about that over at the LCD Scripting forum.

  • Need help with centering my page

    I have done everything I can think of, including going through the many posts here to try and correct this with no luck
    Please look at:
    http://ebnerproductions.com
    and
    http://ebnerproductions.com/index2.htm
    The first was built with basically just html.
    The 2nd was done "properly" I believe with CSS and HTML. The 2nd also has "div - #wrapper"
    left and right margins are auto also... nothing changed.
    Do I need to change something in the CSS from absolute, to fixed or inherit?
    I am completely lost at this point and really really need help.
    Thank you again in advance....
    Adam Ebner

    Your CSS is corrupted -
    :visited {
        color: #6CF;<meta name="keywords"
    (note the appearance of the meta tag within the :visited selector)
    Fix that.
    Then you would need to add this rule to the fixed CSS by changing this -
    body {
        background-color: #EBEBEB;
        background-image: url(BG.jpg);
        margin-left: 75px;
        margin-top: 75px;
        background-repeat: no-repeat;
    to this -
    body {
        background-color: #EBEBEB;
        background-image: url(BG.jpg);
        margin-left: 75px;
        margin-top: 75px;
        background-repeat: no-repeat;
        width:1346px;
        margin:75px auto;
    Then ask yourself how many people will even see this page center since 1346 is way wider than the average browser viewport width on most systems.

  • Need help with swf auto slider...

    Hi,
    I downloaded a flash auto slider from one site. But I don't
    know how tu use it. It has a lot of AS external files. I imagine,
    that it should read data from an xml file, and there is AS file,
    which calls xml, but I need help, to create that xml, or to show
    how to use that auto slider...
    This slider is simillar like this one in observer.com main
    site (with 4 thumbnails).
    Here is all files need in slider.
    Click here for
    download.
    Thanks for any help...

    you have in the same directory the .swf, html page, flv., and
    the actual video?

  • Need Help With ePub Book Page Numbering

    I'm not understanding how to get the page numbers set in sequential order for an ePub.
    I've created a Book with 10 sections (all independent files).
    But, as you can see in the attached image, the file numbers do not progress from one "section" to another. This is messing up the TOC and the ePub navigation.
    What am I doing incorrectly?

    Book and Page Numbering Options were set correctly to:
    Continue from previous document
    Automatically Update Page & Section Numbers
    What I missed was setting Document Numbering Options to:
    Start Section >> Auto Page Numbering
    Document Chapter Numbering >> AutoChapter Numbering
    Each of my ten Book documents were defaulting to Start Page Numbering at: 1 which was causing each document/section to begin at 1.

  • Need help with a 9-page form

    I've created a single-page PDF form with LOTS of form fields (most of them checkboxes). I need to duplicate the page/form another eight times so that I have the same form across nine pages. My problem is, if I don't change the names of the form fields on each page (which would take a REALLY long time), as soon as something gets checked on the first page, it will also get checked on all eight of the other pages. Is there a way to make my nine-page form work without having to re-name each and every form field? Thank you for any assistance you can provide! I'm working in Acrobat 9 standard on a Windows computer.

    Yes, make the single page into a template and spawn it eight times, specifying that you want to rename the fields in the process. Here are some previous threads that discuss this in more detail:
    http://forums.adobe.com/message/4745648
    http://forums.adobe.com/thread/1084011
    The code in the second topic doesn't include the parameter that causes the fields to be renamed, you you could easily include it:
    // Make a template out of the first page
    var t1 = createTemplate("t1", 0);
    // Spawn the template to create a new page
    var oXO = t1.spawn({nPage: numPages, bRename: true, bOverlay: false});
    // Now that we have the XObject, spawn the rest of the pages
    while (numPages < 9) {
        t1.spawn({nPage: numPages,  bRename: true, bOverlay: false, oXObject: oXO});
    Message was edited by: George Johnson to correct a typo.

  • Need help with Safari auto fill.

    Auto fill problems.
    1. It's spotty in its application. On some pages it works fine and fills in all fields with one click. On others it says "can't complete form", but then as I begin typing each field, it gives me fill in options. Why can't it just fill them in from the start?
    2. My name and phone number fields have bad values that it tries to fill in. I keep entering the right stuff on new forms, but it never seems to "learn" them. How can I find and remove or overwrite the bad values, without deleting all the other fields it has learned properly (do not want total reset)? I think it is getting the last name first version of my name from address book where I have that option set, but I don't want that in my web fill ins.
    3. Is there a master auto fill template somewhere with field names and values I can edit? Or does it collect this for every different URL I ever fill in, and so there is no way to set values I want used in all web pages?

    HI,
    From your Safari menu bar click Safari / Preferences then select the Autofill tab. Click the Edit button next to *Other Forms*. Remove all.
    And under the Autofill tab, make sure: *User names and passwords* and *Using info from my Address Book card* are both selected.
    If you have problems logging into a site...
    Quit Safari (Command + Q) Now open Keychain Access (Applications/Utilities) Select Passwords on the left. Delete any keychains for sites you have problems logging into.
    Now relaunch Safari. Login to a site with your user name and password as you normally would, then click Yes when prompted. That will create a new keychain for you.
    Keychain Access stores your passwords securely.
    Or does it collect this for every different URL I ever fill in,
    Correct. But only if you have *user names and passwords* and *Using info from my Address Book card* selected in Safari / Preferences - Autofill.
    Another suggestion when having problems using a website, is to delete the cookies. Go to Safari / Preferences / Security. Click *Show Cookies*. Delete the url's for that site then relaunch Safari.
    Carolyn

  • I need help with the numbering pages in a book file

    I have a 53 chapter book that which each chapter is its own document. It used to work great. The page numbers of each document used to continue from the last page number of the previous document. That was until today when I opened it and all the page numbers now start at one. I don't know what to do. I have checked all of the options I knew to check. Each document still has the 'automatic page numbering' option selected. I truly don't want to have to go through and manully renumber every document. It will take time I do not have. If I can get somebody's help, it would be wonderful.

    Nor do I. It sounds like everything is set correctly. You might want to try creating a new Book file and add the individaul documents into it and see if that fixes things. Also, have you tried updating the numberingfrom the menu since this started?

  • Need help with Albums style page, having trouble arranging the way I need

    Hello,
    I am creating a my albums styled page for an automotive club website I am working on. I love the way the albums functionality is built into iWeb with the slide shows and automatic linking and everything, its perfect. The trouble I am having is:
    on my Photos page (using my albums-styled) I want to have the albums organized into different categories. like this
    MEETS:
    grid of photo albums from car meets
    PHOTO SHOOTS:
    grid of photo albums from photo shoots
    TRACK DAYS:
    grid of photo albums from track days
    CHALLENGES:
    grid of photo albums from challenges
    and thats it, something so simple is giving me so much trouble, I have not been able to find a way to duplicate the original photo album grid thats inserted by iWeb when you select a my albums styled page. and I haven't been able to find a way for me to space them freely either so that I could at least have the text in-between to separate them into the categories that I want.
    I want to do the exact same setup for my VIDEOS page too with video albums.
    if anyone could explain to me how I could do this it would greatly appreciated thanks

    One possible method would be the following:
    1 - create individual album pages for your Meets, Photo Shoots, Track Days and Challenges.
    2 - do not include them in the navbar.
    3 - create a blank page and add thumbnail images representing each of those album pages. If you want to add frames to them you might want to follow the suggestions in this tutorial: #7 - Converting Photos w/Frames, Drop Shadows and/or Reflections into a Single JPG Image.
    4 - make each thumbnail a hyperlink to the album page it represents. This way you can arrange the thumbnail in whatever layout you'd like and even have some text description below each.
    5 - on each album page turn off the navbar.
    6 - put a hyperlink at the top of each album page and subsequent photo page sending the visitor back to the page created in step 1.
    OT

  • Please i need help with pop up pages

    Hi i wrote this java
    <SCRIPT language="JavaScript">
    <!--
    function launch(service) {
    window.open('http://www.dazworld.net/games/game_files/launch/' + service,'','height=141,width=244');
    //-->
    </script>
    and when i want it too pop up a game the hyperlink for the link object (text or image) is
    javascript:launch('2.htm'); the 2.htm is a specific game, this pops up and works well but i need to make it pop up in the center of the page or around there in a specific location, please can someone show me how

    Yep, I hate to sound rude (I was in the same position at one point), but there's another person who doesn't know that there are significant differences between the two languages.

  • I need help with designing a page with footnotes

    I would like to place a one or two word translation in a narrow column alongside a main text. There are many translations in this text, about one every two lines. The footnote function simply creates a long list at the bottom of the page. This creates some design challanges. Does anyone have any suggestions of what I can do to design a page where these one or two word translations appear in a column next to the text or somewhere other than a single column list at the bottom of the page. Thank you!

    I used an anchored object to create my sidebars, and use an object style for the text box. The settings below (ignore the X and Y offset will let it go from the left to the right if there's a lot of page shifting, and it will keep it on the page. It'll take some fiddling around to get it to work the way you want. The only thing I need to do is type in the width of the anchored box. Everything else is automated.

  • I need help with a web page for a client pppppppppppllllllllleeeeaaassssseee hhheellllpppp

    Ok so it seems that I have  programed the music to work propery on my webpage. The only problem is  that it does not always play. I mean sometimes it does play and then  theres the issue of songs overlaping
    certain times when I open  the page and other times not. sometimes the the music seems to play more  often on certain computers than others. Although still it plays sort of  at random moments and some times not at all.
    any ways heres a link to download the edge file of my page so you can see what im talking about.
    https://www.dropbox.com/s/llb3ai5qp19n0ca/musicwebpage.zip
    Thank you.

    Probably not.<br />
    You can try the cache of search engines like Google.
    http://www.google.com/search?hl=en&ie=UTF-8&q=cache:

  • Need help with a Purchased page on iPhone!

    My iPhone cannot access the purchased page on iPhone App store. Some time it show up the list of app that I have purchased but I have to wait about 2-4 minues for that. Also many times that App Store just shut down automatic when I open Purchased pages. This have been happen since I updated my device to IOS6. I had try my friend ID from Japan and it perfectly work. So any way to solve this problem? Thank you.

    I would say the iphone headset have 4 wires
    left channel
    right channel
    mic in
    ground
    I would say an external mic being mono at least that all iphone support
    would be 2 wires
    mic in
    ground
    then I would take a apple headset and cannibalize it
    there also are adaptors which change the apple headset into
    2 normal std 3.5mm audio output connector
    1 mono mic in connector you could chekc out those

  • Need help with Page Layout and Background Scaling

    hello, everyone.
    I am in the process of designing a new website for myself,
    and while I was researching nicely designed pages to use as
    inspiration, I stumbled upon this site:
    http://www.jeffsarmiento.com/
    obviously, the design is very impressive, but it also
    incorporates a lot of web mechanics that I have been trying to
    figure out, so I will use this page as an example.
    one thing I need help with is backgrounds. as you can see in
    the posted website, the creator used a seamlessly tiled paper
    texture to display the bulk of his content on. also make not of the
    pattern that is located to the left of the paper texture. how do I
    create seamless backgrounds like this that will scale to fit any
    amount of content or any resolution? I can't imagine that the guy
    that made that site created a new size background every time he
    made an update, so there has to be an easier way.
    the second thing that I am having trouble with is general
    site layout. I have read that most sites used series of invisible
    tables to organize there content, but when I open the source of
    this page in dreamweaver, he was using something different. div
    tags? should I be using these? who do I use them? are there any
    general layout tips that someone could pass on to me? perhaps a
    link to a good tutorial?
    please help me. i am very confused.
    thanks so much.

    IMO not a good site to emulate. To wit:
    Top background image:
    http://www.jeffsarmiento.com/images/bg-top.jpg;
    745px
    x 350px 137K
    Main background image:
    http://www.jeffsarmiento.com/images/bg-tile.jpg;
    745px x 950px 130K
    Total page size: 454K (Check here:
    www.websiteoptimization.com)
    Website usability experts routinely recommend a maximum page
    size of ~80K
    Check out the We We Scale @ www.FutureNowInc.com/wewe/ where
    they suggest,
    "You speak about yourself approximately 0,003 times as often
    as you speak
    about your customers. Might that have an impact on your
    effectiveness?"
    That is 100% consistent with the #1 Web Design mistake:
    "Believing people
    care about you and your web site." or to phrase more
    expansively, "Our site
    tries to tell you how wonderful we are as a company, but not
    how we're going
    to solve your problems."
    www.sitepoint.com has some excellent books on making a
    website actually
    attractive and usable at the same time.
    Walt
    "beWILLdered_" <[email protected]> wrote in
    message
    news:[email protected]...
    > hello, everyone.
    > I am in the process of designing a new website for
    myself, and while I was
    > researching nicely designed pages to use as inspiration,
    I stumbled upon
    > this
    > site:
    >
    http://www.jeffsarmiento.com/
    > obviously, the design is very impressive, but it also
    incorporates a lot
    > of
    > web mechanics that I have been trying to figure out, so
    I will use this
    > page as
    > an example.
    > one thing I need help with is backgrounds. as you can
    see in the posted
    > website, the creator used a seamlessly tiled paper
    texture to display the
    > bulk
    > of his content on. also make not of the pattern that is
    located to the
    > left of
    > the paper texture. how do I create seamless backgrounds
    like this that
    > will
    > scale to fit any amount of content or any resolution? I
    can't imagine that
    > the
    > guy that made that site created a new size background
    every time he made
    > an
    > update, so there has to be an easier way.
    > the second thing that I am having trouble with is
    general site layout. I
    > have
    > read that most sites used series of invisible tables to
    organize there
    > content,
    > but when I open the source of this page in dreamweaver,
    he was using
    > something
    > different. div tags? should I be using these? who do I
    use them? are there
    > any
    > general layout tips that someone could pass on to me?
    perhaps a link to a
    > good
    > tutorial?
    > please help me. i am very confused.
    >
    > thanks so much.
    >

  • Need help to share Number/Pages file visa Mail option. Cannot do with iPad Air (iOS7)

    Need help to share Number/Pages file visa Mail option. Cannot do with iPad Air

    Oh, okay. After selecting the format I want to send, it says "creating... ". Then irrespective of the format I choose the message e.g. "creating spreadsheet" disappears, and so does the choice window (where I earlier chose Mail). I am taken back to the Numbers (or Page) where I had started from. Diavonex's note indicated that after "creating ... " stage I should be taken to an option where I can type in email address where I want to  send the  file, if I want to copy it to another address etc. I cannot arrive at that page - no matter whether I am working with Pages or Number, or which format I choose for the file to share !
    I will try to close as you have suggested and try. However, I have switched on and off several times by now, but nothing changed!
    Will look forward to any ideas to solve this !!!
    Thanks much!
    Best

Maybe you are looking for