How can I have keyframes on one layer proceed while using the gotoAndStop function?
I have a Flash presentation that allows me to pair videos with the slides using a nice piece of ActionScript. The presentation advances to the slide on the next keyfram when the viweer clicks the "next button" and the video for that keyframe (on a separate layer) begins playing.
owever, I am now trying to pair two slides with the same video without having the video restart or requiring the viewer to click the"next slide button" I was hoping I could just turn the two slides into a video clip, convert it into a symbol and insert the symbol in place of the static slide, but nothing seems to happen. I'm wondering if the "gotoAndStop" function in the ActionScript is preventing it from playing.
Any thoughts on how I can have the presentation be controlled by the next and previous buttons most of the time, but have the exception of one slide that changes on its own? The relevant (I believe) code is below.
Thanks!
Julien
// FUNCTIONS AND LOGIC
function fl_prevSlide():void
if(slides_mc.currentFrame > 1)
slides_mc.gotoAndStop(slides_mc.currentFrame-1);
if(transitionOn == true)
fl_doTransition();
if(pageNumberOn == false)
slideNumber_txt.text = "";
} else {
slideNumber_txt.text = String(slides_mc.currentFrame + "/" + slides_mc.totalFrames);
function fl_nextSlide():void
if(slides_mc.currentFrame < slides_mc.totalFrames)
slides_mc.gotoAndStop(slides_mc.currentFrame+1);
if(transitionOn == true)
fl_doTransition();
if(pageNumberOn == false)
slideNumber_txt.text = "";
} else {
slideNumber_txt.text = String(slides_mc.currentFrame + "/" + slides_mc.totalFrames);
Try this code. Replace FLVmovie with the instance name of your FLV & set the time to when the frames shoudshould advance.
import flash.events.Event;
this.addEventListener(Event.ENTER_FRAME, checkTime);
function checkTime(e:Event):void {
if (this.FLVmovie.playheadTime >= 15) // This is the playhead time in seconds
this.gotoAndStop("frame label or frame #");
this.removeEventListener(Event.ENTER_FRAME, checkTime);
Similar Messages
-
I want to have a master waveform graph (or chart) capable of displaying data via the value property node. There are several value nodes in a flat sequence structure. The problem is that the graph (or chart) doest keep the previous data and does display just the very last value property node. Can anybody help me?
A graph does not "keep" any data. It is strictly an indicator which displays the most recent values written to it.
A chart has an internal buffer, called, Chart History which retains previously written data until the buffer is full. Then it removes the oldest data when new data is sent to the chart.
1. Sequence structures are almost never needed in good LabVIEW programs. They defeat dataflow and limit parallelism.
2. Value property nodes (and local variables) should only be used under special circumstances and a sequence structure is not one of those.
A state machine with shift registers or a Producer/Consumer architecture are more likely to be better ways of doing what you are trying to do and can be implemented without sequence structures or Value property nodes.
Lynn -
I am playing Clash of Clans on my iphone and on my iPad. I would like to connect each of my games to a different Game Center ID so I don't lose them if something happens to my device, but I can't figure out how to do that without creating new Apple IDs for each device and I don't want to do that. Any advice? Can I have more than one Game Center account under the same Apple ID? If so, how do I set it up? Thanks!
If you use the same account see the following to separate Messages and FaceTime between the two iPod see:
MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime -
I have downloaded IOS7 on my iPhone and all calendar events have disappeared. The general functions of the calendar have changed and are definitely not 'user friendly'. How can I retrieve my calendar events. Will Apple improve the calendar function or revert to the previous system. Even the typing function on IOS 7 is faulty - very slow to respond to the keyboard. I no longer enjoy using my iPhone. Can anyone assist. Thank you
Very strange! All of my calendar events have reappeared. This has happened one week after downloading iOS 7
The calendar however, is not easy to use.
The typing function on the phone has become even slower. Have to wait for each letter to show on screen. -
can 2 different users with 2 different Iphones use the same itune program to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?
Here is your answer:
http://support.apple.com/kb/HT1495 -
my ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.
The biggest problem I have is with cross texting. My friends send my a imessage on ipad to ipad and it comes up as message on my husband's phone as well as my ipad?
My friends definitely do not want my husband seeing their texts. (and I dont really need him to see my responses either)
Also, apple id is based on my email account, how do I create a new apple id without setting up a new email account? -
How can i have a copy of my iphone applications in the itunes?
how can i have a copy of my iphone applications in the itunes?
Check out the part of this article that deals with the error (-50)
Advanced iTunes Store troubleshooting -
Any guys know how can I have a bigger thumbnail of indesign file on the bridge!
Any guys know how can I have a bigger thumbnail of indesign file on the bridge!
The slider works for me in Bridge CC. What version of Bridge are you using?
-
I need to deactivate two old computers and reinstall CS3 on two new computers. How can I do this if one is long gone and the other just crashed?
contact adobe support and request an activation count reset, http://helpx.adobe.com/x-productkb/global/service1.html
-
i changed my number along with my sim card and imessage will not recognize my new number. how can i have imessage forget my old number and use my new number?
i have tried signing out of imessage and signing back in. (when i do that and am asked to select my email adress, i see my new number but it is greyed out and i cant select it)But under send and receive, my old number is still displayed while my new number isn't.
-
hello good morning ....how can I have all my PDF files in Ibooks at the same time in my iPad and my iPhone, Thanks.
That's exactly how it's going to work. Unless you've set up separate iTunes playlists for your devices, the books will be deposited the books section on iTunes, and will appear as PDFs.
As Gus2259 said, you can use iCloud or Dropbox, or transport it through iTunes via an attached computer, or even use a cable. -
how can i print out a full sheet of labels using the same contact info numerous times, mailing labels
Are you using DesignPro from Avery? You should.
It gives you the option to print individual labels or all the same: -
How can you sync ipad 2 photos to pc not using the cable or icloud sync?
How can you sync ipad 2 photos to pc not using the cable or icloud sync? Is there a way to do this via wi-fi network, How can you sync ipad 2 photos to pc not using the cable or icloud sync? Is there a way to do this via wi-fi network
Thanks for that, that was my first suggestion but he wants to not email either. His problem is he used his old nokia to do it and it was fine, now anything other than that he thinks is too much hassle.
-
How can I continue listening to a YouTube video while using another app?
How can I continue listening to a YouTube video while using another app?
How can I continue listening to a YouTube video while using another app?
-
How can I resize an image without losing resolution or using the crop tool? I am using Photoshop Elements 13 on a PC.
Hi Peru Bob,
I've tried two images, the results were:
Image 1
Jpg, original file size 923KB, dimensions 848px x 279px.
After resizing to 848px x 180px with 72dpi, the file size decreased to 164KB.
Image 2
Jpg, original file size 809KB, dimensions 1200px x 1800px.
After resizing to 668px x 722px with 72dpi, the file size decreased to 307KB.
So, there seems to be a fair file size loss - is this to be expected?
Maybe you are looking for
-
When downloanding in safari it keeps quiting unexpectedly.
when I am downloading....like trying to download another program....my safari quits unexpectadely. I have also had this problem when I was trying to login to another website. I can't even download another web browser so that I can visit my employers
-
How to display the bw-variables in webi Filter
Hi,everyone, When I set default values ( ex. last month ) to BW-variables in the BW enhanmance, this default valuse can not display in webi. I use the routing: BW-QUERY --> Universe --> webi. So I hope to display the BW-variable in the Webi fil
-
Trouble connecting report to Datasource
I have a report in Central Management Console and when i try and view it I enter in the parameters and then it asks for my database username and password. I have entered these repeatedly and I receive no error but the same screen keeps showing up.
-
No warning before moving the ~/Library folder...
OSX 10.7.3 on Macbook Air 13.3' i5 1.7Ghz 128GB. Yesterday I was working on a Finder window opened on my ~/Library. As I accidentally dragged the icon displayed in the Title area, the OS lost my user settings... I quickly realized that my action caus
-
Sharing photos into one archive
We have three Macs with three different iPhoto libraries. They are all set to share photos. Is there a way to archive ALL the photos on these computers? When I select my laptop library and drag it to my iMac library, it pulls up the warning about dup