Triggering _root.play(); event with a cuePoint
Hey folks.
Let me start by saying I'm an actionscript novice. I'm a
designer and a timeline guy... I've been able to get by with
actionscript by cutting and pasting so there are some fundamentals
that I don't understand.
Now that that's out of the way, I need some help. I have a
flv in the flvplayback component, instance name roy. I've embedded
a cuepoint via the parameters panel named it continue. It occurs
about 2 seconds before the end of the flv.
The root timeline stops on the frame where the flvplayback
component is located.
All I need is for ActionScript to tell my root timeline to
play(); once that cuepoint is reached.
And surprise surprise... it doesn't work.
I would greatly appreciate any help. And please keep in mind,
I know very little about actionscript...
Does anyone know if cue points can change the content being
called when the scrub bar is moved from end to end.
so let's say you have your embedded FLV playing along and at
cue point 1 you have slide 1 show, then at cue point 2 you have
slide 2 show.
That's all fine and dandy and exciting and users go ooooh and
aaaaah and you've just saved the world.
but then the user thinks to themselves, "hey, what did they
say about slide 1?" and at that point the most dreaded and feared
thing happens--they click the scrub bar and wrench it rapidly to
the left.
so what happens all ye powerful and omniscient Flash
Programmer Guru Video masters of the world gone yonder? does anyone
know?
I will buy the first person who can answer this question a
cold Extra Special Bitter Ale from Breckenridge, Colorado if you
come to Austin, Texas.
Similar Messages
-
Event triggered by multiple events
Hello!
I am working on interactive code in Adobe Edge. I created several function triggered by specific events. Now I need to write the final function. The symbol should play when several draggable elements are inserted into several drop boxes at the same time. Please, give me an example of how to write this function.
Here is the code:
yepnope(
nope:[
'js/jquery-ui-1.9.2.custom.min.js',
'js/jquery.ui.touch-punch.min.js',
'css/jquery-ui-1.9.2.custom.min.css'
complete: init
function init() {
var stage = sym.$("Stage");
// draggable
var Rectangle1 = sym.$("Rectangle1");
Rectangle1.css("position", "absolute");
Rectangle1.css("left", 50);
Rectangle1.css("top", 35);
Rectangle1.draggable({ disabled: false });
Rectangle1.draggable({ containment: stage });
Rectangle1.draggable({
snap: '.target1',
snapMode: 'corner'
// drop in box
var dropCase1 = sym.$("dropCase1");
dropCase1.css("position", "absolute");
dropCase1.css("left", 375);
dropCase1.css("top", 25);
dropCase1.on( "dropout", function( event, ui ) {
Rectangle1.css("background-color", "grey");
dropCase1.droppable({
accept: ".case1",
drop: function(event, ui) {
// change the color of the draggable item
Rectangle1.css("background-color", "blue");
//play the symbol box timeline
var box = sym.getSymbol("box");
box.play();
// adds visual when correct drops here
var Rectangle2 = sym.$("Rectangle2");
Rectangle2.css("position", "absolute");
Rectangle2.css("left", 50);
Rectangle2.css("top", 150);
Rectangle2.draggable({ disabled: false });
Rectangle2.draggable({ containment: stage });
Rectangle2.draggable({
snap: '.target2',
snapMode: 'corner'
// drop in box
var dropCase2 = sym.$("dropCase2");
dropCase2.css("left", 375);
dropCase2.css("top", 150);
dropCase2.droppable({
// accept only case 2
accept: ".case2",
drop: function() {
var box = sym.getSymbol("box");
box.play();
Thank you very much!
AnastasiyaThere are many possibilities. Attached is one simple example (LabVIEW 7.0) that does not use control references.
(If only one of the buttons can be active at any time. you could also use a single radio button as a control)
LabVIEW Champion . Do more with less code and in less time .
Attachments:
ComboEvent.vi 35 KB -
Trigger Animate Audio Event with Key Position
So I've got a long scrolling site that is supposed to trigger an audio event at a certain position.
Right now I've got an edge animate file in there that is set to trigger at a specific key distance, which it sort of does.
The issue is that the audio is triggered when I first load the page and then will trigger again only if I'm scrolling upwards.
The animate file has a couple alterations. The scene has an oncompletion event that says to pause the whole piece and autoplay is turned off.
I'm using Win 7 and Chrome if that makes any difference.
Any suggestions?
If there is a more elegant solution I'm open to that as well. This just seemed to make sense with my current workflow.
Thanks all!You would need to achieve this using JavaScript , add a snippet on event so that on complete load video file is played :
http://stackoverflow.com/questions/12680432/whats-the-play-event-on-a-video-html5-element
Thanks,
Sanjit -
ITunes crashes on attempt to play media with foreign characters
Recently, over the last few versions I have been unable to play any of my media that includes foreign characters, be it Asian characters or accented Roman characters. The fact of the matter is that upon attempting to play a song / audiobook / movie with a foreign character iTunes crashes.
I am using iTunes 10.6.1.7 on Windows 7 64-bit in English (UK) with non-unicode set to Japanese.
Windows crash report:
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.6.1.7
Application Timestamp: 4f71aced
Fault Module Name: amip.dll
Fault Module Version: 2.6.7.0
Fault Module Timestamp: 4b63548c
Exception Offset: 000b5954
Exception Code: c000000d
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Additional Information 1: 3191
Additional Information 2: 319160cfbcc1295d9ca9b4d448d8f7e3
Additional Information 3: 62c3
Additional Information 4: 62c3b5fb8ab287fc898b342b661d3806
The media with foreign characters syncs with my iPhone okay, and will play without issue on it; just iTunes is unable to play said media on my computer, which is highly frustrating.
I would be appreciative if someone has found and would share any work-around to this problem. Thanks.I still have no thorough concept on how I have solved this but I suppose if anyone else has encountered this issue I can share how I worked around it:
I changed my windows system non-unicode locale back to its default (English UK).
I then installed Microsoft AppLocale to handle the programs that would be affected.
For experimental reasons I then set my iTunes executable to have Japanese locale through the AppLocale program.
It now operates fine and will play files with foreign characters.
Try it if you experience the problem's I've been having. -
Terminating Event with Decision Step
Hi,
In our purchase requisition approval workflow, I need to have a decision step in which to prompt approver to either approve the req. or reject the requisition. In this decision step, I need for it to have terminating events for "SIGNIFICANTLYCHANGED", "RELEASE", "REJECT" and "RESET".
First, I copy the generic decision task 8267 to my my own custom decision task. Then I added a BUS2009 in the container, releasecode and other needed elements. In this custom decision task, I was able to add these terminating events that has been defined in the BUS2009. I was able to setup binding, except the one binding
Terminating Event -> Task
&_EVT_OBJECT& -> &_WI_OBJECT_ID&
Since the &_EVT_OBJECT& for the terminating event is BUS2009. And the custom decision task &_WI_OBJECT_ID& is DECISION business object. They're incompatable business object. So I replaced that binding with
Terminating Event -> Task
&_EVT_OBJECT& -> &PURCHASE_REQ&
After all the configuration has been setup. I created a new purchase requisition. Upon the RELEASESTEPCREATED event, it create a custom decision workitem in my agent's inbox. When I triggered the "RELEASE" event, it is however not terminating my custom decision workitem. The workitem still sits in the agent's inbox waiting to be execute.
Is it possible to setup terminating events for decision step? Any kind of suggestions or inputs would be greatly appreciated.
Thank you.
Jennifer Tran
System AnalystI will suggest you to create a fork with 2 parallel branch and 1 necessary branch. Put the approval step in 1 branch and the wait for Release step event in another branch in this way you can suffice your requirment.
Thanks
Arghadip -
Fee calculation triggered by an event.
Hi again to all,
We have a new request from our client, they want that the system calculates automatically a fee for any student which SC is changed. This means for example that if a student´s registration was to Architecture, in the minute you change that registration for Medicine, the systems launches a fee recalculation.
I have explored the SPRO and found:
Campus Management -> Student accounting -> Fees -> Event-triggered fee calculation
My problem is that there are no examples in how to configure the 4 items in there.
In redefine event types for SAP Business Objects, I tried this:
Object type CS
Infotype 1771
Subtype 0001
Update op. UPD
Object tyoe PDOTYPE_ST
I tried to use the the function module CMAC_FEE_CALCULATE, but i get the next error
"Interface for function module does not follow convention"
Could someone send me an example of how can this be done.
Thanks
SergioHi Michael,
Do you know which is the sub-type for SC related to the student?
I have been doing some tests with this configuration of the Infotype opertation
- Object type: ST
- Infotype: 1001
- Sub-type: A513 (pursues)
- Update op:
- Activity:
- Sequence no.: 0
Event Data OBJECT TYPE: PDOTYPE_ST (THIS IS MANDATORY) (student)
Probably I´m expecting something which is not correct. What I´m expecting to see is the following:
If I have a student which has registration to a certain SC and has already a fee calculation, and then I cancel the registration for the SC, I would like to see the financial info and watch that what owed is now canceled, (without doing it manually), afterwards If I register this same student to different SC I´m expecting that the system has already calculated the fee automatically.
Is this possible? Am I expecting too much from the fee calculation triggered by an event process?
How does it works??? Do it cancel fees if student unregister from SC or SMs?
Thank you
Sergio -
Workflows triggered by an event
Hi,
A BOR object-event is linked to wait steps in more than one workflows.
I have the BOR name and its event name with me.
How can I find the list of all the workflows whose wait steps are triggered by this event ?
Thanks in advance.
Regards
AnanyaHi ,
For that you would have to set Metadata Only check-in which does not need a primary file . What it does is use the check-in form details and creates a file by itself (without having used any primary file) and creates the assets .
So , from the WF point of view there need not have any changes . Only thing is from WCC check-in side .
For details please check the following links:
https://blogs.oracle.com/kyle/entry/check-ins_without_files_ucm
Uploading Documents - Release 11g (11.1.1)- section 18.4.1.7 - Tip
Hope this helps .
Thanks,
Srinath -
Checking triggering of an event!!!
Hello All,
An event with name ZEVT_01 is created. Which should get triggered after an ODS is activated.(after data load). This ODS is the source ODS.
How do I check if that event is getting triggered.
I have an Process Chain, which should start after that event is triggered. But, looks like this is not working. After doing a data load into the ODS ( data load with 0 records), and after activating the ODS, the process chain should start. But, the process chain does not start. ( it is in active version.).
Would appreciate your earliest reply.
I promise to award points.
Thanks.
PKHow are you triggering the event? ABAP program?
Can you start the process chain by manually triggering the event through SM64?
If your process chain is active, is it also scheduled? Check the Start variant of the process chain. For Direct Scheduling, it should be flagged to start After Event and the <b>Periodic flag</b> should be checked so that the process chain will reschedule itself.
Hope this helps -
Is it possible to pass an argument to the function triggered by an event handler?
Hello All,
Trying to migrate my way of thinking from AS2 to CS4/AS3.
Ok, I have 2 buttons on the stage. Each button does almost
the same thing, so I want to create a single function, and each
button calls that same function (we'll name that function
"Navigate")... however, the function will need to end up doing
something different dependant on which button was clicked.
So, previously, in AS2, I would've added some code onto the
buttons themselves with on(release) methods (see CODE EXAMPLE 1)
So, each button effectively calls the Navigate function, and
passes a different frame label to the function.
Now, I'm trying to recreate this functionality in AS3. As you
all know, on(release) has been done away with (still don't know
why), but we now have to use event handlers, so I'm trying to
figure out a way to pass a different frame label argument to the
Navigate function. Currently I can achieve that by using a switch
statement to test which button was clicked, and act accordingly
(see CODE EXAMPLE 2).
In this over-simplified example, this works fine, but in the
real world I'm going to have more than 2 buttons, and the Navigate
function would probably be much more complicated...
So, I would like to be able to pass an argument(s) (like in
the AS2 example) to the Navigate function... perhaps in the
addEventListener() method? I tried this, but got compiler errors
(see CODE EXAMPLE 3):
The Million Dollar Question:
Is it possible to dynamically pass/change an argument(s) to a
function which is triggered by an event listener? (Or is the event
that triggered the function the only argument you can have?)
If this isn't possible, I'd greatly like to hear how you
folks would handle this (other than having a switch statement with
12 cases in it)???I've found a couple solutions that I'll post below for
prosperity...
You could create a Dictionary keyed by the prospective event
targets and store any information in there you want associated with
them. Then the navigate function can check that dictionary to get
it's parameters:
// Code //
Button1.addEventListener(MouseEvent.CLICK, Navigate, false,
0, true);
Button2.addEventListener(MouseEvent.CLICK, Navigate, false,
0, true);
var buttonArgs:Dictionary = new Dictionary();
buttonArgs[Button1] = "FrameLabel1";
buttonArgs[Button2] = "FrameLabel2";
function Navigate(e:MouseEvent):void{
gotoAndStop(buttonArgs[e.target]);
This in my eyes, is about the same amount of work as writing
a long switch statement, but a little more elegant I suppose.
I had a little trouble understanding the next solution,
because I didn't quite understand an important piece of information
about event listeners. The addEventListener () requires a Function
as the 2nd argument passed to it.
It didn't quite click until someone pointed it out to me:
Navigate is a Function...
Navigate("FrameLabel1") is a Function
call...
So by writing just
Navigate, I'm not actually calling the function at the time
of the addEventListener call, I'm just supplying the event listener
with a reference to the name of the function. Then, when the
listener is triggered, the listener will call (and pass a
MouseEvent argument to) the Navigate function.
Conversely, by writing
Navigate("FrameLabel1") as the 2nd argument, the event
listener trys to execute the Navigate function at the time the
addEventListener is instantiated. And, since, in this example, the
Navigate function returned as ":void" a compile error would occur
because as I stated, an event listener requires a Function data
type as the 2nd argument. This would basically be like writing
addEventListener(MouseEvent.Click,
void, false, 0, true)
However, there is a way around this... basically, instead of
defining the Navigate function as returning a void data type, you
define it as returning a Function data type, and then nest another
function (which actually contains the actions you want to perform)
inside of it.
Button1.addEventListener(MouseEvent.CLICK,
Navigate("FrameLabel1"), false, 0, true);
Button2.addEventListener(MouseEvent.CLICK,
Navigate("FrameLabel2"), false, 0, true);
function Navigate(myLabel:String):Function{
return function(evt:MouseEvent):void{
gotoAndStop(myLabel); -
Fork : triggering and terminating event ?
Hi Experts,
I am a begginer in Workflow ..
I just want to know how Fork can be used for paralled processing with triggering and terminating event.
It would be appreciated if provided with some scenarion in detailed steps.
Thanks in advance.
Ganesh..Mike,
It would be HELPFUL for me if i get my problem solved as earlier so i can concentrate on other my commited topics..thats why expecting info., from the experts.
Anyway , you triggered me to read SAP help..thanks for the indirect motivation..
Let me start reading the SAP help information!!!
Thanks .
Ganesh -
in ical I just added new calendars to a pre-existing calendar group, I can make events with these calendars, but not reminders, any suggestions?
Hi,
Lion has changed the way reminders (todos as was) work. They now seem to need to be in a seperate calendar.
In iCal open the File menu and select New Reminder List... and select where to put it.
Best wishes
John M -
i currently have a calendar synced that has events scheduled in perpetuity, scheduled as individual events. I would like to delete all events with the same title. I do not want to delete the entire calendar nor do I want to go into every event and delete individually. These were not scheduled by me so I do not know how they were added one by one and go on forever but they are NOT scheduled as reoccurring and thus must be modified individually.
I can do a search and find all events, is there a way to just delete all events with the same title all at once?
this is a Microsoft outlook synced calendar and I am seemingly unable to delete the events all at one time from Microsoft as well.
Please help!If you still have access to the Outlook calendar in Outlook, I would delete them from there. There are a number of ways to do that, but if you open the individual event in Outlook, does it show a repeating pattern? If not, then you may have to delete them individually, but that is not that difficult either. Go into the calendar and then change the view to a list view. From there you can sort the view according to subject. This should bring all of these same appointments together in the list and you can select the group in Outlook and delete them. Once you do that, you can change your view back and then sync the phone. That will remove the events from the phone.
-
First, let me say I have the latest version of Firefox and Adobe Flash Player and Java Script. When I click to play Words With Friends (on pc) my computer starts racing and sounds loud and every thing freezes. If I try to click on slider or anything else, it says Mozilla Firefox (not responding), then it takes several minutes and a box pops up that says something about a script, do I want to continue or ?(I can't remember), after I click continue, I can play the game, but, at any given time Firefox will stop responding again!! A box also pops up from AVG saying that Firefox is using too much memory. Just an aside, I can play Scrabble on Facebook without any problems whatsoever. Please help, it is driving me crazy. Thanks
Sounds that you are missing the plugin that is used to play those videos embedded in Firefox.<br />
Your system details list doesn't show any media player plugin, so you will either have to check if the plugin(s) are installed, but disabled or install missing plugins.
*https://support.mozilla.org/kb/Popular+plugins
You may need the new WMP plugin (np-mswmp.dll) because Flash always uses a dedicated player to play the videos and would never offer to save videos directly unless an extension is used.
* https://support.mozilla.org/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
* http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin -
i can not watch videos while at home and connected to wi-fi. when i touch the video i want to watch a screen comes up with a play symbol with a line through it. i can disconnect from the wi-fi and go to 3g and the video will play. this is happening when i go to safari and try to watch a online video.
here's the info you needed:
windows xp professional
mozilla 3.0.19
explorer 8.0.6001.18702
still having the same problem unfortunately. i appreciate your help thus far and hope you have more info. thanks a lot. -
I want to play a single song in iTunes on my ipad and have the track stop when the song finishes, rather than itunes playing the next track. I play guitar with the track and need iTunes to stop at the end of the song.
I have worked around this issue by creating a separate play list for each song, then inserting the song into the play list. I would like to find a more straight forward solution that would eliminate this extra step. On my PC, I use QuickTime to bring up an individual song and then can play one track at a time.
Thanks!On the IPod if the shuffle icon is colored blue it is ON, if it is colored white it is OFF. This control is global, if it is ON any album or list will be shuffled.
Maybe you are looking for
-
Satellite M55 -The CD-rom got un-installed suddenly
Hi all, I've got a Toshiba notebook - Satellite M55 5325 and been using it for couple of years and found it working quite good so far. Just few days ago, there was some problem with the CD-rom with the symptoms as follows: - I don't see the DVD/CD dr
-
Message interface not listed in integration directory
hi, i have created 2 interfaces inside my message interface........ both are outbound.....!! i am actually doing 2 scenario's inside the same name space...... when i go to integration directory i am no able to get one of the message interface's while
-
How can we save multiple IDocs as a single Flat file in R/3 system ?
Hi, How can we save Multiple Idocs as a single Flat IDoc in R/3 (Not xmlized) Kulwinder
-
I'm having trouble updating my software. I can't use my new iPhone 5 without updating my iTunes without updating my OS X 10.5.8. Please help
-
Upgraded from 10.6.3 to 10.6.4, and started getting the "Unsupported Image Format" problem in Aperture again for my RAW DNG files from a Pentax K-x. The previous fix was to remove the Raw Compatibility Upgrade, and reinstall the 3.0 version. (3.03 wa