I made a .swf file which contains a video player linked to an .flv file (which I had to fill in by Source in the Parameter menu of Flash CS3).But how can I make this source variable so that I can change the source by JavaScript?
I want to change the image at click event.I change the source of the image on click but its not reflecting immediately it comes when any other event is fired.
How do you say or achieve container.child.source = image.png?
I have a hexagon map built by specifying width and height. I draw a wireframe and place a base image for each hex into a canvas. Next, the canvas listens for a mouse click. I then run a calculation to determine which hex the mouse click was closest to. My intent is to change the source of the image that the user clicked on.
I know that mapSlate.getChildByName(mapProperties[closestHex]['baseName']) is the intended hex but I can't quite get to the point of doing a .source as Flex doesn't know that the selected object is an image.
I have a component where I expose the property 'questions' with the following code:
private var _questions:ArrayCollection; private var questionsChanged:Boolean; [Bindable("questionsChanged")]
[Code]....
In this component, I use commitProperties() to implement my logic.
I use Cairngorm and the 'questions' is in the model and hence it's defined as a source for data binding.
When the 'questions' ArrayCollection's size changes elsewhere in the application, it is not invoking the setter method in the component that is destination for the data binding.
i have a Air Project in which i have added three extenal source folders. but when i reopen project or strat flash builder again i get icon on those folder like this but when i open the configuration for that project and try to validate the path and adding it again i get message like this but the path is valid. proof is this pic what could be possible error,,, is there any way that i when ever re-open project i get no warning and able to navigate through the linked source code. now i am doing it
So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.
I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.
So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.[code]I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.
I'm trying to create a swf file that contains one flv playback component (Flash cs4) and one button. I can get the flv to load it's first video (the "source" attribute of the flv component is initially set in the component inspector to the http path to the video on my server ), but when I click the backyard button, the backyard video won't load The backyard video ("backWithDogs.f4v") is in the same folder as the .swf file on the server.ActionScript Code:backyard_btn.addEventListener(MouseEvent.CLICK, loadBackyardVideo);
function loadBackyardVideo(e:MouseEvent):void{ videoPlayer.source = "backWithDogs.f4v"; }
Can we put [Bindable] on functions/methods? I know that bindable is used to change the value of the source property to destination property. But not sure if we can use that for methods. why we cannot put/ if we can then what will be the outcome?
We've updated to Flash Professional CS5.5, but are noticing that when multiple users access the FLA over AFP network file share off our OSX Server, they are not restricted from opening the FLA at the same time.Could have sworn that's always just worked in past versions. Most apps just refuse users access to open files; Other apps like Office warn us of multiple user access to open read-only.
I am a programmer who is working with a client's flash designers. Most of my client's personnel have CS3. I recently upgraded to CS5 due to another contract that I am working on for a different client. Will I be able to modify my CS3 designer's .fla file, save and hand back to them to finish designing?? Will they be able to open up my modified document?
What would be the differenceif instead of ,=> specifying a bunch of code, present at a separate location of my hard-disk as RSL ( runtime shared library),=> I specify it just as another source folder
im trying to get text from a text file to appear in a text box on my time line. the initial movie stops at frame one where a map appears..once they click on the room it'll take them to a specific frame toward the end of the movie where i have decriptions, pics, etc for each room set up...for the description box in, for example, the computer room (frame 477) the instance name of the text box is computer room,the text file is named computerroomtext.txt, the variable name is computerroom....in the actionscript i did loadVariables ("computerroom.txt","_root.computer room");
in my text file i put computerroom=blahblahblah
when i test the movie and click the button that takes me to frame 477 (the computer room) theres no text. if i remove the text file from the folder i get an error that it couldnt be found, so i know its doing something...i just cant figure out why the text isnt showing up.
I was woundering if anyone has ever run into the problem when they are useing the getTime(); command but wanted it to stay in a specific time zone no matter what zone the user is browsing in. So basically I want it to display central time, but if a user browsing my site is in Pacific time, I want the time to display in central, even if he/she tries to change the the clock on his/her computer. So I think the only other way to do this would get the time from another source? I tried getUTCTime(); but that time still changes if the user changes the clock on his/her computer. I was thinking if I could do something like getTime(); and inside the () , mabey I could put my IP address?
i found a source code that helps me get around a problem i have. but i do not kno how to use the source code.Do i have to put it in a certain folder or compile it so that the fla im working in can use the methods from it?
I want to put a video section on my site and was trying to create a flv player which can just simply lie on the page and play a video taking the source from a xml or txt.I m putting multiple links/thumbs on site(which will keep changing with time).after clicking the thumbs/links the javascript will write a xml/txt on the fly and will refresh the flv player to reread the file.
How can I slap a bunch of movieclips on the screen and make them fit in an area like a pane.....and make them scrollable....I thought this would be easy using the scroll pane......ormaybe i'm just loosing it....i can only add one clip as the source and it becomes scrollable.......but i dont know how to make a bunch of them scrollable.....I tried adding a bunch of movieclips to one movieclip and make that the source of the scroll pane....but it doesnt want to scroll...
I need pointing in the right direction with a random question.I need to change my Flash player to take on adverts at the beginning or end of playing the desired video.Is there anyway to do this by supplying the player with 2 separate videos?For example, at the moment I use this within my player:
<script type="text/javascript"> var s1 = new SWFObject( "/flash/FLVClipEditor.swf?" + new Date(). getTime(),
I have on Scene 1 progress bar (progressbar component), and on Scene 2 animation. I am trying write as source progress bar Scene 2 but I still have and error: Error: Source clip 'Scene 2' not found on parent. [URL]
I am a Java programmer and I can read and edit most anything I get my hands on. I don't work much with flash and when I do there is no reason to look at any sort of source.I received a file from someone to add to a project and the instructions were to open the .fla in CS5 and edit certain lines to pioint to directories . The file is and interactive app type.I have tried doing this but I am at a loss. I had thought that I would just be able to view some source in the file and edit those lines and export the ,swf, but I can see nothing like that.
I had to add the cuepoints after setting the source.Iam trying to use cuePoints on a flvPlayer component but it wont work for me.I have a flvPlayer 2.5 in my timeline (vid_mc) and this code:[code]
I am new in flash but because I was programmer I could learn action script quickly but I need some professional source code and example to reinforce my infrastructure in flash so could you please introduce me a good place for download or see these sources?(I need to expand my exprience throught these kind of sources )
In Flash Builder (flex 4) I try to use next code to set selected by user (from file system) Image as a repeated background. It worked with mx:Image but I want to use cool repited capabiletis of s:BitmapFill.BTW: Technic I use also does not work with S:BitmapImage. Also FP does not return any errors. What Shall I do with my code to make it work?
Quick question, has anyone ever come across either a web cam API or an open source alternative that can be easily integrated to a site without having any Flash or ActionScript experience.
I should probably say what I'm trying to do.... The idea is to create a Facebook app that lets friends communicate (and meet new people too) in real time over web cam.
I am looking for an open-source iTunes style media player that I can use as a base for functionality I would like to develop. I am quite keen on Flex/Air, or C# or Java will do for languages.
I would like to compile my view classes into an SWC from flash, and compile the rest of the application using mxmlc (avoiding recompiling through the IDE). However, because the view classes (source) are in the project class path, mxmlc gives them precedence over the compiled SWC.
Now I'm thinking that maybe the view classes have to be separated into a separate project, but I am hesitant to do so because I don't think these classes truly constitute an independent project, and separating them out would not serve any purpose beyond working around the linking precedence problem. Furthermore, if i were to change my mind about the linkage, i would have to restructure both projects, and any common dependancies between the two projects could be messy to maintain.
How can I get mxmlc to give precedence to the SWC over the Actionscript? Or, if this is not possible, is it more common to create a separate project for the Flash-compiled library, or to isolate the Flash source in the project so that it is not included in the project class path?