ActionScript 3.0 :: Playing Specific FLV's In List

Sep 16, 2008

I've got the following script working correctly. When button1 is clicked it populates a list with XML driven items. When each list item is selected the description is presented in a text area.

I'm having trouble however, with playing a specific FLV when the item is clicked in the list. I can get it to work by specifying a specific vid.source = ("http......") by I need each item to play a different FLV.

button1.addEventListener(MouseEvent.CLICK,play1);
lb.setStyle("contentPadding", 0);
function play1(e:Event):void {
var loader:URLLoader = new URLLoader();

[Code]....

View 4 Replies


Similar Posts:


ActionScript 2.0 :: Combobox & List - Each Selection Triggers The Specific Xml File To Load Into The List Component?

May 10, 2007

I have a combobox and list component on the stage. The combobox has 3 selections. How do I get it so that each selection triggers the specific xml file to load into the list component? I can't get them to communicate to each other.

View 1 Replies

ActionScript 3.0 :: Playing Specific Frames?

Apr 18, 2011

I am building a menu.. When I rollover the mouse over the menu, it opens sub menu Something like that...

(when rollover btn1)
(open submenu1)
(when rollover btn2)

[code].....

View 3 Replies

ActionScript 2.0 :: Playing To A Specific Frame?

Mar 29, 2007

Lets say i had an animation and i also had four buttons. The animation would have 4 frame labels at different areas of the timeline. For example:

"Label 1" "Label 2" "Label 3" "Label 4"

now if i'm on the "Label 1" frame and i hit button 3. I'd like to have the animation play until it reaches "Label 3". Also if I were at "Label 4" and hit button 1, I would want it to play backwards to "Label 1" OR maybe it could either play through to the end and loop back depending on which way is closer.

I don't know if this is really possible. I know each labeled frame would require a stop() action, but i'm not sure how to make something play until it reaches a specified destination frame.

View 5 Replies

ActionScript 2.0 :: Playing Different Mc's In Specific Dates?

Apr 22, 2007

i want to play different movieclips in specific dates for example if the computer (system) date is 1 January i want to play the movieclip named "santa" if the date is 14 february i want to play the movieclip named "valentine"

View 9 Replies

ActionScript 2.0 :: Playing A Specific Frame?

Jul 30, 2008

I am using the following actionscript to load a external swf. I would like to actually start playing that movie at a specific location based on what is already loaded. I am using this tutorial here. what I want but basically lets say I have three swf's. A, B, C.

If I go from A to B I use this AS

Code:

B_bt.onRelease = function() {
if (_root.currMovie == undefined) {
_root.currMovie = "B"; container.loadMovie("B.swf");
} else if (_root.currMovie != "B") {

[Code]....

View 10 Replies

ActionScript 3.0 :: XML List All Nodes With A Specific Attribute ?

Jul 12, 2011

I'm looking for a way to list all XMLNode that have a certain attribute, in my case, the "link" attribute.So i do :

Code:
var list:XMLList = xml..@link;
for each(var i in list){
trace(i);
}

But this traces the value of the attribute and not the node containing the attribute... How to trace the node??

View 2 Replies

ActionScript 3.0 :: Playing Animation Once Navigated To Specific Frame?

May 5, 2010

I am making a simple application, 4 pages of information with the navigation buttons in a bar along the bottom of all four pages. (easy right!)
My problem is, i won't the information (pics,videos etc) to animate into each page when selected.

I can make them animate in by using the gotoAndPlay () method. BUT when i do this it just loops through all the remaining pages till the end.

gotoAndStop () doesn't play the animations, but the navigation works find.

View 2 Replies

ActionScript 2.0 :: Loading SWF Movie And Playing On Specific Frame

Jun 18, 2011

I am doing a presentation in flash in movie languages I have 7 buttons when some body click button 1 it should go to a new movie called animate frame number 2 when some body click button 2 in movie language it should go to movie animate frame 6 if people click button 3 in language movie it should play movie animate frame 11 like that for all 7 buttons I have used the following code but its always going and stopping at frame number 1 in animate movie

Here is the code:
button 2
on (release) {
unloadMovie
loadMovieNum ("animate.swf", 6);
}
button 3
on (release) {
unloadMovie
loadMovieNum ("animate.swf", 11);
}

View 2 Replies

ActionScript 2.0 :: Playing A Timeline In Reverse Until A Specific Frame?

Jan 19, 2006

I have a movieclip that is comprised of multiple images.These images are used as the backdrops of various different pages of my portfolio.Every image is in a specific order, so if the user decides to go from page 1 to page 4, it will pan through the first three pages quickly before stopping on the 4th page. Simple Enough.The problem is I want them to be able to also do this while manipulating the timeline in reverse. So say if they're on page 4 and want to go back to page 2, it will 'rewind' the timeline and stop on page 2.know there are plenty of tutorials out on how to play a timeline in reverse, however none of which discuss stopping automatically when reaching a certain point that is before the beginning

View 8 Replies

ActionScript 2.0 :: List All The Files Inside A Specific Folder Using Flash 8

Nov 2, 2006

I was wondering if it was possible to list all the files inside a specific folder using Flash 8 Action Script. Just that I have an image gallery that has all the image names in an array. What I would like to do instead is get the image names from the folder they are in. Is something like this possible without the use of a server side programming language like PHP since the flash file will not be on a PHP server.

View 6 Replies

ActionScript 2.0 :: Stopping A Playing MC At A Specific Frame Without Stop(); On Keyframe

Mar 7, 2004

What I want to have happen is when you mouse down on the button/MC the block_mc will first jump to frame 40 and then it needs to check and stop when the block_mc reaches frame 12. I have attached a simplified version of what I was trying to do

View 5 Replies

ActionScript 2.0 :: Stopping A Playing MC At A Specific Frame Without Stop(); On Keyframe?

Mar 7, 2004

What I want to have happen is when you mouse down on the button/MC the block_mc will first jump to frame 40 and then it needs to check and stop when the block_mc reaches frame 12. I have attached a simplified version of what I was trying to do

View 5 Replies

Actionscript 3 :: List (a Potentially Large Amount Of) Classes In A Specific Package?

Dec 11, 2011

I have x amount of classes in a package eg. "com.trevorboyle.lotsofclasses" and I keep adding more (These classes will probably all be static and will probably all extend the same class).I wish to create a drop-down list of all these classes, preferably without having to manually create an array myself.

Once a class is selected from the list, I'll be able to use getDefinitionByName to return it, because I will know it's name at this point.The question is, as I believe there is no support in AS3 to list all the classes in a specific package, is there a design pattern that handles this?

View 1 Replies

Flash - Playing A MPEG Movie, Starting And Ending In Specific Places?

Aug 26, 2010

I've compiled an MTS video into MP4 format using FFMPEG. The video is 2 minutes long.

I want to be able to play the video back but start at 0:15 seconds and end at 0:45 seconds. Effectively I want the playback software to only show 30 seconds of playback available. The software must be a Flash-based application for integration into HTML.

View 2 Replies

Flash :: Recommend A MP3 Player Supporting Starting Playing From A Specific Time?

Aug 18, 2011

I need a Flash player which can start my mp3 file from a specific time based on the embedding properties or on URL or just anything.

View 2 Replies

ActionScript 3.0 :: Thumb Image Playing Embed Video In Specific Location?

Jan 2, 2011

i want a thumb image to play an embed video in a specific location

View 1 Replies

ActionScript 2.0 :: List All The Current Movie Clips Playing?

Oct 9, 2004

On my main timeline, I have a "Background" graphic object with some control buttons, on the main timeline there may (or may not) be a few other movie clips playing at any given point.

I want the pause button (in the Background object) to figure out what all movie clips are playing from the _root down, and stop them all. I am currently doing this by putting in the code: mc1.stop(); mc2.stop(); mc3.stop(); etc...

View 7 Replies

ActionScript 3.0 :: External Loaded Swf Completes Playing Should Jump To Main File Specific Frame

Nov 28, 2009

when a external swf file gets loaded into main swf file, i need to detect while playing external file reach to end so that i can unload that file and move to another frame on root of main file. I am not getting how to identify external swf play reach to end so that i can unload swf and jump to root specific frame of main swf.

View 1 Replies

ActionScript 2.0 :: Playing Specific Sound Files Based On Letters In User Entered Word?

Nov 19, 2006

I was thinking that it may be possible to create a primitive, yet usable actionscript based text to speech system for Flash movies (One that is platform independent).

Is it possible to right a series of actionscript commands that would play a collection of certain sound files based on what word or words the user has entered?

For example:

If the user types "Red Pen"

Can actionscript tear apart those two words and play sound files "Arr", "ee", "Dee", "Pee", "ee" and "EN"?

If it is possible, and if someone could help me out on it, then I'll start figuring out what phonetic sounds I'll need to record and program, and see if I can't build a simple text to speech program for flash movies.I have no immediate commercial application for it, and I don't plan on one.So if I can pull it off it'll be free to everyone, source code and all. Of course, it may be in my voice, but it shouldn't be hard to take what I plan to do and use it as a template for anyone else's voice recordings.

View 2 Replies

Flex :: Setting A Custom ItemRenderer In A ComboBox On Specific List Items After Combobox Creation?

Nov 8, 2010

I'm trying to set a specific list item in a mx combobox to have a custom item renderer, the problem is that I cannot do this via mxml, it needs to be done via actionscript at a later stage, eg: combobox gets created, combobox gets populated, user does other tasks, combobox needs to set one or more items in the combobox to have icons (via item renderer)..

I can do this via the onChange event, but it only applies the icon when the combobox is opened and there is a slight delay so you can see the icon being added.

View 1 Replies

ActionScript 3.0 :: Mp3 Title List - Stop Button Should Move From Song To Song When Playing?

Aug 19, 2009

I have a list of mp3-songs, when song 1 is clicked it gets streamed, a stop-button appears, if this Btn is clicked, this Btn disappears as it should - but if user forgets to click for stopping sound and clicks song 2, stopBtn 1 remains and the new stopBtn 2 also appears. there should be only one stopBtn, the one next to the song is playing.

I would like to move the stopBtn and I have tried several approaches move; graphics.moveTo; if(stopButton !=null) {removeChild (stopButton)}; I packed the var stopButton:Sprite in the header and so on.

Code:
SoundMixer.stopAll();
import flash.display.Sprite;[code]..........

View 0 Replies

ActionScript 2.0 :: Make A Specific Thing Happen While Clicking A Specific Button

Jan 17, 2006

What I want is a hint how to make a specific thing happen while clicking a specific button. Like "if I click button 1, do this". Would like to use this script though I'm gonna add buttons over time and this is an easy way to have the functionality working.

Here's the code:

Attach Code

function hitButton(btn) {
btn.onRollOver = function() {
this.colorTo (0xC4006A);

[Code]....

View 4 Replies

ActionScript 2.0 :: Change The Colour Of A Graphic In A Specific Movie In A Specific Frame

Mar 31, 2006

i need to change the colour of a graphic in a specific movie in a specific frame. if i have a movie clip instance-named "sidetext" thats 15 frames long, and i want a graphic in the movie, called "letterp" to change to one of four colours that i want it to randomly at frame 10 and stay that colour uintil frame 15, how can i do this?

View 2 Replies

ActionScript 3.0 :: Loop A Specific Bit Of My Movie Until A Specific Link Is Clicked?

Mar 29, 2010

how I can loop a specific bit of my movie until a specific link is clicked?

View 5 Replies

Flash 10 :: Export Specific Frames Not All Frame - Specific Timeline

Sep 15, 2010

how do i export specific frames not all frame. ex: if flash has 1 to 200 frames. here i want to export 51 to 150 frames as a movie. if there is any command or plugin to export movie like this.

View 0 Replies

ActionScript 2.0 :: Read Specific Field In XML If Press A Specific Buton?

Mar 7, 2011

so i need to make a flash that will do the next things.if user press button "x" on the next frame should display "x" text from a xml.if user press button "y" on the next frame should display "y" text from a xml.

View 1 Replies

Target A Specific Frame In Specific Movie Clip?

Dec 3, 2009

I have been doing really well figuring everything out up until now.[code]How it stands, what is this link pointing to? Can I make it target a specific frame in a specific movie clip?And if someone would be so kind and explain what this is saying in 3rd grader terms.

View 3 Replies

ActionScript 2.0 :: Loading Specific Frames Within Specific Movies

Dec 5, 2004

cutting to the chase, Basically im loading a movie externally using this code...

Code:

on (release) {
if (S_Init == Number(S_Init)) {
loadMovieNum("s_menu.swf", _root.S_Init);

[Code].....

View 4 Replies

ActionScript 2.0 :: LoadMovies When Specific Clips Are In Specific Positions

Feb 18, 2005

I have a sliding menu, and need to loadMovies when specific clips are in specific positions. For gallery, for example, the code I'm using is:

if (xTargetSLI = 350){
loadMovie ("gallery.swf", 1);
}

But with that code, gallery.swf loads by itself, regardless of the position of SLI.

View 7 Replies







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