How To Use Shortcut Keys With FLVPlayback?
I want to add Keyboard shortcuts for controlling FLV such as Spacebar key for PAUSE and Play and RIGHT and LEFT keys for First and Last Frame, i am using FLV PlayBack component in FLash 8 Pro.
Any idea how to make it.
Amir
FlashKit > Flash Help > Flash General Help
Posted on: 01-14-2006, 05:37 AM
View Complete Forum Thread with Replies
Sponsored Links:
Code Needed For Shortcut Keys (access Keys) For Flash CS3
I have been looking for quite awhile for the code to allow the user to, for example, press ALT+I or CTRL+I in order to navigate on the installer screen for a CD. I started out with dynamic text boxes and then created invisible buttons behind that in order to get tabs to work. I am new at this so the little reference I found online or in Flash help lost me. Does anyone know what code is needed to get this to work--creating access keys in Flash 9?
Thanks for any help.
View Replies !
View Related
Shortcut Keys
Hello all!
I'm a pretty proficient user of illustrator, freehand and Photoshop and I pretty much stick to using shortcut keys all the time. For example, instead of clicking on the pen tool, I just press 'p' on my keyboard. Or in Photoshop, instead of going through the menus, I just press ctrl+m for curves etc....
Now, in flash I've sussed the majority of shortcut keys but is there any way of navigating within the timeline by using keys instead of the mouse? For example jumping from frame 1 to 900 instead of sliding the nav bar? Or a faster way of selecting a portion of the frames etc...
just a thought...
I'm just more of a keyboard person than a mouse person. Probably cause I was brought up with a BBC Microcomputer
thanks...
View Replies !
View Related
Shortcut Keys
I would like to use shortcuts in my flash program like (Ctrl+N etc) but when I do Flash captures the key instead of my movie, even running it in a browser (the browser reacts) or running it alone (swf or exe) doesn't seem to work.
I tried to use the fscommand ("trapallkeys","true") Which I suspect doen't want to work because I use a Key Listener instead of the onClipEvent function.
Is this problem unsolvable ?
View Replies !
View Related
Shortcut Keys
I would like to use shortcuts in my flash program like (Ctrl+N etc) but when I do Flash captures the key instead of my movie, even running it in a browser (the browser reacts) or running it alone (swf or exe) doesn't seem to work.
I tried to use the fscommand ("trapallkeys","true") Which I suspect doen't want to work because I use a Key Listener instead of the onClipEvent function.
Is this problem unsolvable ?
View Replies !
View Related
Shortcut Keys
Hey guys, I was playing around in Flash tonight and figured out that by pressing tab, hides all the panels except for the timeline, and allows you to see more of your movie. Simpily hit Tab again and it returns. Pretty nifty eh? I'm sure you guys have known this for ages but I just figured out so im happy lol. Hey, why don't you guys post all the great shortcut keys you guys know about in this thread.
-Tyler
View Replies !
View Related
Access (shortcut) Keys For AS3
I have unsuccessfully been hunting for simple code that allows for using shortcut keys (i.e. CTRL+I or ALT+I) so a user can navigate the installer screen on a CD without a mouse. I created dynamic textboxes for the text and then invisible buttons underneath which allows tabbing to work. Can anyone help to get the shortcut keys working (Flash 9)?
Thanks for any help.
View Replies !
View Related
Are There Shortcut Keys In The Debugger?
If any of you use the Debugger, maybe you've got an answer:
In order to step through the code line by line, you click on the 'stepIn' icon. Fine, but I'd like to step through a mouseListener function. In order to do that, I have to keep the mouse clicked on a MovieClip on the stage, no?
Are there any shortcut keys for 'stepOver', 'stepIn', 'stepOut', 'Continue'?
Failing that, is there any other method of testing mouse-defined functions?
Thanks,
- Dorothy
View Replies !
View Related
Capture Shortcut Keys
Would it be possible to use the onkeydown handler to capture key combinations, overriding their normal function within the browser?
Like I want to be able to check if the user pressed 'control s' for example. Or F1, without the browser opening up its help function.
Cheers.
View Replies !
View Related
Disabling Browser Shortcut Keys
I have developed a CBT that simulates a software system. Unfortunatley the software system is still partially character cell based and therefore uses function keys to navigate. My CBT works fine when viewed in the standalone player, however the browser shortcuts reak havok when viewed in say IE. Does anyone know of a way to force the function keys to be redirected to the movie and not to the browser. Any help is greatly appreciated
Thanks Rob
View Replies !
View Related
Flash Escape Shortcut Keys
I just posted a complete list of escape shortcuts keys for Flash MX 2004, to my blog (Just Another Rant), thought I'd post it here as well incase anyone my find it useful.
For those that aren't familiar with escape shortcut keys, you can read a description and print out a copy here.
I have also posted posted another tip detailing how to add/modify escape keys, and even provided a nice set created by ATN at SoleilNoir to add things like LorumIpsum, and a few that didn't have quick keys already assigned.
Enjoy!
-Dave
View Replies !
View Related
Shortcut Keys In Flash Projector
I can't find any documentation about which shortcut keys are available and active when a Flash Windows projector file is running. I do know that Ctrl-Q will exit the program, but what other shortcut keys are active for a projector?
View Replies !
View Related
Shortcut Keys In Projector Files
I have seen plenty of documentation on the shortcut keys available in the Flash development environment, but I can't find an documentation on the shortcut keys that are available in a Flash projector file. I know that Ctrl-Q will end execution, but I'd like to know what other shortcut keys are active during execution of a projector file.
View Replies !
View Related
Flash Escape Shortcut Keys
Last edited by Crucial : 2005-08-05 at 12:26.
I just posted a complete list of escape shortcuts keys for Flash MX 2004, to my blog (Just Another Rant), thought I'd post it here as well incase anyone my find it useful.
For those that aren't familiar with escape shortcut keys, you can read a description and print out a copy here.
I have also posted posted another tip detailing how to add/modify escape keys, and even provided a nice set created by ATN at SoleilNoir to add things like LorumIpsum, and a few that didn't have quick keys already assigned.
Enjoy!
-Dave
View Replies !
View Related
Customized Shortcut Keys In Flash Toolbar
hi,
i have problem in shortcuts in flash toolbar, i am tryin to play videos and want to create shortcuts like play/pause, mute and other common ones i tried but was having problems the keys works fine when i traced them but the shortcuts doesnt work so wat am i doing wrong here, ithink its something in the events or the controls i am using please help me heres the code sample for play/pause i used:
onClipEvent(load)
{
function myOnKeyDown() {
if (Key.isDown(Key.CONTROL) && Key.getCode(80)) // 80 is key code for P
{
//trace("Key pressed:" +Key.getCode());
Selection.setFocus( this.playpause );
playpause.onPress()
{
trace("playpause" + Key.getCode());
}
}
};
var myListener = new Object();
myListener.onKeyDown = myOnKeyDown;
Key.addListener(myListener);
playpause.onPress = myOnPress;
playpause._accProps.shortcut = "Control+P"
Accessibility.updateProperties();
}
-Sahil
View Replies !
View Related
Shortcut Keys Quit Working Periodically
I open up Flash and everything works fine, then after a few minutes (not noticeably related to any certain activity) the shortcut, or "hot", keys just quit working and I have to manually select tools from the tools panel. If I close Flash and reopen it, the hot keys work again, but the problem comes back after working for a while. It's a killer on my productivity.
If it helps I work on a PowerMac G5 running Mac OS X v10.5.5 w/ a Dual 2GHz PowerPC processor and I'm running CS3.
View Replies !
View Related
Code For Access/shortcut Keys/Accessibility
I have figured out how to add tabs to text by making invisible buttons and using the accessibility panel, but haven't been able to get access keys to work (there is a place to add the shortcut on this panel). I have read that I need to enter something like "Control+I" in the field for shortcut, but I don't know what code to add to the frame to get it to work.
Thanks for any help.
View Replies !
View Related
Shortcut Keys Not Functioning When Testing Flash In JAWS
Testing my flash movie in JAWS screen reader - the shortcut keys I had specified were being overriden by those used within JAWS, for a couple of weeks. Yesterday they miraculously began to work when testing in JAWS again, JAWS reading the name for the buttons and the shortcut I had entered in the accessibility panel, & it functioned correctly. I also wrote the actionscript for the key shortcut to function. Am using flash8, professional.
Now it doesn't & I can't see what I have changed. Anyone any similar experience or advice?
Thanks.
View Replies !
View Related
Adding Keys Other Than The Default Keys
Say you want to make a 2-player Flash game (I don’t quite know how yet but I’m getting there). I have noticed that the selection of keys is limited to only a few keys (The arrow keys are there, and so are keys like Shift and Caps Lock, but there are many missing). I have played Flash games that had a second player using the A,S,D, and W keys for movement as well as the arrow keys. My only guess on how to get these keys is with one of the following incomplete codes:
if(Key.isDown(Key.getAscii()))
if(Key.isDown(Key.addListener()))
if(Key.isDown(Key.getCode()))
if(Key.isDown(Key.removeListener())
Hey, please correct me on this if what I want to do has nothing to do with these. They’re my only guess. If one of these pieces of code will go in the direction that I want, please tell me how. Thanks!
View Replies !
View Related
HELP WITH KEYS (keyboard Keys)...
Hey, thanks for reading.
I need to be able to disable the keys used on Macs and PCs that exit or quit the player, so that the only way to close the player is to use the quit button.
The SWF will be played using the stand-alone player, not using a web page.
Incase you are not sure of which keys are the "exit keys",
on PCs it is 'Alt + F4'
on Macs it is 'Apple + Q', or 'command + Q'
on macs, the command key is the proper name, and apple key is the common name. If possible, when they (the user) press the apple or Alt key in any combination with any other key, nothing should happen, so that the player (in fullscreen) does not quit. As long as the player does not quit, any solution is a good solution.
Thanks, from Matt
PS: contact me using the following email address:
sugar_addict_500@hotmail.com
View Replies !
View Related
FLVPlayback Changing Another FLVPlayback
Hi,
I have a movieclip with an FLVPlayback component and a second movieclip on it. In that second movie clip, there's another FLVPlayback component. I was wondering if there was any actionscript I could use in the second movieclip to change the contentPath of the first FLVPlayback component upon the completion of the second FLVPlayback component.
This is the code I tried, but didn't work:
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
this._parent.flvp1.contentPath = "vid2.flv";
}
flvp2.addEventListener("complete", listenerObject);
(flvp1 is the first FLVPlayback component, flvp2 is the second, and vid2.flv is the file to be played in flvp1)
Also, I know that the listenerObject function is working because I tested a trace() command earlier, and it worked.
If anyone could point me in the right direction, I would appreciate it.
Thanks,
Brad
View Replies !
View Related
KB Shortcut?
Is there / does anyone know if there is a keyboard shortcut for the little arrow you press that brings up and hide the Actions/properties panels etc?
View Replies !
View Related
Shortcut Please
i have a 40 text fields like this
Score1.text
Score2.text
Score3.text
ect ect
is there a way to simplify this when filling the text boxes. i thought maybe to define a variable like r=1 in the first frame of question 1. so i could return this
Score(r).text
please give me some advice. if i could only change one number in each movie [r=1] [r=2]
instead of score1 = ""; and comment1="";
View Replies !
View Related
Looking For A Shortcut
Hi. I'm currently working on this:
I have a raster of 10x10 squares. clickable movieclips. On click the movieclip inside the movieclip (with the movieclip.onrelease action) proceeds to frame 2, giving it a transparant look and putting the text (ie. a1) in the _root.clickeda1 dynamic text field. This field is not visible to the user eventually. On click again the movieclip returns to frame 1, thus the non transparant square, and removes the text from the dynamic field.
Eventually I have a button which combines all the textfields and places them in one other textfield ( clicked.text = clickeda1.text + clickedb1.text etc.)
after this I'll be able to put this into a geturl so I can send the data to my database, storing the squares that have been clicked to transparancy.
Now the bugger is, I can get this working, but I'll have to code this for every square since every square'll get a different textfield to put their info in.
there must be a shortcut for this..
If there are any questions, feel free. I'm able to upload my flash file when required so it' might become a bit clearer
View Replies !
View Related
Shortcut?
i know there MUST be a faster way to write this (maybe using a for loop???):
Code:
this.createEmptyMovieClip("imageHolder0", this.getNextHighestDepth());
this.createEmptyMovieClip("imageHolder1", this.getNextHighestDepth());
this.createEmptyMovieClip("imageHolder2", this.getNextHighestDepth());
this.createEmptyMovieClip("imageHolder3", this.getNextHighestDepth());
this.createEmptyMovieClip("imageHolder4", this.getNextHighestDepth());
this.createEmptyMovieClip("imageHolder5", this.getNextHighestDepth());
this.createEmptyMovieClip("imageHolder6", this.getNextHighestDepth());
or even this:
Code:
var thumbs:Array= new Array (movieRow.thumb0.holder,movieRow.thumb1.holder,movieRow.thumb2.holder,movieRow.thumb3.holder,
movieRow.thumb4.holder,movieRow.thumb5.holder,);
i learning about arrays, and rather than writing things over and over, i was hoping to find a faster way, especially if i had to make 50 or 60 instances!
View Replies !
View Related
Is There A Shortcut For This?
Dragging multiple still images from the library so that each image goes into a separate frame? (I'm doing a timelapse of 300 images)
Something like option-drag...?
And while I'm asking, is there a shortcut for dragging items onto the stage so that they go to the exact centre of the stage every time?
View Replies !
View Related
Shortcut Key - Need To Know How
I am extremely new to shortcuts.
I have this bit of code, how would i include a shortcut from the "1" key (key code is 49). And where would the code go?
The code below is linked to Symbol 473
on (release) {
if (eval(("itoa_" add clear_ans1)) ne "a" and eval(("itoa_" add clear_ans2)) ne "a")
{
event = "a";
answer = "a";
tellTarget ("/cell_a") {
gotoAndStop(3);
}
gotoAndStop(258);
play();
}
}
View Replies !
View Related
Shortcut With Array?
I wondering if there is an easy way to do the following without writing a massive loop....
Let's say you have 3 arrays named "home", "work", "about" and each one has all sorts of different data in it, all located in the same swf.
Now the user has their option of buttons, of course, "home", "work", and "about"...and depending on which one they hit, the appropriate array is launched...
I want to avoid a massive loop, because there could be several dozen menu items eventually...
...The menu items "name", will match that of the array...
Anyway to avoid a massive loop?
Thanks.
View Replies !
View Related
Library Shortcut
just moved to MX 2004 from Flash 5
in 5 there is a shortcut toolbar to panels (library, actionscript etc) at the bottom right... is that no longer available in MX 2004?
and when i do open Library, it doesn't remain open the next time i open Flash (even after saving a file etc)...
what's the best way to control the opening and closing of these panels without having to go to Window on the main toolbar?
any help appreciated...
View Replies !
View Related
Scrollpane & Shortcut
Hi
I am using a scrollpane and i would like to create a a button that jump to a specific location of the scrolled content. just like the "href" option in html. Does anyon habe any idea of how to do that?
thanks.
bradinho
View Replies !
View Related
Shortcut To Webpage
hi guys, I want to make a button, doesnt have to be in flash - but it needs to download a shortcut to the desktop or just download the whole page with the swf movie in it so a user can click on the icon on the desktop to launch the site.
Is there any way to do this?
View Replies !
View Related
Icon Shortcut
I've been looking around for over a week now, but I cannot find how to create a button in flash that can link to a file on my hard drive(e.g. game shortcut, internet explorer, word, etc). Does anyone know how to do it?
View Replies !
View Related
Shortcut Key Combinations
I was looking for a code for shortcut key combinations.
I know few weeks back somebody posted a nice .as file for this.
I tried searching on the forums but in vain. If anybody know where is it, can ya pass me the link?
Thanks a lot.
View Replies !
View Related
Script To Add Shortcut Icon?
Is there any ActionScripting that can have a shortcut icon (for the Projector file) added to the person's desktop who is running the movie?
And part two of this question, is there any way to have this shortcut added ONLY the first time the button is pressed, and not again?
Thanks everyone!
Ben
View Replies !
View Related
A Quick ActionScript Shortcut..
I was wondering how one would acheive this bit of ActionScript shortcut...
I have 43 instances of the same movie clip all named "window00" through "window42" embedded in movie clip instance "stage1". I want to pause all 43 instances. To save valuable code, I want to make a loop with an "i" value that will simply run through 43 times, but can't figure out how I can mix strings with ActionScript commmands.
Example:
This works:
Code:
stage1.window15.stop();
This doesn't:
Code:
i = 0;
while (i < 43) {
z = "stage1.window"+i;
z.stop();
i++;
}
Does anyone know of a way to acheive this without listing 43 individual commands?
View Replies !
View Related
Shortcut For Multiple Target
hello everyone
i have a movie clip with a lot of scripts like this:
if (_root.xx.hittest(_root.yy01)) ...
if (_root.xx.hittest(_root.yy02)) ...
if (_root.xx.hittest(_root.yy03)) ...
...
if (_root.xx.hittest(_root.yy99)) ...
is there a shortcut to simplify my life, like:
if (_root.xx.hittest(_root.yy"whatever")) ...?
or a way to call multiple movie clips with one and same name?
thank you
View Replies !
View Related
Placing Shortcut On Desktop From MX... Possible?
My client wants me to add a button to his CD presentation that will place a desktop shortcut to their website on the users desktop. Kind of like when an installers asks you if you want to place a shortcut on the desktop. I realize that that is VB or C++ in the case of an installer but I am wondering if there is a way to do this with AS through Flash MX?
Any direction on how I could do this would be greatly appreciated.
View Replies !
View Related
Looking For Shortcut Tips/problems
Hi,I know this is a long shot.
I'm just starting to use macromedia flash 5 and i'm kinda getting the hang of it. I already did this simple cartoon movie with about 500 frames.
I did it by just rearranging the symbols i saved in the library. And the end result was atleast for me, is great.
But i have this problem when you want to put additional things in the movie, like decorations and other props, you have to put the additional symbols in EVERY FRAME!
So If you create a flash movie of a stick guy running from one end of the screen to the other frame by frame (About 200 frames total) and then you decided to give the guy a hat then you have to edit all of the frames again and that would take about half an hour!
So anyone who is an expert in macromedia flash 5 (Or anyone who have an idea of what i'm talking about) your help is deeply appreciated. Thanx to all!!
View Replies !
View Related
Timeline Keyboard Shortcut
Hi,
I've been searching the documentation but I can't find anything on this: a way to quickly navigate the timeline, especialy move to the beginning and end using keyboard shortcuts.
The only thing I've found is to use ctrl+0 to go to the end but that doesn't work.
Hope someone can help, regards, Danielle.
View Replies !
View Related
Keyboard Shortcut On Frame
Hi again, in the frame number 8 (for example) the movie stop in this frame I want te movie continue to frame 9 playing when I hit the letter "s" (for example), how I can do this???
I dont want to use the mouse and a button in the stage, just use the keyboard to continue playing the movie when it reach a frame with the stop action.
Thanks, greetings from cancun!!!
View Replies !
View Related
Creating Shortcut To Desktop
I am creating a desktop toy with Screenweaver and need to create a shortcut icon to the desktop
The function I need to call is as follows
swSystem.Registry.read( HKEY_LOCAL_MACHINE, subkey, value, callback, scope );
But I have no idea what the parameters should be to find out the desktop.
Any ideas?
Thanks
Paul
View Replies !
View Related
|