ActionScript 3.0 :: Select Next Video At End Of An FLV?

Aug 4, 2009

I'm completely new to Flash and this forum, so please take 'er easy! I have spent the last several days on lynda.com and searching the internet for various tutorials and trying to get a crash course in AS3. Here's my question:

I am working on a project with multiple FLV's where the character is traveling along a path, and gets to a certain point where the movie pauses and the viewer selects from several options where the character goes next. It's actually a kayaking going down a river and at each rapid the viewer selects which line he's going to run, but that's irrelevent.

At first, I thought I would do this in one long FLV using cuepoints, where I'd use an event handler to pause the video at a certain cuepoint and display button's presenting the options. The button's would skip the video to the appropriate cuepoint down the line in the video and it would continue. It would be one ridiculously large FLV file though, so I don't think this is the route to go.

Then I realized, I could just chop each "option" or "route" up into smaller FLV's. Then, the character is going and the FLV ends when the viewer is presented with their "choices." At the end of the video, I'd like to have the last frame of the video remain on the screen (simulating a pause) and the options buttons pop up so the viewer can select where the character goes. The button's then link to the appropriate FLV correlating with the viewers selection. [code]...

View 6 Replies


Similar Posts:


Flash :: Php Parameters Exchange - Parameterize The Video To Select

Feb 9, 2011

I am new to flash, and I am trying to make a simple video player. I have a problem setting the source of video: In my action script I have this: [URL] where getVideo.php is:

[Code]...

View 1 Replies

ActionScript 3.0 :: Select All Video Error - Invalid Source

Jul 15, 2009

I am stuck in custom video player for a long time. The original example of the thumbnail buttons are jpg image. They work. However, instead of stable place of the thumbs, I changed the thumbs to swf file with motion.

I got the error.
Select allVideoError: 1004: Invalid source
at fl.video::NCManager/connectToURL()
at fl.video::VideoPlayer/[URL]::_load()
at fl.video::VideoPlayer/play()
at fl.video::FLVPlayback/doContentPathConnect()
at fl.video::FLVPlayback/set source()
at MyVideoPlayer_fla::MainTimeline/playVideo()

Here is my AS3 code
Code: Select allimport fl.video.*;
var thumb_width:Number;
var thumb_height:Number;
var thumbs_x:Number;
var thumbs_y:Number;
var video_x:Number;
var video_y:Number;
[Code] .....

View 2 Replies

Browse And Select Video From Local File System?

Mar 20, 2010

I'm building an application in Flash CS3 to be deployed on CD as a Projector file. Is there any way to enable the user to browse to and play video files from their local file system.

View 3 Replies

Media Server :: Select Video Codec When Publishing Camera To FMS?

Apr 6, 2010

I learned from some previous post that the default encoding format used when you publish the camera from a Flash player is Soreson. I'm wondering whether it is possible to select to use other codec such as VP2 or H.264?

View 3 Replies

ActionScript 3.0 :: Flash Video Project - Playback With 3 Choices To Select

Mar 28, 2012

I am having trouble getting a function to work within flash. I basically am creating a video where the intro video plays through then the user is prompted with 3 choices to select which video will play next. I am using keyboard input to make the selection. I have the keyboard input capturing working, pretty basic, but I am having trouble getting it to switch to say scene 2 (where I have another video).

