ActionScript 3.0 :: Load Swc File Into Component Inspecter?
Mar 28, 2011I was Create .swc file that is like a component how can i load into component inspecter
View 1 RepliesI was Create .swc file that is like a component how can i load into component inspecter
View 1 RepliesI am trying to load .F4V file to Media Display Component on button press using Following Scriptvideo.setMedia("support/name.f4v","F4V")But its not working,
View 1 Repliesquestion about file reference: i have a file reference that can browse for media files (*.flv, *.f4v, *.wmv, *.wma, *.mov) i am trying to load the file Reference in to a video component. i do that by:
video.attachNetStream(ns);
ns.play(null);
myByteArray = fr.data;
ns.appendBytes(myByteArray)
flv files are OK and i can see them and hear them & controll them. but when im trying to load any other kind of movie type, the all thing fails.
can i ask if it is possible to load different video formats in my flv component.I am trying to load a .mov, and ,mp3 and ,wmv in my player but its not working.
View 3 RepliesI have an as3 preloader on the main timeline of my project1.swf It works ok if I test the swf by itself, but when I try to load it into my portfolio file through component loader, the preloader doesn't do anything, it acts as if everything is loaded. What do I need to change to get it to work inside another movie?
[Code]....
This is for mx 2004. How to load variables from an external txt file at the beginning of flash movie...At various keyframes in the scene the movie shows different forms for user to fill in into the TextInput components. As soon as these forms are shown, the TextInput components are pre-filled with default text (the variable values that were loaded, for example "Enter your title here"). I know how to do this in earlier versions easily with the Var variable but now I'm stuck. I've been trying to do something but I keep getting "undefined" in the TextInput.
View 1 RepliesI 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 RepliesI simply have one FLVPlayback component in the background and a movieclip on the layer above with an FLVPlayback component inside it. The first FLV component is constantly looping a five-second video. So all I need is for the movieclip containing the second FLV component to load the right file, fade in, and when the video ends, fade out. Absolutely all of that works... apart from the fading in. What I noticed was that my movieclip was fading in correctly, but the FLVPlayback component was empty and transparent until the fade had finished - then it played the clip. Here's my code, which gets called at random intervals:
[Code]...
I'm trying to load a swf file within another swf file and then load different swf files from buttons.This is the code I'm using, but I can't get any of the swf files to load.
var Xpos:Number = 0;
var Ypos:Number = 0;
var swf:MovieClip;[code]...........
i hav tried to covert .mxlml to .swc file using flex builder it's not working when i integrate with other application.. how to get .swc using SDK..
View 2 RepliesI can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 RepliesI want to load a MSML component from another MSML component in Flex. To be more specific, I have a Login MSML component that loads from my main Application file and a Overview MSML component. When a user clicks on some button from that Login component it should redirect to the load Overview MSML component in place of Login component.
View 6 RepliesI have an array of videos coming from an XML doc. I am getting the name of my video in the trace statement okay, but am not sure how to go about loading the FLV video into the player.I have an FLVPlayback component on the interface named "video". The video I'm going to load will be ("videos/" + videoArray[0]))
View 3 RepliesI have my main file which is built in AS3 and I am loading some older AS2 files. These AS2 files have some video in it and use the FLVPlayback Component.
When I click my button to load the AS2 swf, they load fine and the video plays.
When I hit my back button, I do a simple removeChild on my swfLoader object (Loader).
When I go to open a different AS2 movie with video, the video does not work, however, if I restart the movie and click that AS2 movie first the video plays fine.
I've searched a little and in tutorials the progressbar always loads an external mc...I was wondering, is it possible to make the bar load the main movie?
View 1 RepliesI have a rotaing menu that loads in images from an xml file, I would also like it to load in text info from the same xml file to the left side of the images that load in. In my main .fla have created a movieclip and called it 'textInfo' and inside that I have two dynamic text fields called 'headerText' and 'bodyText' where I want to load the text in. this is what I am using to loading in the text in my actionscript, is this correct?
[Code]...
I found two tutorials that both contain pieces of what i am looking for but i cant seem to figure them out and get exactly what i want. Here is the first one[url]...
In the first one, the general idea is what i am looking for. Except that i want to load a movieclip and not an image. My problem in this one is the button component that is used. I have no clue how to skin or customize the button, and i cant find a good tutorial to help me so i figured it might be easier to just change the actionscript for this. I want to be able to create my own button (instance button) and use that so that when people release that button, the movie clip pops up![url]...
TextArea component does not load after publishing as AIR .I have a TextArea component in the library. Its Class is: fl.controls.TextArea I add it to the stage using the addChild method. Running it inside the flash CS4 the textArea component gets added to the stage as intended. But after publishing, the textArea component doesn't get loaded. What may be the problem? The stage is blank without any textarea.
View 2 RepliesDo i need to use the FLV playback component to load FLV files or can i load FLV files using loadMovie and use them like loaded SWF files? Can FLV files be loaded using ActionScript 1?
I searched for simple examples on how to load an FLV but i can't find any examples..
I created separate own canvas component for Home page, Contact page, Rules page etc.In my main application it has link button like Home,Contact,Rules in application controller(child state) . [code]...
View 1 RepliesIs there a way to display a web page in a flex component like Canvas, Hbox or TextArea?
View 2 RepliesI'm currently working on a project that contains a lot of data, about 14.000 records. This means an xml file of about 3mb. Now my question is: Should I use the xml file to load all the data at once, or should I use a webservice, that provides the data when I need it? Keep in mind that I'm new to webservices. And if I'm going to use a webservice: How do I store the data, in a mySQL database?How fast is a webservice?
View 1 RepliesI have a little app that can read and write content that is stored in XML files. As those files get updated and re-loaded quite often I have made the experience that the browser tends to use the old/cached XML-data. Can I somehow flag the URLLoader that I use to load the XML to always load the actual file instead of looking for cached versions?
View 4 RepliesI have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:
[Code].....
so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?
When i try to load an external swf file using Loader.Load(); The swf starts playing even before the init event is fired. Is there any way to stop the swf from playing atleast until the init event or complete event is fired?
View 1 RepliesHow I can make this script lo load mp3 files via an external xml file like music.xml and if is possible to load random
Code:
music = new Sound();
music.onSoundComplete = function() {
[code]....
im trying to load different flv's into an FLVPlayback component on my stage via buttons.[code]1119: Access of possibly undefined property videoSource through a reference with static type flash.display:SimpleButton.
View 1 RepliesIn AIR application i have link button like winner statistics . if i like this button then show winner statistics (canves) reports full page on my application . I Already created winner statistics using canves component .Which container is mostly used for view data ?
Please refer me ? i tried viewstack but it will overwrite Main page ?
How do I load XML from a local file into a List component in MXML Flash Builder 4?
I tried using Actionscript to create a loader, but I can't seem to add an event listener to the loader. I've tried to create a local service but I couldn't get that to work either.
I'm making an XML driven AIR app. I plan on having multiple XML files being used - some for content and some for storing settings, state etc.
As some Internet tutorial suggested I've built a simple server-client application for FLV Video Player using PHP and Flex. The problem I encountered is that I can't change the source of the video in the mxml file using Notepad++. The source could be changed if I run Flex but It's not a good idea because I want to run different videos through this player.how to run different videos with this Flex Video Player component because my application works only for this given in the source of FlexPlayer.mxml-maybe I shouldn't use this mxml file for the different Video Sources?
<s:VideoPlayer id="Player" left="0" top="0" width="493" height="382" chromeColor="#2875DE"
color="#000000" skinClass="MySkin" source="Video Source/Coldplay - Clocks.flv"/>
</s:Application>
[code].....