View Full Version : How do I code this
kraxyk
01-14-2008, 12:31 AM
how do I code this...
I want it so that when I hit space it plays a video once
but repeats this process 12 times, so it plays once then waits for the user to hit space to play again. Please help, every time I try to code for it I get some error
kraxyk
01-16-2008, 08:32 PM
alright fine forget about the 12 times repeat can you help me please??
atomic
01-16-2008, 09:26 PM
Attach your .fla.
kraxyk
01-16-2008, 09:28 PM
I can't cause I didn't make it, plus its a lot easier then the whole send recieve thing but if you need it then I am sure I could try to just something that resembles it...do you really need it?
also so far my game is just blank cause all I need to complete the game is that script, if you understand where I am coming from...
atomic
01-16-2008, 09:30 PM
Yes I do!
kraxyk
01-16-2008, 09:37 PM
alright I will post it later in about 2 hours
kraxyk
01-17-2008, 01:25 AM
ok here ya go
This is it, but beware it will open on a blank scene 2 which is where i want the scrpt (http://rapidshare.com/files/84396277/test_game.fla)
atomic
01-17-2008, 04:00 AM
I want it so that when I hit space it plays a video once...
By space, do you mean the space bar?
And what video? A .flv? Using a FLVPlayback or MediaDisplay component?
sd9sd
01-17-2008, 11:21 AM
dude! you can also post your fla as a zip file. Just use the "manage attachments" button in 'additional options' while you're replying.
kraxyk
01-17-2008, 08:54 PM
yes that is what I mean and it really doesn't matter cause I could play any file, although a mac friendly file would be nice
kraxyk
01-19-2008, 06:20 PM
so how is it going
also I will convert my video into .mp4
atomic
01-20-2008, 10:30 PM
There's nothing to figure out!
Your .fla is basically empty, and until you can provide more info on what it is you want, then nobody can answer this...
kraxyk
01-20-2008, 11:18 PM
well what I want is, which is already there, on scene 1 the welcome screen
then on scene 2 a video that is called: flashvideo.mp4
will play on space bar, and I want this action to be repeated 12 times, then I will make a new scene with the last still image of the video with a button that on click will go to the next scene where a video that is called: flashvideo2.mp4
will do the same thing as above. So if you could just do the first part for the first video, I can sorta follow the example script that you will have put in
atomic
01-21-2008, 03:08 AM
Flash cannot handle mp4's.
I will convert my video into .mp4
Flash cannot handle mp4's.
I think Adobe Flash Player 9 Update 3 does / will?
http://www.adobe.com/devnet/logged_in/jchurch_flashplayer9.html
http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html
http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player_03.html
OFF Topic --
Says it supports Flash Player cache also (SWZ), that sounds interesting? maybe that will helps also with reload glitches etc...
kraxyk
01-21-2008, 04:31 AM
yeah, ok then how about .mp2
yeah, ok then how about .mp2
For video why not just FLV ?? as atomic has already suggested
kraxyk
01-21-2008, 05:43 AM
fine
kraxyk
01-23-2008, 12:20 AM
Flash cannot handle mp4's.
so is it working?
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.