Code:
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.KeyboardEvent;
function reportKeyDown(event:KeyboardEvent):void {
[Code] .....

And I get a compiler error stating "Scene 1, Layer 'content', Frame 1, Line 11 1120: Access of undefined property event.

I've created a new layer in the scene 1 and put that code in and everything compiles fine. I created scene 2 and imported a video into it from the library but the video plays and does not respond to any key input and the output is not showing the trace any longer. Enter does work to pause and play the video though.

import flash.events.Event;
import flash.events.KeyboardEvent;
function reportKeyDown(event:KeyboardEvent):void {
stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
if (event.keyCode == Keyboard.ENTER){
gotoAndPlay("Scene 2");
}}

View 0 Replies

Actionscript 3 :: Select The Viewstack Container Id Based On Select Field In ComboBox In Flex?

Jun 23, 2010

I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.

<mx:ViewStack id="viewstack1" width="95%" height="85%" x="0" y="63" >
<tables:KeyMetricsBasicTable basicArrayDataProvider="{basicArrayResult1}" width="100%" height="100%"/>
<tables:KeyMetricsAdvTable advArrayDataProvider="{advArrayResult1}" width="100%" height="100%"/>
</mx:ViewStack>

View 1 Replies

Flex :: Select All And Select None Button With In The Drop Down Of Combobox?

Dec 6, 2011

Flex 4 Combobox is extended with a Text Input that helps in getting to the item that is searched for.I have created a Check Box as an itemrenderer for this Flex 4 Combobox. I would like to Add a Select All and Select None options in the drop down of the Combobox. I know that i could accomplish by editing the dropdownfactory in case of a Flex 3 Combobox. But in Flex 4 the dropdownfactory doesnt exist.

View 2 Replies

ActionScript 3.0 :: Flash Video Sites - Add Video And Resize The Video Acoording To The Page Size

Aug 18, 2011

Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..

View 3 Replies

ActionScript 3.0 :: Video Loop - Made A Video In After Effect And Export It To Flash As A FLV Video

Dec 18, 2010

I made a video in After Effect and export it to flash as a FLV video.. and write de code to load it into flash.. but I need it to loop.. Here is the code

[Code]...

View 1 Replies

ActionScript 3.0 :: Make A Video Class So Can Put In Src And Video Dimensions To Load Up A Video

Oct 13, 2011

Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way

[Code]...

View 2 Replies

Cannot Select All  Modify

Sep 9, 2009

I am a beginner and I have made an animation that consists of  4 Movie-Clip symbols (3 have motion tweens). I created it as a place holder for an upcoming website that I am designing. I am trying to select all 4 layers on my stage and convert everything into a single movie clip. I don't know what I am doing wrong.[code]....

View 5 Replies

ActionScript 2.0 :: Checkboxes: Select More Than One?

Mar 16, 2009

i'm building a form in flash as2 with PhP.I'm using checkboxes in the form, but when selected more than one checkbox, the output in PhP is only the last selected.I used code from a thread i've found here on the forum.I have 3 checkboxes: thursday_cb, friday_cb and saturday_cb, and one button butSubmit

This is the as:

Code:
thursday_cb.label = "Thursday";
o_thursday_cb = new Object();
o_thursday_cb.click = function (obj){

[code]....

View 2 Replies

CS3 :: Way To Pre-select List Component

Jul 10, 2009

I currently have a list that I'm using to hold text so when an item in the list is selected the text is displayed in a text box along side it. I want to have the first item in the list to be pre-selected so the text for that item is already in the textbox when it is loaded.

View 1 Replies

ActionScript 1/2 :: Select Nothing With V2 Components In SWF?

Jun 1, 2010

I've got some dynamic text fields that have tabindex properties on stage.
 
There are some V2 components in the swf as well, so there is an instance of the FocusManager running.
 
I've got a pause button that I use to pause the playback of some other animations that are playing.
 
When I click the pause button I would like to have the focus go away from text entry fields (if they have it).
 
Is there a way to tell the FocusManager that nothing should have focus?
 
Selection.setFocus(null)
FocusManger.setFocus(null)
 
None of those work.
 
There is also an off-stage dummy text field that is used to capture focus for some other stuff in this file, but that doesn't work either.
 
The content that gets paused is variable and could have all kinds of designs and layouts, so having it respond to some kind of pause event is out. I need it not to be aware of the pause state. I just need the pause state to grab focus.

View 7 Replies

Professional :: Can't Select Last Frame?

Aug 3, 2010

I have 75 frames in an animation. I have about 6 layers. I am trying to put a stop statement on the last frame.
 
Every time I open the Actions window it says Frame 1 even though the playhead is positioned on the last frame.
 
How do you place a stop comand on the last frame and which layer do I need to select?

View 2 Replies

XML File Won't Select Other Files?

Apr 1, 2009

Though, on one of the simplest things though I can not have the flash file select the XML files. It will select the first but will not continue with playing the rest of the songshere is my AS and XML files.

Code:
// Load XML Songs
var xml:XML = new XML();

[code].....

View 1 Replies

Xml :: Select Items From XmlList?

Apr 7, 2010

My Flash designer is reading an XML stream I'm sending back to the browser (I'm a C# dev). We have this working fine.

He is then selecting into an XMLList where a element has its id a certain value i.e. . This is also working just fine.

In this XmlList, are Events, that look a little something like this:

event
startdate
enddate
end event

I don't know how to use the formatting here - but each of those items is an element. startdate would have a value such as 04/02/2010 and enddate 6/30/2010.

Now, from this XmlList I do have of Events, I need to select all Events where a new variable myDate, falls in between the startdate and enddate.

View 1 Replies

Xml :: Select A Tree Item?

Sep 22, 2010

I'm working on a tree component using a XMLLIST as a data provider.

<list>
<menuItem label="Home" menuItemId="1" >
<menuItem label="Info 1" menuItemId ="4"></menuItem>

[Code]....

I need to select a nested node by the property 'menuItemId' without knowing the index.For example, select the item with the menuItemId 4.

View 2 Replies

AS :: Flex - Select Value Of A DropDownList?

Mar 8, 2011

I'm sure this is a easy one but I've been searching for a while how to select a DropDownList element with actionscript. In this scenario, I'd like to be able to specify the selectedItem based either on ddlLabel or ddlData

<?xml version="1.0" encoding="utf-8"?>
<fx:Script>
<![CDATA[

[code].....

View 1 Replies

Flash :: Select Only One Checkbox In As3

Nov 1, 2011

I have about 18 checkboxes and I would want to know if there is a way how i can make only one of them be choosen. I.e I can't choose 2 of the boxes an error will occure. I know I could do it with radioboxes but for estetic I prefere checkboxes.

View 3 Replies

ActionScript 3.0 :: Select All MC's From Particular Layer

Nov 8, 2010

idea is to select all movieclips contained in particular layer and populating an array with them so i can render randomly movieclip's one at a time.what are commands to access layers is AS3 ?how to read content of layers with AS3 ?

View 2 Replies

ActionScript 2.0 :: XML Select And Then Launch

Apr 9, 2005

I`m trying to get an URL launched by clicking on it - thing is though that I want to keep the URL list uptodate and maintained through XML.
PODlob`s fla suits the purpose very well, but I can`t get the URL to get launched.

View 3 Replies

ActionScript 2.0 :: Select Only One Object MC

Aug 25, 2005

how can i make it so that the viewer can only click on one object MC and not multiple ones. When the click the MC, i have a function that happens, but i only want one MC able to be selected at once, not all of them.so, if one is clicked, then another is clicked.. it needs to reset the first one etc. hopefully this explains clear enough the concept.

View 2 Replies

ActionScript 3.0 :: Select All Elements?

Jun 22, 2009

Code:
MC_text.addChild(stage.getChildByName("mainLink"+(i-1).toString()));
with the above line I can select all elements minus one...

[code].....

View 13 Replies

ActionScript 2.0 :: XML Select And Then Launch?

Apr 9, 2005

I`m trying to get an URL launched by clicking on it - thing is though that I want to keep the URL list uptodate and maintained through XML.PODlob`s fla suits the purpose very well, but I can`t get the URL to get launched.

View 3 Replies

ActionScript 3.0 :: RadioButtonGroup - Can Select All Buttons

Apr 8, 2009

My code is supposed to read an XML file, and present a question with 4 possible answers to the user. I am outputting my data fine, and even outputting corresponding radioButtons for my multiple choice question. I must be handling my radioButtonGroup incorrectly as when I test my movie, I can select 1, 2, or even all of my buttons. My trace statements outputs each button with the same group name.

[Code]...

View 1 Replies

[CS4] Select Input Box On Load Frame?

Aug 11, 2009

Is there a way to 'select' (so the flickering cursor appears) an input box when you load the frame?

View 1 Replies

Can't Select Parts Of Drawing Object

Oct 23, 2009

Well, I've been using flash a while, but I just ran into a newbie problem.. I must have hit some sort of hotkey, but I can't figure out how to undo it or anything in the preferences. Anyways, I'm running Flash CS4 and normally when you draw a shape and select that shape it selects the fill and it looks like little dots all over the shape when its selected. Now when I click on a shape it has a border around it and I can't just select a piece of the shape. Also, what's bothering me is that when you draw two shapes on top of each other, Flash used to merge those shapes automatically, but now they are staying separate unless I manually Union them. It still says they're drawing objects, its not converting them to symbols or anything, but they are kind of acting like symbols in the way I can interact with them. How can I turn this setting off?

View 2 Replies

Select And Move All Clips From A Certain Point On?

May 30, 2011

I messed up some the timing in some parts where there needs to be audio, and I don't want to go to the very back of the timeline and make all my frame sequences fit the audio that way. I want to select all the clips from one point on, drag them back until the audio fits, and then go to the next part the audio doest fit and do the same. Unfortunately, I've spent at least 20-30 minutes googling and trying different things in Flash that haven't worked.

How can I select all the clips on the timeline before a certain point so that I can drag them all back a few seconds? (Without having to shift click all my clips, obviously).

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved