ActionScript 2.0 :: Load Two Or More MediaDispay/Player-components Into Different Levels?
Jan 20, 2005
It looks like this might be a bug, but Im not sure. When you load two or more MediaDispay/Player-components into different levels (using loadMovieNum()) in a project, the project will crash/freeze.
Its enough just having one of these components in the library (ie. not on the stage) in two or more .swf's that gets loaded into the project, for it all to freeze up.
I'm loading some CSS for my dynamic text textfields, but I have lots of MC's containing many other MC's which contain many textfields.[code]but the main nuisance is the fact I need to apply this piece of code for every MC in the movie and every MC within an MC... and every textfield.Isn't there a way to apply this CSS just once, to ANY textfield in ALL levels of the project? (Just like when you load an external txt file with LoadVars)
as you can see it loads an new swf on top of my main. I did not relaize that because of a dropdown menu in the main.swf evrytime I load another swf on top ie obscures the dropdown. besides putting the dropdown in each swf and removing it from the main which would be the obvious, I wanted to avoid this as the loded swfs will have slideshow pro videos which will be a bit heavy.
I've been trying to find useful information on the web about using components in flash. I want to create a simple mp3 player, and I wanted to use the components because I thought that would be easier. I want to create something like this: [URL].
Ive built a pretty nice video payer for swf movie files.So be fore I go any further with it I wanted to extend it to run flv files too. So far this has been a major pain.Im thinking ill buy one of the flash 8 action script books.Everything ive read so far tells me to use the flv components? But I dont want to! I want to adapt my action script from my already working swf player to an flv player?Does anyone have any good tutorials or tips to creating an flv player without components? ive managed to load play and pause an flv and also controll the audio but i want a video progress bar and rewind and fast forward button...
im using a load targetscript to load external swfs into the main timeline of my movie, however im keeping much of the other layers/mc's loaded, and the external swf is loading over them, the level the blank movie clip is created in doesnt seem to be working propperlly?? whats going wrong?
I have a swf with a movieClip with a button in it with the following code:
[Code]...
Now the shoppingchart.swf has a movieClip with the instancename "shopLine_mc" in this movieClip there is a dynamic textfield with the var called product. Now I'd say that if I press the button the shoppingchart.swf should load on level2 and show the text "single toothpick" in the textfield right? It doesnt... it does load the shoppingchart.swf but the dynamic textfield doesnt change.
I've followed the Flash Video Basics Tutoirals 1-8 here on gotoAndLearn and stopped short of making the "Volume Slider" or "Full Screen" buttons. I've been googling all over and not come up with a simple solution to adding these features to my video player. In addition, a counter for the video length would be awesome.
I am working on this project I am doing for my video player application. Everything works except the list component which is supposed to be filled dynamically by xml labels.
How to load flex components using XML. The scenario is simple as like this, i need three buttons to appear in my panel, but the option true or false whether to appear should be in xml.
I want to dynamically load .swf file in a player(like FLV player of as3) in as3.When I shall click on an image the corresponding video will be played on the player on right side(like you tube). Is there something (like FLV player) for .swf files with play, pause, resume, scrubber options to play in web?
I have a flex application that shows information gathered from different external services by using rest api. Some of them are resource intensive, take longer to response.
I'm having a viewstack with a few components. Those components have to execute a function with parameters coming from other components. Therefore the other component may not me loaded directly. Is there any way to load a component via AS3 with a function?
I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component
[Code]...
but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question
I have a general question about AS3. I recently purchased a piece of code - an image scroller - as a component. I like the component, and it works well - except for one issue. When I first addChild the component to the display list of a Sprite, it works well, and the images begin with image 1. However, when I removeChild the component, and then later addChild it again, the images display at a seemingly random point along the image sequence. The component has a settings file and an images array which are xml files, and I have three separate pairs, one for each instance. My question is this: is their a way to force components to re-evaulate ("re-set") each time they load? I'd like to component to move to first image everytime.
I'm new to Flex and am using TileList bound to an ArrayCollection. The array collection is empty at load time, and then updates with the results from am HTTPService call. The problem is that the item renderers aren't being rendered as expected, I'm guessing because there was no data when they were first rendered at load time. Here's simplified example:
I made a flash music player for my server the player works perfectly and loads the xml data when viewed on my computer and even when it has been uploaded to the server IF I view it by itself but once I try and view my HTML file, all of the information for the songs comes up as undefined, so none of the songs will play.
I have the following mark-up to load a YouTube video player in a jQuery Tools overlay:
<a rel="#YouTubeVideo_MZKORPYI0HM" href="http://www.youtube.com/watch?v=mZkoRpyi0HM" title="Watch the YouTube video"> <img src="http://img.youtube.com/vi/mZkoRpyi0HM/2.jpg" class="youtubeThumbnail
[Code]....
The page behaves exactly how I would expect in Firefox (all versions) and Chrome. However, in IE8 (and I have the latest flash plug-in), I see a "1 item remaining" message in the status bar and the overlay contains no flash player. Right-clicking on the grey space shows a "movie not loaded" message.
I've been following the tutorials for building a custom flv player and have come across a few problems, the player can be seen online here: [URL]. I'm having a few issues with the scrubber and the load bar, they loadbar starts in the middle and stretches out towards the sides and the scrubber starts in the middle and runs off the end? I'm pretty new to actionscript as have only really used flash for simple animations before, i have attached the source file and the actions are listed below.
var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); theVideo.attachVideo(ns);[Code] .....
I have an flv player. And now I want to load and unload movies into it, when I enter and leave the frame it's in.Have had problems with this a long time
Is it possible to load a jpg in place of a flash object if no player is found on the viewers browser?
I've figured out how to load an alternative page using "onload" as part of the body tag if no flash player is found, but just need to have something to load an alternative image object instead.
I'm currently building a custom flv player. The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.
Code: var nc: NetConnection = new NetConnection(); nc.connect(null); var ns: NetStream = new NetStream(nc); ns.setBufferTime(5); ns.onStatus = function(info){ [Code] .....
I have a flash mp3 player nested in a header on my website, there is a list down the page of the most recently added songs, I want people to be able to click on a link to a song and have it load into the player in the header.