Universal timer across multiple frames

Hello again
I'm creating a flash quiz and each question is timed. When the timer runs out I have some actionscript that says 'when timer reaches 0, go to and stop frame x', but the problem is I have quite a few pages and some of my timers are conflicting. Is there a way I can make one timer control everything?
At the moment I have one timer that controls when the clock times out
var count:Number = 6;
var myTimer:Timer=new Timer(1000,count);
myTimer.addEventListener(TimerEvent.TIMER, countdown);
myTimer.start();
function countdown(event:TimerEvent):void {
myText_txt.text=String((count)-myTimer.currentCount);
if(myText_txt.text == "0"){
gotoAndStop(5);
I have 'correct' and 'incorrect' pages, so when a question a question is answered correctly, you will jump to the 'correct' frame on the timeline. I then have a timer that controls when you leave that page
Example
var myTimer2:Timer;
myTimer2 = new Timer(3000, 3)
myTimer2.start();
myTimer2.addEventListener(TimerEvent.TIMER, backtoStart2)
function backtoStart2(evt:TimerEvent):void{
    myTimer2.start();
    if(myTimer2.currentCount == 3) (gotoAndStop(3));
    trace (myTimer2.currentCount)
My problem is that I have 8 questions, and it seems silly to make a new timer for each page, especially when I will keep getting a duplicate function definition error. What is the best way to approach this if I want all my actionscript on one frame?

Got what I mentioned earlier to work but seem to have a new problem. Will explain by showing my code-
When my timer reaches zero (frame 3) I change to frame 5 which is an 'incorrect' page
var count:Number = 6;
var myTimer:Timer = new Timer(1000,count);
myTimer.addEventListener(TimerEvent.TIMER, countdown);
myTimer.start();
function countdown(event:TimerEvent):void
          myText_txt.text=String((count)-myTimer.currentCount);
          if (myText_txt.text == "0")
                    gotoAndStop(5);
                    myTimer.reset();
I then have a different timer on frame 5 which says, after x amount of seconds, go to frame 6, which is the next question
var myTimer4:Timer;
myTimer4 = new Timer(3000,3);
myTimer4.start();
myTimer4.addEventListener(TimerEvent.TIMER, backtoStart2);
function backtoStart2(evt:TimerEvent):void
          myTimer4.start();
          if (myTimer4.currentCount == 3)
                    gotoAndStop(6);
This is where things go abit weird for me
myTimer.start();
myTimer.addEventListener(TimerEvent.TIMER, countdown);
          myText_txt.text=String((count)-myTimer.currentCount);
          if (myText_txt.text == "0")
                    gotoAndStop(7);
                    myTimer.reset();
Instead of going to frame 7 when the timer runs out, it goes back to frame 5. Why is this based on my script? Do I need to removeEventListener on frame 5? All the action script is on different frames.
Sorry to hassle, still new to actionscript and trying to learn as I go
Thanks

Similar Messages

  • Break table row across multiple frames?

    Hi
    I would know wether is possible to split a single table row across serverla frames/pages.
    I´m using InDesign CS5 and when I try to import a big table from word documments (by using de app or by scripting), if a row is bigger than the textFrame, a blank page is generated with the overflow simbol.
    The only way to see that table is by enlarging the textFrame.
    I´ve been reading about this problem, and some news in 2004 reported it was a problem wich will be solved in next releases.
    Is there any way to work arround?
    One option is to split de row in several small rows, but I think the proper solution would be to let the row jump to the next TextFrame (just like word does)
    Thanks in advance

    I can show you a real example.
    http://www.xunta.es/dog/Publicados/2011/20110615/AnuncioC3F1-140611-3147_gl.pdf
    In page 14984 the row with the text "Coruña" span across two pages. Well, in this example, what we did was to convert the table in images. Then the images were put inside each page in InDesign.
    This cell is too big to fit in a frameText and it was shown as empty.
    Other option would be to split the row before the imporation. In this way, InDesign would, automatically jump to the next page.
    The question was if there was any configuration option to implement all this solutions (change the table or convert it to text) without change the table structure.
    Any way, thansk again.

  • Images displayed in Labview do not stay synchronized across multiple frames

    Hello,
    I'm a little new of a poster, but a long time lurker. I'd like to thank everyone that answers here for all of the questions that I have previously read and from which I have learned so much.
    I am creating an Labview FPGA based solution in Labview 12.0 32bit on Windows 7. I have a target FPGA module which captures data from an external apparatus, does some processing locally, and then uses a DMA FIFO to send this data to the host, one sample/pixel at a time.
    The host takes this pixel data, does a little bit more processing to it and adds each row to a queue. This queue is then looked at, some more processing is done to the rows and they are combined together, finally resulting in a 2D array that is displayed using the 'intensity chart' indicator.
    I have managed to get this running at around 10 fps, creating essentially a movie. The synchronization is done via a trigger signal sent from my external apparatus to the FPGA to keep both each row and each frame displaying correctly.
    The problem has been that as I try to add a little bit more functionality to the host (specifically - I'm trying to send across 2 channels simultaneously from the FPGA by combining them into a U32, and so I need to pull that combination apart and translate it back into fixed point in an automatically indexed for loop, at which point I pass one of the channels through same processing as before before displaying just that one channel), I have seemed to hit some sort of wall of functionality in that my synchronization no longer works. That is, my image, instead of being properly centered, it is skewed so I see only half of each frame each time I display the image. Finally, when I move my mouse around, or scroll my front panel, or even hover over the start bar (and have the Windows 7 window previews pop up) or do pretty much anything else with the Windows UI, my frames start 'skipping' and they change where they overall in the horizontal and vertical direction.
    This leads me to conclude that there is some resource that I am unaware of that is limited and that overflows whenever I do anything with the UI. This resource then overflows and drops some lines of pixels. When the program recovers, it goes back to displaying full frames, but by this point things are out of synch already, so I never return to a 'correct' image, although this is just a hypothesis.
    Question:
    Does anyone know if there is a hidden resource that Labview is using that would cause degradation of performance tied to UI changes in Windows or in Labview proper? If so, is there anything that I can do to increase this resource? If not, then is there another approach that I should be using for these type of high throughput requirements?
    Thanks everyone!
    Adrian

    Hi Florian,
    Thanks for your response!
    I can try that - thanks.
    In terms of giving more, unfortunately, I am unable to post the actual code, or else I would have already. I will try to describe the problem as much as possible:
    I am processing data points in the FPGA, then transferring to the host. At the host, I am combining the elements together into a 2D array, transposing them, and sending them back to the FPGA. On the FPGA side, I am again operating on each element, before transferring back to the host. Now that the final values are at the host, I am displaying them.
    1. Is there a quick way to transpose a 2D array on the host? I assume that I will need to gather all of the elements together into a 2D array and then transpose it, before splitting it up again. Is that correct?
    When I split it out again, is there a faster way to do it than to auto-index this array in a for loop and feed that into a DMA FIFO back to the FPGA?
    2. My assumption is that the host cannot process things fast enough and that it is the cause of the dropped pixels. Is there a way to see where a buffer is dropping data during operation? Other than the 'timeout' states on the DMA FIFOs, is there a way to check on queues or other host constructs? Would this be purely through the queue 'get number of elements left' method?
    3. My algorithm is reliant on a transpose, which is why I have a back and forth between the FPGA and the Host. Do you know of a good way to apply a transpose on an array purely in the FPGA? That would eliminate a round trips and thus reduce a lot of the load on the host.
    Thanks for your help!
    Best,
    Adrian

  • Face time across multiple devices x 1 apple id

    I currently have the following devices: imac, ipad 3 and airbook all using the same apple id, and have set up seperate emails for each device, i.e. [email protected], [email protected] and [email protected] I have also set up a contact on each of the devices and within each facetime setting associated the relevant email address.
    However when i try to call from one device to the other some work and some don't, for example the imac to ipad does, but the ipad to imac doesn't, and the airmac to any doesn't work at all.
    The ipad is running IOS 6, has anybody else experienced this problem ? And any ideas how to fix this?      

    You're welcome.
    The answer is no per my previous post.
    She can access her own iCloud account and Apple ID on her devices without accessing your iCloud account and Apple ID on her devices which will resolve iMessages being sycned with her devices and your devices, but in order to install an app update for apps that were downloaded with the shared Apple ID will require entering the password for the Apple ID.
    iTunes accounts cannot be merged/combined, and DRM protection tied to one iTunes account cannot be transferred to another iTunes account.

  • Need to shift multiple objects across many frames

    I don't know if this is even possible, but what I'd like to
    do is shift multiple objects, in multiple layers, across multiple
    frames. The problem is that I built a complex animation as a movie
    symbol within the root movie. It got so complex, however, that I'd
    like to just go ahead and make it the main timeline for the root
    movie. But when I copy and paste the frames from the symbol back
    out into the root timeline, the location is wrong. Everything is in
    the correct location relative to each other element, but wrong
    relative to the stage. Is there any way to grab everything up in
    all of those layers and frames and just shift it all over to where
    it's supposed to be? Or can I somehow shift the stage under it?
    Thanks in advance.

    Edit Multiple Frames.
    it's in the help docs but also here:
    http://www.biteycastle.com/lessons/emf.htm
    --> Adobe Certified Expert (ACE)
    --> www.mudbubble.com :: www.keyframer.com
    -->
    http://flashmx2004.com/forums/index.php?
    -->
    http://www.macromedia.com/devnet/flash/articles/animation_guide.html
    -->
    http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
    thewizzard24 wrote:
    > I don't know if this is even possible, but what I'd like
    to do is shift
    > multiple objects, in multiple layers, across multiple
    frames. The problem is
    > that I built a complex animation as a movie symbol
    within the root movie. It
    > got so complex, however, that I'd like to just go ahead
    and make it the main
    > timeline for the root movie. But when I copy and paste
    the frames from the
    > symbol back out into the root timeline, the location is
    wrong. Everything is in
    > the correct location relative to each other element, but
    wrong relative to the
    > stage. Is there any way to grab everything up in all of
    those layers and frames
    > and just shift it all over to where it's supposed to be?
    Or can I somehow shift
    > the stage under it?
    >
    > Thanks in advance.
    >

  • Select multiple frames across multiple pages for photos frames

    Hi people!
    How can i select multiple frames across multiple pages? I want my images to fit the frames by one click. I do not want to go through each page one by one . There must be some way to solve this.. or? Cant find a options that can do that so far?
    Useing Adobe Indesin CS6.
    thanks!

    suppien_ wrote:
    How can i select multiple frames across multiple pages?
    You can't.
    You can do it in Find/Change box. Set desired Frame Fitting Options in Object section and run find/change.

  • Submit Multiple Job Definitions/Job Chains with same Time window/Submit frame in mass

    Hi,
    We have a requirement to submit multiple Job Definition/Job Chains which are part of common Time Window/Submit frame/Queue....
    Ex. We have over 50+ different jobs/job chains which will runs Monday to Friday for every 2 hours on same Queue "XXX_Queue".  Instead of submitting each job/job chain manually, we would like to know if we could use any script that can achieve our requirement? since we have couple of other jobs which fall under same scenarios...
    We are on M33.104 version. Please let me know if any one has any scripts or alternate way of submitting multiple jobs/job chains in mass.
    Thanks in advance!
    Nidhi.

    Hi Nidhish,
    Here is some code to set some stuff on a job:
    //Get the partition, for global this is not necessary as global is default
    Partition part = jcsSession.getPartitionByName("GLOBAL");
    //Get the job definition
    JobDefinition jobdef=jcsSession.getJobDefinitionByName(part, "System_Info");
    //Get the submit frame
    SubmitFrame sf = jcsSession.getSubmitFrameByName(part, "SF_Every_Year");
    //Get the time window
    TimeWindow tw = jcsSession.getTimeWindowByName(part, "System_Week_WorkingHours");
    //Set the start time
    DateTimeZone dtz = new DateTimeZone(2015, 10, 18, 15, 0, 0, 0);
    //Get the Queue
    Queue SystemQ=jcsSession.getQueueByName(part, "System");
    //Create the Job
    Job infoJob=jobdef.prepare();
    //Attach queue to job
    infoJob.setQueue(SystemQ);
    //Attach submit frame, time window, start time
    infoJob.setSubmitFrame(sf);
    infoJob.setTimeWindow(tw);
    infoJob.setRequestedStartTime(dtz);
    //Print out the jobid of the job
    jcsOut.println(infoJob.getJobId());
    //Submit the job
    jcsSession.persist();
    Regards,
    HP

  • Time Machine to back up across multiple disks?

    I've run out of space on my Time Machine disk because I have a lot of video stored on my system. (It's a 2TB drive and it's maxed out)
    Is there a way to set up to share the Time Machine back up across multiple drives? If not, any recommendations for how to address this issue?
    Thanks for any assistance!

    No, Time Machine backups cannot span multiple volumes.
    If you're doing a lot of video editing, and a lot of the backup space is taken up by intermediate versions, there are ways to minimize that.
    If you just have too much video, your best bet may be to get an additional external HD, and use a different app to back up the video files to it, and exclude them from being backed-up by Time Machine.
    Tell us a bit more about your setup -- how many drives/partitions, and how large, is Time Machine backing-up, and how much of that is video?    

  • Trouble with editing multiple frames

    Hi guys,
    I'm new to CS4 - learnt my flash many years ago on Flash 5. So anyway I'm trying to get used to the new Motion Tween function and having a few problems.
    I've created a simple animation where an object fades in, stays put for a moment and then fades out (one motion tween with 4 keyframes). I now want to resize the movie clip across all of these keyframes cos I got it wrong to start with.
    So I click 'Edit Multiple Frames' (everything disappears but that's for another question), drag the onion thingy across the timeline and select the frames on the layer I want to edit. I then click on the free transform tool and drag the invisible movie clip (you can see the outline!) to make it larger.
    Result? Well it seems to scale the first frame, but the others are all left at the original scale. Hence animation now shows object fading in whilst getting smaller etc. etc.
    There must be an easy way to do this. I've tried the motion editor but you have to do it keyframe by keyframe. Any suggestions?
    Thanks
    Ben

    Modifying an entire animation with motion tweens is not as easy as it used to be.
    Here's the best answer you are probably going to get.
    from : http://flashthusiast.com/2009/10/06/scaling-and-moving-new-motion-tweens-in-flash-cs4/
    Scaling an entire animation that does have Scale X or Scale Y animated.
    If you have previously scaled anything in the tween, doing this is applied to the first keyframe and the tween would animate to the earlier scaling (the auto-keyframing feature can be a detriment in this situation, especially when it comes to scaling due to the percentages being reset - for this reason Motion Presets also won’t help). In this situation, I recommend scaling using the Motion editor:
    1. Go to the Scale X and Y properties in the Motion Editor.
    2. Press the Alt key while dragging the curve in each graph up and down. This scales the entire scale animation at the same time (same as edit multiple keyframes).
    3. If you need to proportionally scale the motion path for the tween as well, select the path on the Stage and use Free Transform or enter a new value in the Transform panel.
    I have had success with the above method, but from what I can tell you can only do one property at a time on one object at a time. So it is an awful amount of work.
    As for step 2: while dragging the whole curve it seems the property value is very reluctant to snap to whole integers and I often see values like 200.35%.
    Same thing applies for dragging property keyframes up and down in the motion editor. Is there a way to get nice clean numbers? I I want to scale something by 50% I don't want 49.83% I find myself often keying in these values by hand.
    For me even though scale X and scale Y are "linked / locked / contstrained" It seems I get mixed results with this feature. Changing scaleX doesn't always change scaleY

  • WDS Across Multiple Offices with Multiple Computers

    Im trying to set up WDS to deploy windows 7 pro across multiple computers. I work in a company that installs computers for dental offices. We have a master image and at the time to prep all computers we clone that image using Acronis. Is there a better
    way to do this? Also will WDS allow me to deploy images to different types of PCs. Right now our image only works on newer computer but we constantly rebuild older PC's that get infected. Can I make a master Image that allows me to deploy it to any computer?
    Lastly, could I do something to be able to deploy this into our offices, if so how? Would I need to set up all those servers?

    Hi JDAM-00,
    Are you trying to
     create the universal image, which means .create a single image and deploy to multiple hardware. You were unable to create the universal image by sysprep tool it is not supported, but you can use MDT or WDS and inject drivers in the driver
    store then it's possible to deploy the image.
    The related information:
    Microsoft Deployment Toolkit
    http://technet.microsoft.com/en-us/solutionaccelerators/dd407791.aspx
    Microsoft Deployment Toolkit (MDT) Demo: Using MDT to quickly and efficiently deploy Windows 7 across your organization
    http://technet.microsoft.com/en-us/edge/gg552673
    MDT 2010 New Feature #19: Improved Driver Management
    http://blogs.technet.com/b/mniehaus/archive/2009/09/09/mdt-2010-new-feature-19-improved-driver-management.aspx
    More detail about the MDT question you can ask in the specific MDT support forum.
    MDT support 
    forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SpreadSheets, Linked Frames & multiple frames

    Yvan Koenig
    Wrote
    "You must select the frame as a block (with displaid handles) to be able to use the "Edit > Frame Info…" menu item
    Assuming that a frame is named "frame_1", the main sheet may grab data from it with a formula like:
    =[frame_1]!B3"
    This worked ok till I changed data in the original document that had a few frames attached? in these frames there was formulas that related to the original & then back to the original.( sounds confusing)
    ie. original doc was called "TestFrames"
    in "Frame 1" it has a formula in cell A5 "=TestFrames.cwk!A1"
    In "TestFrames" it has a formula in cell B6 "=[Frame 1]!A5"
    When I change the info in "TestFrames A1" it seems to crash AW's
    I don't supose I would do this in a real senario but was experimenting to learn how this new info can help me.
    Thanks for any assistance given previously & to come.
    Cliff
    NZ

    Hi Barry
    BF's techinique isn't limited to 20 columns x 50 rows
    Ahah I just found by inserting cells it expands the size of the Frame. Thanks for that that is very helpful.
    His example is of a 9 column x 10 row spreadsheet,
    consisting of a 'title row' in which the three column
    titles are repeated three times, plus three 3 column
    x 3 row mini-spreadsheets analogous to sheet 1, sheet
    2, and sheet 3 in an Excel SS document.
    This is were I get confused, are the column titles just like Date, Name etc. or can I rename A to AA or something that dosn't allready exist.
    Placing the three sub-sheets along a diagonal means
    that (other than the title row), no row or column is
    shared by more than one of the sub-sheets, thus
    allowing flexibility in adjusting the width and
    height of the columns and rows in each sub-sheet
    without affecting the others.
    Sorry for the ignorance but I don't understand this either.
    Incidently, the 'empty' cells (those that don't
    contain Ts, As, Bs or Cs in the example) are not
    displayed, but can be used for interim calculations.
    Or this?
    BTW
    I have never used ms exel for more than 5 minutes, so am not familar with Multiple Spreadsheets.
    Can a frame be linked to another across Ie.
    Frame 1 from A to F
    Frame 2 from G to Z
    etc.??
    As in the past I sometimes take a little time to get some of these things but often use the info often in future SS's
    Message was edited by: Cliff Peters

  • How can I display selected tags across multiple e-mail addresses?

    I receive email on a specific topic but via several e-mail addresses. How can I view selected tags where the resulting e-mails span several (7) email addresses. They are all active on my Thunderbird, but as far as I know, I can only display the selected tag on one of them at a time.
    Any assistance greatly appreciated as this is a very big problem for me.
    thanks, Ron75

    This solution does not appear to work across multiple e-mail addresses.
    Perhaps I should have said "work across multiple e-mail address at the same time. I get e-mail on specific topics via several email addresses and wish to view all the tagged emails regardless of which email account in which they reside.
    I could not get this solution to select more than one email account at a time.

  • Sharing one iTunes library across multiple accounts on the same Mac

    Hello, I've poked around at some of the posts dealing with sharing one iTunes music library across multiple accounts on the same Mac but it seems like this can only be done if the libary is moved to a shared folder. I realize this can be done but I was trying to share it the way it is described in a post on Apple support (See link below.). That post seemed to imply that you don't have to move the library from its original location (owned by account A, e.g.), rather just make a couple preference changes in the accounts, use fast user switching and voila. That doesn't seem to work. So my question is this: Is the only way to share one iTunes music library across multiple accounts on the same Mac to move it to a shared folder? I'm running 10.4.8 on an Intel iMac. Thanks in advance!
    http://docs.info.apple.com/article.html?artnum=93195

    After reading this and several other related threads, I am becoming thoroughly confused about all of this. I have a situation similar to the one that pokerpal described in the post dated January 7 at 8:06 pm, except that the music files on my system are located on an external hard drive. Everything else is pretty much the same though - I am the admin user (and the main iTunes user and maintainer) and my girlfriend is a standard user who has no music in her own iTunes library. She can see and listen to and make playlists from and sync her iPod with the music in this library from her account, and I can do the same thing, independent of her, from my account. And if I make a change to information within a song, she doesn't see it, and vice versa, and I understand that. What I don't understand is why when I add a song or an album to the music files by importing a CD or downloading something from the iTunes Music Store, she has no way of knowing that unless I tell her, and then she can add it to her library by using the "Add to Library" function. Is there no way of automatically updating her library files to add the new song(s)? We have almost 15,000 songs and videos in that library, and I don't even want to think about what might have to happen if the answer to my question is "no." Interestingly enough, if I put an update to a Word document in the same exact location (on the hard drive), we can update that and pass it back and forth all day - why is that such a difficult task for iTunes to accomplish?
    Sorry I went on so long, but this has been building up for some time, and none of the solutions I've read about here have really been of any help, so I'm a bit frustrated and, as I said at the beginning, confused.
    iMac G5, MacBook   Mac OS X (10.4.8)  

  • How do you split the print job across multiple printers to shorten the prin

    i
    Can any one you provide some information on below questions.
    Check printing by XML template (XML Publisher).
    1. When printing checks, how do you print the checks from one printer tray and the overflow remittance pages from another printer tray?
    2. When printing a large batch of checks using XML and PDF output, how do you split the print job across multiple printers to shorten the print time?
    I appreciate if you could give some information on above 2 questions.
    Regards,
    Ramarao.

    Probably sould just do them individually.
    How to get all the iWork apps, iPhoto, and iMovie for free on an eligible iPhone or iPad
    http://www.imore.com/how-get-all-iwork-apps-iphoto-and-imovie-free-eligible-ipho ne-or-ipad
    About Free Apple Apps for iOS 7 compatible devices
    http://support.apple.com/kb/HT5913
     Cheers, Tom

  • How to use TextFormat on multiple frames

    I must be missing something, but how on earth do I make it so
    that I can set TextFormats for the whole movie and not just the
    frame the actionscript is on.
    My movie is basically a video with cuepoints that trigger
    different keyframes that display text appropriate to what the
    person featured in the video is talking about. In other words it's
    like a powerpoint presentation that's run by an FLV file. Almost
    all of the blocks of text I'll be displaying are bulleted lists and
    since, for some odd reason, bulleted lists aren't available using
    the standard Flash GUI text formating tools I need to apply them
    via ActionScript. All the ActionScript is in its own keyframe at
    the beginning of the movie timeline. I've setup my text formating
    code like this:
    var bulletlist:TextFormat = new TextFormat();
    bulletlist.bullet = true;
    bulletlist_field.setTextFormat(bulletlist);
    While I have successfully applied this to a box of text on
    the first frame of the movie, I haven't be able to apply it to text
    on any other keyframe. So from what I can tell, I have to reference
    the above TextFormat actionscript for every frame I need to use it
    on, and since I can't have duplicate TextFormat values, that means
    I'd have to create a new instance with a new name for each frame.
    This seems rather inefficient and frankly ridiculous consider that
    the other ActionScript that I wrote seems to apply to the whole
    movie. And what's the point of using ActionScript to format text if
    you have to redo it for every *******' keyframe? Is there some
    function that I'm missing somewhere to allow me to use one set of
    TextFormat code on multiple frames or is this simply a dysfunction
    of Flash and/or ActionScript 3.
    Any help would be appreciated.

    Craig Grummitt - Why so it is. Thanks for pointing that out.
    But my point still remains: You can change the defaultTextFormat
    property before you assign the text property or you can use
    setTextFormat() after you have assigned the text property. That one
    is a property and the other is a method just makes it more likely
    that somebody will over look one or the other!
    fallenturtle - part of the issue is that really great
    typographic stuff is tough and most people can't even use the
    simple tools that we have. For use with CS4 and Flash 10 publishing
    they are coming out with a far more complex Text Layout Framework.
    As best I can tell it is insanely complex and I'm guessing most
    people will never use it....but who knows.
    Additionally you are trying to do one of the more difficult
    things: mix timeline with code. That always gets tricky. If you
    were just using code you could create one textformat instance and
    apply it to all your code-created text fields. But since each
    timeline created clip is a new one you will need to apply the
    formatting by hand.
    Or you could just have one timeline created text field that
    went across all your frames and then change its properties with
    code everytime you needed to change it.

Maybe you are looking for