Controlling an FLV with a DW behavior
Is there piece of Javascript, or better yet, an extension out
there that I can use to control an FLV in a DW page?
I am developing e-learning pages using Dreamweaver, where
video #1 plays and the learner has to answer a question about it.
When they click a "Check My Answer" button, I want video #1 to stop
so I can play video #2.
The "Control Flash" behavior doesn't work on FLVs.
Thanks,
Mary
On Fri, 14 Jul 2006 20:41:43 +0000 (UTC), "maryhowe"
<[email protected]> wrote:
> I am developing e-learning pages using Dreamweaver,
where video #1 plays and
>the learner has to answer a question about it. When they
click a "Check My
>Answer" button, I want video #1 to stop so I can play
video #2.
>
> The "Control Flash" behavior doesn't work on FLVs.
The Control Flash, or any other JavaScript solution, is
unreliable at
best. Your best bet would be to put the button in the Flash
movie, and
have it load the second movie.
Gary
Similar Messages
-
Controlling external flv with ActionScript
I'm using the NetStream Class to control the playback of an
external flv. I've got a Pause/Play button using .pause, and Fast
Forward and Rewind buttons using .seek. What I want to do is once
the video is done playing to automatically reset back to the
beginning of the video, allowing the user to press play to view the
video again without having to reload the page. Right now when the
video finishes, the user has to rewind the video in order to watch
it again. I thought I could use .time to determine when the video
reaches the end to go back to "0" in the video playhead but so far
I have not been able to get this to work. Any ideas would be
appreciated. Currently everything is done in frame one of the swf.
Thanks.>>I think obviously there is a difference between FMS
and Flash MX04. The documents I
>>refer to are built into the help menu in Flash 7 and
8 both include the onStatus event
>>and absolutely no onPlayStatus event.
Yeah you're right onPlayStatus isn't in the NetStream class
Flash documentation as this is more about using this class for
progressive download, whereas the documentation i linked to
referred to the NetStream class used in FMS Client-side scripting
for streaming video.
>>I made a mistake. I meant NetStream.Play.Stop –
which was very poorly named. That
>>is what onStatus will return when it reaches the end.
It isn't really "stop" it is "complete."
>>So I tend to read it as such!
NetStream.Play.Stop does seem to be very similar to
NetStream.Play.Complete in progressive downloads. however i know
you can't guarantee that NetStream.Play.Stop occurs at the same
time as NetStream.Play.Complete in a streaming video through FMS,
as a NetStream.Play.Stop can occur for reasons other than
completion.
>>...My guess is that when they took the bits from FMS
into Flash MX04 they didn't do a
>>very good job. They purposefully renamed onPlayStatus
to onStatus...
onStatus does still exist in FMS Client side scripting...
>> – with a limited variety of events returned
(What is Switch?)
switch refers to playlists - only relevant to FMS streams.
Anyway, it appears as though all of this talk of the FMS is
moot regarding the original poster, as I've just had a look at
skauty's posts in the Flash Media Server forums, ironically, and
discovered that skauty is using progressive download and not FMS...
Simple but important distinction... -
Control 2 flv movies with one button
Hello,
I am not even sure this can be done, but I am trying to
control 2 flv's with one set of controls. The reason; We have
footage of a talking head as one flv and footage of a microscope.
Basically, the guy talks and moves the microscope around. These 2
flv's have to be synched b/c the guy is talking and showing how
things look under a microscope (the original footage was shot at
the same time using 2 different methods - I imported both in
Flash). So, my quandry is that I need one set of controls for both
these flv's b/c if you pause the talking head, you also have to
pause the scope. I tried to make both flv's a movie clip and
control them that way, but got no where with that. I also tried to
build my own skin with a Play and Pause Button for now, but only
got as far as the code below. Basically, I can control one flv
component, but not both at the same time. Any ideas would help - I
am not sure if this is an AS issue, or a complete design issue, or
if it can even be done at all - thanks much in advance...
JasonI have discovered that what I wanted to do above is not possible in Livecycle. The only thing that works in the Livecycle script editor is the xfa.host.print from what I found.
I was able to add a print button to a form that I scanned in that enabled me to print at 2 different printers at the same time. What I did was to first set up a mouse up action to execute a menu item (file>print) and then I added a second mouse up action to run the JavaScript below
var pp = this.getPrintParams();
pp.interactive = pp.constants.interactionLevel.automatic;
pp.printerName = "\\\\DPDSVR\\Xerox WorkCentre 7435 PCL6";
this.print(pp);
This resulted in me being able to print to my default printer (HP) and the Xerox with just one click of the button. -
Hello,
I have an Spanning tree problem when i conect 2 links from Switch DELL M6220 (there are blades to virtual machines too) to 2 links towards 2 switches CISCO 3750 connected with an stack (behavior like one switch for redundancy, with one IP of management)
In dell virtual machine is Spanning tree rapid stp, and in 3750 is Spanning tree mode pvst, cisco says that this is not important, only is longer time to create the tree.
I dont know but do you like this solutions i want to try on sunday?:
Could Spanning tree needs to work to send one native vlan to negociate the bdpus? switchport trunk native vlan 250
Is it better to put spanning-tree guard root in both 3750 in the ports to mitigate DELL to be root in Spanning Tree?
Is it better to put spanning- tree port-priority in the ports of Swicht Dell?
¿could you help me to control the root? ¿Do you think its better another solution? thanks!
CONFIG WITH PROBLEM
======================
3750: (the 2 ports are of 2 switches 3750s conected with a stack cable, in a show run you can see this)
interface GigabitEthernet2/0/28
description VIRTUAL SNMP2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 4,13,88,250
switchport mode trunk
switchport nonegotiate
logging event trunk-status
shutdown
interface GigabitEthernet1/0/43
description VIRTUAL SNMP1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 4,13,88,250
switchport mode trunk
switchport nonegotiate
shutdown
DELL M6220: (its only one swith)
interface Gi3/0/19
switchport mode trunk
switchport trunk allowed vlan 4,13,88,250
exit
interface Gi4/0/19
switchport mode trunk
switchport trunk allowed vlan 4,13,88,250
exitF.Y.I for catylyst heroes - here is the equivalent config for SG-300 - Vlan1 is required on the allowed list on the catylyst side (3xxx/4xxx/6xxx)
In this example:
VLANS - Voice on 188, data on 57, management on 56.
conf t
hostname XXX-VOICE-SWXX
no passwords complexity enable
username xxxx priv 15 password XXXXX
enable password xxxxxx
ip ssh server
ip telnet server
crypto key generate rsa
macro auto disabled
voice vlan state auto-enabled !(otherwise one switch controls your voice vlan….)
vlan 56,57,188
voice vlan id 188
int vlan 56
ip address 10.230.56.12 255.255.255.0
int vlan1
no ip add dhcp
ip default-gateway 10.230.56.1
interface range GE1 - 2
switchport mode trunk
channel-group 1 mode auto
int range fa1 - 24
switchport mode trunk
switchport trunk allowed vlan add 188
switchport trunk native vlan 57
qos advanced
qos advanced ports-trusted
exit
int Po1
switchport trunk allowed vlan add 56,57,188
switchport trunk native vlan 1
do sh interfaces switchport po1
!CATYLYST SIDE
!Must Explicitly allow VLan1, this is not normal for catalysts - or spanning tree will not work ! Even though it’s the native vlan on both sides.
interface Port-channel1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,56,57,189
switchport mode trunk -
Controlling flash presentation with voice over and animation
Hi everyone,
I have a project coming up where I will have voice over to
explain some animation that will appear on stage. It is basically a
explanation of what a company does, services they offer...etc.
Can anyone point me in the right direction on where to start
something like this? So that my final project has a prev, next,
stop, play, pause buttons and all of these affect the animations
and voice overs. I suggested to make this on video and bring it
into flash using a video player, but they want it to be into a
single SWF to put on their website.
Any help would be great!
Thank you,
Rafa.kglad,
That is what I ended up doing after posting. I made a little
demo for my client showing him how well it was running as an FLV
and mentioned the possibility of losing sync if we went the other
way.
They were not to impress with the default player controls
that come with flash. Do you know of any good tutorials on building
custom controls (scrub bar, play/pause, prev, next...etc)?
thank you,
Rafa. -
Hi.
I want to have a video imported in flash and controlled
through action script for pause and resume actions and maybe
replay.
I converted a .mov into a .flv and imported the flv in flash.
I did it that way because i need it to be in a certain spot with a
mask and only pauseble by click.
So is there any way to control the flv by click or i have to
load at runtime the whole thing and trigger it through action
script?I have followed Dean's instructions but the Flash progress
slider and volume
slider's that are in Flash don't really work. You can click
on them and
drag them about a pixel but it seems as though Director is
grabbing the
mouse event before you can finish dragging the slider. The
play/pause
button in Flash works fine, I'm guessing because a single
mouseDown/mouseUp
gets through.
"womp" <[email protected]> wrote in message
news:g2u2gu$btj$[email protected]..
>I have a project where I'll be given FLV files. Which is
the best way to
>implement them.
>
> 1) add them to SWF files and use Lingo to control the
video?
>
> 2) create a self contained Flash file with all video
controls and use it
> as a sprite in Director?
>
> 3) use the FLV's by themselves, imported into Director
with Lingo
> controlling them?
>
> Thanks for any help
>
> Craig
>
> -
Can I use ARD to control my mac with Back to my Mac service?
Can I use ARD to control my mac with Back to my Mac service?
The with Back to my Mac service on you see your mac in the Shared column, hit Share Screen & your good - on ARD I don't see my remote Mac listed anywhere in that program.
ThanksARD, to the best of my knowledge, does not work via Back To My Mac. Certainly it's not an direct or obvious feature, though I can't say that there might not be a workaround I've not heard of.
-
I have a text control string box with some initial text (says: Please enter Name). I would like the operator to click on the text control box and have it automatically highlight so that when new data is typed in the old erases (all at once) and the new data is now in the text box.
I tried using the "Text.Selection" property node and when I run it and put the mouse inside the text box the initial text is highlighted and if I press "delete" on the keyboard or if I start to type in new data the initial data does delete but once I start to type new characters they erase each other. For example if I want to type in “Willi
am” I type the “W” and then the “I” but the “I” erases the “W” and now I am only left with an “I” in the text box and so on. I appreciate any helpIt seems you are continuously setting the property node over and over again. This should only happen once if you mouse over it.
Create a property node for your text control with the following three items:
(1) KeyFocus (wire a "true" constant to it)
(2) Text.SelStart (Wire a "zero" constant to it)
(3) Text.SelEnd (Wire a constant containing the string length of the text).
Put this property node inside an event structure, triggered by "Mouse enter" on the string control.
(see if the attached example works for you)
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Enter_Name.vi 23 KB -
I have a late 2011 OS X Lion 10.7.4 that is only 6 months old. For the first 4 months I had no problems, but then about 6 weeks ago I downloaded an Angry Birds update from the Apple App Store, and my problems began. When playing Angry Birds the the new Angry Birds update for the first time the cursor began to jump around, moving on it's own as if someone else was controlling it. After a few moments I became obvious I could not control the cursor with the trackpad. When I placed the tip of my finger gently in the center of the trackpad to try to hold the cursor still it becan switching from the game (desktop) to launchpad and mission control. I then put the computer down so I was not even touching it, walked several feet away and the cursor still moved on it's own.
I've done a lot of research over the last few weeks on related articles and realized this is a common problem with numerous different causes: PRAM settings,
screen sharing, remote settings, having fingers accidently touch edges of trackpad, writst resting too close to trackpad, swollen battery, etc. and I don't think it's due to any of those issues.
The problem came out of nowhere. My computer stays at home, and is not used by anyone else. At first it was just Angry Birds, but now it can happen at any time. Sometimes hours or days go by when this does not happen, sometimes it happens so much I can't use the computer at all. It can get so bad that I won't be able to click out of whatever I'm doing on my desktop, and I'll have to shut it down by holding the power button.
Has anyone else had this issue after updating Angry Birds?try a new/fresh apple brand cable and make sure it is the only usb cable in use. this worked for me, i noticed i had no problem with a lighting cable. i did a restore from scratch and from backup and it did not help me...and if you cant sync than you wont be able to get anything but apps back after the restore
-
WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
Thanks.
Solved!
Go to Solution.I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O. -
How to load and display the external flv video files in dynamicly and the how to control the flv fil
How to load and display the external flv video files in dynamicly using AS 3.0
and How to control the flv file add the play paus button and add seekbar.
I have using to load the flv file following code
var flvPlaceHolder1:MovieClip = new MovieClip();
var vid1:Video = new Video(734, 408);
flvPlaceHolder1.addChild(vid1);
addChild(flvPlaceHolder1);
flvPlaceHolder1.x = 1059;
flvPlaceHolder1.y = 152;
var nc1:NetConnection = new NetConnection();
nc1.connect(null);
var ns1:NetStream = new NetStream(nc1);
vid1.attachNetStream(ns1);
var listener1:Object = new Object();
listener1.onMetaData = function(evt:Object):void {};
ns1.client = listener1;
ns1.play("GV-1600 TURNING.flv");
ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
function statusChanged1(ns1:NetStatusEvent):void
trace(ns1.info.code);
if (ns1.info.code == 'NetStream.Buffer.Empty')
trace('the video has ended');
removeChild(flvPlaceHolder1);
//trace('removeChild');
gotoAndPlay(1786);
then how to add the play,paus ,full screen button and seekbar,volumebar.I have to Create the flash presentation for our company product
In this presentation the left side the text animation are displayed then right side the our product video is displayed.
In this presentation i need the following option :
1, The first product video and animation is finished then the next product is played
2, then the video displayed (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
3, then the playing video i control it play, stop, paus button and volume bar, seek bar.
4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
I have finished first two steps 1 and 2
the following are the screen short and code:-
code :-
var count=0;
var flvPlaceHolder2:MovieClip = new MovieClip();
var vid2:Video = new Video(734, 408);
flvPlaceHolder2.addChild(vid2);
addChild(flvPlaceHolder2);
flvPlaceHolder2.x = 1059;
flvPlaceHolder2.y = 152;
var nc2:NetConnection = new NetConnection();
nc2.connect(null);
var ns2:NetStream = new NetStream(nc2);
vid2.attachNetStream(ns2);
var listener2:Object = new Object();
listener2.onMetaData = function(evt:Object):void {};
ns2.client = listener2;
ns2.play("GS-4000.flv");
this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
function BtnFadeIn2(event:Event):void
if (this.currentFrame == 387)
/*flvPlaceHolder2.x = 30;
flvPlaceHolder2.y = 140;
vid2.width=1800;
vid2.height=800;
trace('Screen size is changed');*/
if(count==0)
flvPlaceHolder2.x = 30;
flvPlaceHolder2.y = 140;
vid2.width=1800;
vid2.height=800;
count++;
ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
function statusChanged2(ns2:NetStatusEvent):void
trace(ns2.info.code);
if (ns2.info.code == 'NetStream.Buffer.Empty')
trace('the video has ended');
removeChild(flvPlaceHolder2);
//trace('removeChild');
gotoAndPlay(433);
flvPlaceHolder2.buttonMode=true;
flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
function home2(e:MouseEvent):void
if(vid2.width==734 && vid2.height==408)
flvPlaceHolder2.x = 30;
flvPlaceHolder2.y = 140;
vid2.width=1800;
vid2.height=800;
else
flvPlaceHolder2.x = 1059;
flvPlaceHolder2.y = 152;
vid2.width=734;
vid2.height=408; -
Playing a DRM (FMRMS) protected .flv with a space in the filename fails on OS X
As the subject says, when trying to play a DRM encrypted .flv with a space in the filename it fails on OS X it works on Windows and I am 99% sure it works on Linux as well.
I changed my files to not include a space but it appears now that if there is a space in any part of the path as well it fails.
If anyone has an idea on what to do it would be appreciated.
I have tried to use the File.nativePath and File.url properties after confirming that File.exists returns true.
I tried escaping the spaces manually with + and %20 but none seem to work.
The error is that the file just doesn't seem to play. I will update this question if I find any more information.
Thanks
Glen.As the subject says, when trying to play a DRM encrypted .flv with a space in the filename it fails on OS X it works on Windows and I am 99% sure it works on Linux as well.
I changed my files to not include a space but it appears now that if there is a space in any part of the path as well it fails.
If anyone has an idea on what to do it would be appreciated.
I have tried to use the File.nativePath and File.url properties after confirming that File.exists returns true.
I tried escaping the spaces manually with + and %20 but none seem to work.
The error is that the file just doesn't seem to play. I will update this question if I find any more information.
Thanks
Glen. -
Take Control of Workflow with Workflow Analyzer! See Note 1369938.1
Take Control of Workflow with Workflow Analyzer! Immediate Analysis and Output of your EBS Workflow Environment.
The EBS Workflow Analyzer is a script that reviews the current Workflow Footprint, analyzes the configurations, environment, providing feedback, and recommendations on Best Practices and areas of concern.
Video - Watch a 9-minute overview video (9:00)
Go to [Doc 1369938.1|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1369938.1] for more details and Script Download.
Proactive Benefits:
Immediate Analysis and Output of Workflow Environment
Identifies Aged Records
Identifies Workflow Errors & Volumes
Identifies looping Workflow items and stuck activities
Identifies Workflow System Setup and configurations
Identifies and Recommends Workflow Best Practices
Easy To Add Tool for regular Workflow Maintenance
Execute Analysis anytime to compare trending from past outputs
[Please send any items to Feedback.|https://communities.oracle.com/portal/server.pt?open=514&objID=224&mode=2&threadid=297966]
Edited by: user715498 on Feb 14, 2012 11:09 AM
Edited by: user715498 on Feb 14, 2012 11:12 AM14. Once my photos look the way I want, I then export them to JPEG. I have set up a Photoshop droplet for Lightroom that will then do all my sharpening after export.
That's it! I know it sounds like a lot of steps, but once you've done it a couple of times it goes by really quick. I'm really loving most things about Lightroom in terms of its cataloging and export options. But the image quality of the Lightroom raw conversions just isn't there yet. I've found by integrating both Capture NX and Lightroom I can get top quality results while still gaining advantage of Lightroom's many nice features. It took me a few days of exploration and experimentation to nail down the optimal workflow for my needs. Hopefully this will help some others out and maybe give them some ideas of their own toward a better workflow.
Please feel free to share your thoughts or own experience on all of this.
Thanks to Tony Long for his suggestion in this thread, which caused me to go on a search for the optimal Lightroom/Capture workflow: http://www.adobeforums.com/cgi-bin/webx?7@@.3bc719df/3
If you are interested in taking a look at the final output of the workflow listed above, please look here: http://photos.unsavory.com/p634883589
Cheers everyone!
-©aine -
Export from AF CS5 to FLV with Cuepoint
Hello!
In After Effects CS3 I exported a movie 622x350 to FLV with cuepoints, and it was small,
now after I upgraded to CS5 and export the same file again is't three time larger.
I do exactly the same as before.
Could it be because the upgrade?
Is there a new plugin that I can take home.
Thanks!Hello!
Thanks for the reply.
Have tried what you said but there was no difference.
Found only in two places where I could shut off the XMP metadata;
it was under Pref. Media & Disk Cache and the Output Module Settings.
Fredric -
Can Wireless Home Audio products be controlled via IP with any other devices?
I'm interested in knowing if the Wireless Home Audio Director, Conductor or Player can be controlled via IP with alternative controllers? Specifically, I'm interested in integrating the products into a universal remote control or home control system and still have 2 way communications with feedback. IP and RS232 are the most commons ways of accomplishing this.
Hi,
Maybe for basic functions like (play, stop, next) using the IR remote, a third party IR based universal remote may work but that's a big gamble to take, anyway what would be the purpose then of the Linksys DMRW1000 (IP based remote control) remote that Linksys is selling if its compatible with third party remotes.
Wireless Home Audio remote
Well that's my thoughts on this, I hope you'll find the device your looking for.
Maybe you are looking for
-
Safari won't load pages from search results
Weird problem. Using Safari 8.0.3, I do a search using www.google.com or just search in the address bar. Google returns the results, no problem. However, if I try to follow a link by clicking on it, Safari will seemingly try to load it for a while
-
Highlight row in standard report based on value in column...
I am trying to highlight rows of a standard report based on the value of the column TICKET_TYPE. I have been following the post: Highlighting a ROw in a tablular form based on a column in the row but having difficulty. I receive the following error:
-
What is the meaning of Status Attribute
Hello All, Can anybody explain about Status attributes? is it related to display or navigational attributes? regards, Ravi
-
Is iPhone has call log facilities???
iPhone do not have any call log facilities. iPhone call log system does not have any generation. now iPhone is talking about 4G, 5G and so on. but no improvement in call log since inception. third party application for call log is neither secure and
-
Question about Quads (how do I view them from both sides?)
Hi guys. Well I just started using Java3D...I've used Open GL in C++ for a little while so I had some experience coming in. I got a world up where you can move the camera around and rotate it and stuff and I can load Quads and their texture coordinat