Flex :: Does Flash Fully Load A Flv Before Starting To Play It
Nov 4, 2009If you have an flv of 20mb, does Flash fully load it before starting to play it? And if not, what's the difference then with streaming video?
View 1 RepliesIf you have an flv of 20mb, does Flash fully load it before starting to play it? And if not, what's the difference then with streaming video?
View 1 RepliesI'm in need of a preloader, (or easy tutorial on how to create one), that will run a progress bar and also play a short welcome animation all the way through... regardless of connection speed. One that checks total frames of mc against total bytes loaded or something.
View 5 RepliesAdobe Flash Builder: How to make a function to play video starting from one second and ending in another? So I havein MXML simple video player tag. I need some function to play that video from second X to second Y and pause it. How to do such thing?BTW: we asume file is embeded into SWF.
View 1 Repliesthe player uses a VideoDisplay and i set the source like videoDisplay.source = "sourceStringURL"
and the vid doesn't play until it's fully loaded
I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);
View 7 RepliesI built a pretty simple Flash movie for a client and put a preloader on frame 1. The preloader works fine then the movie plays. What is happening is if you go to another page on the site and then go back to the home page all you see is the preloader bar fully loaded but the movie doesn't play. You have to refresh the page for the swf to play again. It is doing it to me in Firefox but not IE 8 and it is doing it in IE8 on my clients computer...
Here is the code.
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
function onProgress(e:ProgressEvent):void{ var loaded:Number = e.target.bytesLoaded; var total:Number = e.target.bytesTotal; var pct:Number = loaded/total; loader_mc.scaleX = pct; loaded_txt.text="Loading..." + (Math.round(pct * 100)) + "%";}function onComplete(e:Event):void { gotoAndPlay(2);}
Here is a screen cap of what is happening. After you go back to the homepage all you see is the rpeloader bar fully loaded without the load text.
Flv seems like can't be use with loader but NetStream. But I wanted to play the video only after I have completely download it (smooth viewing with no buffering time). How can I do it with NetStream? And Can I have multiple video load at same time, and play it according to some array arrangement?
View 1 RepliesI want to use flv files for help document. But i need to set flv file, start and end points with code.
I'm trying to code flash player which can take these parameters(file name, start, end points) from html parameters.
NetConnection, NetStream and Video components are that i'm using. But i couldn't change the starting point to load flv.
I made a simple 15 second animation. When I play it in the program (not published yet), it plays fine. When i publish it however (I have tried both flash published and HTML published), it plays about 3/4's of the way, and restarts. The second time through (and from then on), it plays fully, just fine. How do I stop this?
View 1 RepliesMy flash media player is not playing automatically when my webpage loads. I have changed the settings from 0 to 1 (which should auto start the file), but still does not start the song automatically. This occurs in IE, FF, and Chrome.
<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="200" height="20">
<param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" />
<param name="bgcolor" value="#ffffff" />
[code]...
I have 4 flv playback instances on a stage.
1. when i load 4 videos and ensure they are fully buffered from video progress event and bytesloaded==bytestotal . and then play them. I get sync issues for every other second.
2. when i download the vidoes and place them in my project folder and then load them ( no loading time) there are no sync issues. I cant understand why 1 is different from 2 as we are completely loading the videos in cache.
I'm trying to preload a movie so that it doesn't stutter when it plays. So i thought preload the whole flv and then let it automatically play. I followed Adobe's tutorial [URL] on 'Controlling web video with ActionScript 3 FLVPlayback programming' and added a progress bar all using components. But I just can't get it to work, the progress bar disappears when it loads and the movie starts playing before its preloaded. Here's the online version; [URL] and I've attached the .fla too.
View 3 RepliesAfter doing some research, I found that there seem to be a lot of confusion regarding what I am trying to do.I thought this would be something that a lot of people would find it useful but very little information out there.I found a thread that did exactly what I'm trying to achieve, but I was hoping I could find some other solution in AS3 aside from using timeline animation and frame labels.[code]...
View 1 Replies[URL] In the movie linked above, the first two menu items trigger a menu to come out on the right side. Right now, it's the same menu (content wise), but the effect is still the same.
Here's my problem: If you let one of the menu's fully load before mousing over the next item, it works fine. However, if you mouse over the next link before the menu is fully loaded, you, the interval starts to snowball, and the menu's won't load fully any longer. The period the menu is down gets shorter and shorter the faster you go between the links.
I mentioned in my last thread, this is *not* the way I really want to handle the menu rolling up, becuase it's a hack/klooge - it's just not the best way. However, in light of me not knowing a better way to actually trigger the next menu once the first menu is rolled up, setting an interval seems to be the closest thing to what I want.
i am having trouble with my gotoAndPlay in my MC. i have An MC1 on main stage then inside it i have another MC2. Now on my MC1 i want wen it comes to frame 15 to go and play starting frame2 on MC2 so in MC1 frame 15 i put mc2.gotoAndPlay(2); But nothing happens.Oh yea MC1 has stop on the first frame. But i dont see why it wont work.
View 2 RepliesI have an swf file on the homepage that is the intro followed a menu. When the user types the URL for the home page from an outside site, I need the entire flash file to play from frame 1, but if you have already seen it and then clicked around to subpages within the site and then want to go back to the home page , I want the movieclip to start from a specified keyframe.
View 8 Repliesif i click 'Play' Button video playing normally, after i click 'Pause' button video pause, next i click 'Play' Button video playing from starting point. what is the problem
solution pls...... Code:
[Code]...
I have three buttons, which starts three separate videos...click on button starts video, that's ok, but then video is not over, if to click again,it's not starts video from beginning. I'm talking about one video. I must push on other button and then on that again to start it from beginning.
ActionScript Code:
import flash.events.MouseEvent;
import fl.video.FLVPlayback;
vidPlayer.stop();
Object(this).1btn.addEventListener(MouseEvent.CLICK, button1);
function button1 (e:MouseEvent):void{
[Code] .....
Using the tutorials on the gotoandlearn main page I built a custom video player that loads the videos from an xml file and it works great. At present the video starts playing as soon as the video opens, I would like the video to only start playing after the user clicks the play button.
View 3 RepliesI have a canvas component that I create and add as a child of a parent canvas component. I set the opaqueBackground property for the child component which makes it opaque over the parent component. However, when I add two child components, they are not opaque over each other. How do I set it up so that one child component completely covers up the other child component?
View 1 RepliesWe are currently thinking on getting our apps automaticaly built and tested through a CI server.My major concern is regarding UI tests.. I've been playing with FlexMonkium/Selenium IDE in Firefox but it doesn't really play nice with my app. I'm also testing RIATest 3 but I would have liked the Firefox approach better because it's easy to use for non technical users..A bigger concern is that my app is really complex, using custom events, custom components, ExternalInterface calls.. in order to make it all work smoothly, should I give an automationName to every single component ? How can I handle custom events ? RPC responses time
View 1 RepliesI've two problems, the second of which is only an issue because it's a possible way to fix the first! I'm developing a Flex 4.1 application, using a Spark theme: I can't change these; Halo isn't an option. It's providing the facility to fill multiple-selected cells of an AdvancedDataGrid with a single character, from a single keypress. So the user selects their cells using the Shift key, hits H (for example) and sees all the cells update with H, without using an itemEditor but via grid keyDown events instead. Then they click somewhere else and the selection should clear.
However the visible selection isn't fully cleared and the newly coloured cells won't all change from their selected colour. Underneath I can verify that the selection has cleared: mygrid.selectedCells is empty. All behaviour afterwards points to some kind of display glitch with the grid: The cells aren't selected any more but they look like they are.
[Code]...
Is it possible to change the starting value on an axis for a chart in Flex 3.4? For example, rather than the y axis starting at 0, have it start at 50.
View 1 RepliesSo I've been working on this website for quite a while now. It's my first website fully in flash. I finished it in the beginning of November and have been slowly fixing bugs here and there. I'm just wondering what your thoughts and comments are? [URL]
View 2 RepliesI'm using a List which I need to be empty at the start. I'm adding items to it as needed by clicking a button. Since it's empty, I haven't added a dataProvider property
<s:List id="thelist" itemRenderer="listIR" />
To add an item, I'm adding it to the dataProvider directly
thelist.dataProvider.addItem()
but when I do that, it gives me this error
#1009: Cannot access a property or method of a null object reference.
Also I have a debugging Alert in the listIR itemRenderer itself and I see that when the list is created, I get that alert twice as if 2 itemRenderers were created, even though the list is supposed to be empty at the start.
How do I start with an empty dataProvider and add items smoothly to it?
I am using Flex dictionary to store ValueObjects with Timestamp as the 'key' for each object.
Given a timestamp, I want to iterate over the dictionary starting from the given timestamp key value.
The Docs discuss the following for dictionary iteration, but this iterates from the first key-value pair.
for (var key:Object in myDictionary)
{
trace(key, myDictionary[key]);
}
im having trouble creating a fully function iphone in flash and create user interaction witht he app.how to do this i have create the different app stages and how they look in photoshop
View 5 RepliesI've been searching for this for a while, and either my google-fu is weak or there is no easy to find answer yet...
I am using a NetStream to stream a video file from anywhere. The NetStream is NOT connected to any server. Here is the code:
// Create new connection and stream
_netCon = new NetConnection();
_netCon.connect(null);
[Code]....
This basically works, of course, but the video always starts playing only when it is fully loaded. It also passes the metadata only then. But the main reason to use a NetStream is so that you can play a video BEFORE it is fully loaded.
I tried playing around with the bufferTime property, but to no avail. Also made sure that there is no caching involved when loading the video. I always load a "new one" by adding some "?bla=date" value behind the url.
Is it possible that the "real" streaming only works when really connected to a server? Or am I missing something else?
The site is created and I tested it on all resolutions but some are complaining some text is too small to read easily. Is there a way to change the size of the entire flash website without having to go in and change individual font sizes and resizing all the graphics?
View 3 RepliesI need to make Flash AS2.0 SCORM 1.2 fully compliant.I have used pipwerks 1.2 wrapper as a example, and the paging works. However I also need an example that does the following: User name Scoring, Time taken etc.I have tried adding cmi.core.score.raw (In AS 2.0) to get score working but when I test it in Scorm test suit, it does not work, and is not scorm compliant.So can someone tell me how to make flash AS2.0 (and AS3.0) Scorm compliance i.e. what AS code do I need to add by ways of code examples.Also what is the best test suit to test it is scorm compliant?
View 1 Replies