ActionScript 2.0 :: Got A Flash File With A Series Of Videos In It?
Nov 30, 2010
I've got a flash file with a series of videos in it, what I'm trying to get happen is that when I press 1,2,3,7,8 or 9 it'll take the viewer to one of the six videos, corresponding to the button pressed. I've got no experience with AS2.
View 1 Replies
Similar Posts:
Jul 8, 2011
I am working on a project for a company where I need to have a series of videos, between 3-4, loop at the end of their play
Here is my current code that plays an flv file, and loops the file continuously.
var vid:Video = new Video(550, 120);
addChild(vid);
var nc:NetConnection = new NetConnection();
[Code]....
So basically I need to be able to have 'MyMovie1.flv' play, then 'MyMovie2.flv' play, then 'MyMovie3.flv' play and so forth till after they have all played, it loops back to MyMovie1.flv automatically.
There will be no way to know the total length of all movies, as movies in the future will be switched in and out changing the overall length of the 'playlist', but it is acceptable to have a predetermined number of movies such as 3 or 4 to work with. They will all be .flv files, and the same resolution.
View 5 Replies
Nov 24, 2009
I have a file that uses buttons to play a series of videos. I want to have the button for the currently playing video to stay in the 'down' state while it plays but I don't know how to do it.
View 4 Replies
Dec 19, 2009
anyone knows a flash library to covert series of images into video file?
View 1 Replies
Oct 8, 2009
I am having some problems showing my videos in flash after moving it anywhere besides my computer.
I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at all.
I also published them as SWF files, then put them up on my free website (where i don't have access to the ftp) and the videos still aren't there.
The videos will play fine in an SWF file on my computer, but i am assuming when they are away from the videos, they don't have a source to access them.
I also tried sending the videos along with the SWF files when sending to other computers and it still doesn't work.
I now have a free hosted website (with wix.com if that makes any difference) with my flash work on, but no videos. I even tried to embed a youtube video into the scenes the videos are meant to appear, and put the videos on youtube, then i discovered you can't put that sort of HTML into flash.
how to show the videos on these sort of website, or even better, how to keep them in original file when sending them, so they show on other computers.
View 2 Replies
Nov 17, 2011
I have a video and I want to put it on a Flash Drive so I can view it on an large screen to watch w/o the computer. The file is currently .MKV.
View 1 Replies
Jan 25, 2011
I have a swf file, which plays 6 videos one after the other in a loop. This file is very huge so it is taking more than a minute for it to start playing after the page finished loading. I have taken the original video file, and split it into 6 files. I plan to have 6 tiles in the flash file as soon as the page loads, and when some tile is clicked, the video is loaded dynamically only that video or swf file so that it saves the loading time and once this is done, i want it to revert back to the main page with tiles. I am just starting off with flash and I have no clue how this is possible in flash. I am not asking for code, i need some tips to get started.
View 1 Replies
Aug 2, 2010
resize function, basically I'm dragging out a series of images from an xml file, loading them into my loader_mc, and tabbing through the records with my previous and next buttons with the use of some caurina transitions (each image is positioned of stage in the x coordinate).All works a doozy, but I'm stumped with the resize thing,What I'm trying to achieve is to resize all images produced from the xml array proportionally ...I can't figure out how to do this.I would be very grateful for any tips, advice, solution etc...so that I can learn how to do this, no probs with as2...but need to forget about that now.
ActionScript Code:
import flash.display.*;
import caurina.transitions.*;
[code].....
View 1 Replies
Jul 8, 2010
I'm using FlowPlayer to replace an existing FLV player on my site that plays videos from Amazon E3. I have many pages and each should show a different video. For each page, I have a value stored in my CMS that is the "streamName". The stream name corresponds to a flashvars paramenter in the object/embed tags that show the video player:&streamName=my-great-video
On my new player, I'm able to get the video using a URL similar to [URL] How Does Flash (or Amazon???) know to add in the .swf extension? There are several video formats used on the site, and the current player works with them all... But, as I mentioned above, on each page the value store for the video (ex="my-great-video") includes no extension.
View 1 Replies
Sep 7, 2009
I'm trying to draw a series of external bitmaps descriped by an XML file.
[Code]...
Rather than draw out all of the images described in the XML file, it draws out the last file as many times as there are keys in the XML array (in this case, it draws the last image three times). When I just add it as an image, without having to load them as bitmaps objects, it works fine, but then it won't let me adjust the width and the height of the images.
View 9 Replies
Jun 3, 2011
I'm importing a series of images from an xml file, but for some reason they all get overriden by the last one. Here's a bare bones version of the code. I've been staring at this for a few hours now, hope you can make sense of it.
[Code]...
View 1 Replies
Aug 2, 2010
I could use some help with my resize function, basically I'm dragging out a series of images from an xml file, loading them into my loader_mc, and tabbing through the records with my previous and next buttons with the use of some caurina transitions (each image is positioned of stage in the x coordinate). All works a doozy, but I'm stumped with the resize thing, What I'm trying to achieve is to resize all images produced from the xml array proportionally ...I can't figure out how to do this.
I would be very grateful for any tips, advice, solution etc...so that I can learn how to do this, no probs with as2...but need to forget about that now. I've attached source files for anyone ...code so far, the bit that I cant work out is commented
[Code]...
View 1 Replies
Nov 23, 2010
I have a 3.5MB SWF that points to ~80 FLVs that range in size from 3MB to 10MB.
Is there a way I can package all of these files into one ~500MB file that can be run locally? My client wants sales people to take this app around with them on their laptops and not require the internet and I don't want them to have 100 files to mess with.
View 2 Replies
Nov 1, 2011
Is there a way to create videos in a playlist that i can limit the views to 10 videos per user?
View 1 Replies
Jun 3, 2009
I want to know if actionscript 2 can load different video and audio file types in a single flv component.I tried to load a .mov file in the swf but it's not playing. coz i read over the net that it can only play flv files?Is this possible by coding?
View 3 Replies
Feb 21, 2011
I need to know how to have fill series in flash.Ex:
If User gives 1 then it has to fill like 1,2,3,4,....
if User gives i then it has to fill like i,ii,iii,iv,v,.....
if user gives a then it has to fill like a,b,c,d,e,....
like this i want. Please tell me how to perform this.
View 3 Replies
Jan 2, 2011
How do I find number of all the series (combinations of an array that have at least 3 consecutive values, like [7,8,9]) and have the longest number of values?
from [3,4,1,2,2] it would be 2 - ([1,2,3,4] twice, but ignore [1,2,3]*2 and [2,3,4]*2)
from [9,6,7,5,8] it would be 1 - ([5,6,7,8,9])
[Code]....
this will create an array ($ranks) that will have these values [2:2, 3:1, 4:1, 9:1]
from this I will be able to multiply the values under 2,3 ad4 4 and multiply them by 3, so I would get 2*1*1 * 3
how to find the consecutive values, and ignore ones that aren't (like the 9)
View 2 Replies
Mar 15, 2011
with a small script to load a series of images (img01,img02 and so on) and to put them all in a MC with each and every img in its own frame.That shouldnt be to hard but i cant figure out how to make it.All tutorials is fitted for 1 image only...In my head it looks like this (without correct syntax)
Code:
for(i=0;i<totalImages;i++){
mc.loadImage("img"+i+".jpg")
[code].....
View 2 Replies
Aug 6, 2010
I want to be able to stream a live video using Flash Media Live Encoder 3 using two options of 300 kbps and 150 kbps.I want to give users a choice of stream quality depending on their available bandwidth to maintain the live feed.I have set it up so that the Bit Rates are 300 and 150 and tick marks on: 1 and 2my FMS URL is correctin the Stream: box I have written: test1;test2The SMIL file has the following:
<smil> <head> <meta base="rtmp://live" /> <body> <switch>
<video src="mp4:test1.f4v" system-bitrate="150000"/>
[code].....
View 3 Replies
Jan 27, 2011
We have some HTML pages that embed a swf file to stream flv videos. The video doesn't play and I firstly thought it was the video player's version problem. But it seems more to be related to the path now.
[Code]...
View 2 Replies
Jan 15, 2010
Im trying to load series of external Swfs into a Movieclip on stage. The swf are 800 x 600 in dimension whereas as the container is 400 X 400.
Whenever i try to load the external swf in the container,the container takes the size of the loaded swf instead of 400 x 400 .How can i overcome this? I want to any swf loaded into the container to be 400 x 400
I'm using the following code :
var movLoad:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myListener.onLoadInit = function(thisMc:MovieClip) {
[Code].....
View 1 Replies
Dec 12, 2011
I have a column chart that I made using Adobe Flash Builder.
I'd like to be able to dynamically add (or remove) column series.
View 2 Replies
Nov 6, 2005
I have 3 flash movies: a.swf, b.swf and c.swf. And I create a main.swf to load those 3 movies orderly (from a to c).In the main.swf:- At frame 1, I put the script: loadMovie("a.swf","_root")- At frame 2, I did the similar job as with frame 1 with b.swf.Now the Flash Player only load the b.swf movie. There is no sign of a.swf to be loaded. Tho' I did unloadMovie a.swf before load this new one.
View 3 Replies
Jan 3, 2010
I'm basically trying to extract a series of variables that are passed in URL from another flash movie. I have researched flash vars and the like and didnt really get far.[code]I was able to get the URL into Flash!So flash now has a variable called "section" that holds a string like this.url...My question is; how do i get the values held in each of these days, weeks, years, etc into a format that can be used with in the flash movie. Ideally into seperate variables where the values can be returned in a textbox.
View 1 Replies
Jun 16, 2011
Can anyone suggest an open-sourced time-series chart created using flex??(With functionalities like the one on google/yahoo finance??)Googling gives a lot of unnecessary data,
View 1 Replies
May 4, 2010
What would be a great idea is the same export technique that Flash CS5 has for iPhone but for Windows Phone 7 Series too.
View 3 Replies
May 26, 2010
working on making a flash program that loads about 1000 jpegs and then plays them like a movie. Have all the buttons and stuff working but the time it takes for an image to load is so high that the movie can't be played at 30 fps. I've tried multiple ways of fixing this
using 1 scrollpane and changing its source ever 30 ms. This one is the worst but simplest. Flickers cause strobing and it is unwatchable.
used 2 scrollpanes that were duplicates of each other until I had to load. I would then make that one invisible, load it , then make it visible. Then load the background one. Works but same problem as the first at high speeds, just less severe. used 1 scrollpane per image . This works great, except that it fails miserably on any more than 100 of them due to the number of objects.Currently using action script 3, but will change if its not possible in that.
Also, I want to be able to zoom in and then scroll around the window hence the scrollpanes, but if that's not possible its a sacrifice I'm willing to make
View 1 Replies
Feb 21, 2011
I'm not quite sure how to do this - I'm building an admin interface to sort the order of a series of flash slides into a dynamic presentation. The admin interface pulls the slides from xml and displays each as a thumbnail. The thumbnails, when dragged, reorder themselves in the array appropriately. The problem is, I want the actual array of slides to reorganize itself accordingly. My code is this:
function onThumbPress( e:MouseEvent ):void {
e.target.startDrag();
} function onThumbRelease( e:MouseEvent ):void {
e.currentTarget.stopDrag();
sortSlides();
[Code] .....
So what I want to do is take the change in the array (say 0 moves in front of 1 in project_thumbs_array) - and make sure that my other array (project_clips_array) moves item 0 in front of 1 as well. I thought something like this might work but it doesn't:
project_clips_array.sortOn ('project_thumbs_array.x',Array.NUMERIC);
View 1 Replies
Feb 18, 2008
I'm trying to get a series of concentric rings to appear on the stage, grow, and then fade. So far I have everything working just fine except the setInterval integration. If I run my function (placeRing) it drops a circle on the stage, which then swells until it fades away at the appropriate point. When I rely on setInterval to run the function for me, however, things no longer work. A trace statement in my function is displayed as expected once a second, but the movie clip isn't placed on the stage. I'm sure I'm missing something simple, but I haven't been able to figure it out.
[Code]...
View 2 Replies
Jul 14, 2011
I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....
View 1 Replies