Not sure that I understand how the Reader engine for AS 3.0 handles "load" requests. Following is a problem that I try to solve for a customer: there a three - 3 - swf files, each contains a short video of 10 sec's in full hd, stage is 1920x1080 px, let's call them a,b and c
The request is the following: start with swf a and let it run, loop, and during that time offer the possibility to select or swf b or swf c to run in stead of a when swf b runs, loops, offer the possibility to select or swf a or swf c to run in stead of b idem for swf c or with words: each of the swf's offer the possibility to invoke one of the 2 other swf's.
I tried various code snippits, and when running a it starts b but a contineous to run, so it seems ihe engine does not pass control to b. Maybe I have to put everything in 1 swf? But that is not what the customers want, he wants the 3 swf's.
how to open a new SWF(about.swf)(i used the addChild method) when clicking on a button. In the 1st original SWF(home.swf) i let a song begin to play via AS3. This piece of code consists of a play and stop button, which works according to if the song is playing or not. It automatically starts playing when the home.swf opens.
now here comes my problem...I need my play and stop buttons in about.swf to be able to control the song in home.swf when the addChild method was used.
Here is the code that loads the music:
import flash.media.Sound; import flash.net.URLRequest; var music:Sound = new Sound(new URLRequest("SoundTrack.mp3"));
[Code]....
To break it all down....in home.swf i load about.swf with buttons play_btn and stop_btn. These two buttons need to work with the song loaded in home.swf
I wish to be able to use a Flash animation (call it "one.swf, loaded into "one.html"") as a control panel to control the activities in another animation (say "two.swf" which of course will reside in "two.html")The control panel ("one.swf") will have 10 buttons for the navigation around "two.swf" and "on release" of the butons, I would like for BOTH 1. the navigation in "two.swf" to happen AND 2. "one.swf" to be (preferably) minimised or else closed.What sort of coding is needed to enable this interaction between the two swf files?here will be a button on "two.swf" which will be used to call up "one.swf", but presumably the coding there will need to be different if "one.swf" is minimised to how it is if it is closed. Whilst I can hack opening "one.swf" from fresh if it has been closed, how do I code the button to restore it from being minimised?
I know Shared Objects are the standard way to store data from flash, but these seem to have a number of limitations.I'm wondering if it's possible for the flashplayer to manipulate regular files.It's my understanding that through FileReference you can load a file of the user's choice into memory. My question is, would it be possible to manipulate this file then present it back to the user for download? Possibly using javascript to assist?
I understand that it might be possible using server-side technology, but I'm wondering if it can be done without taking hard drive space and bandwidth from the server.
I have created a Flash file with 4 "Fill in the Blank" questions (from the Learning Interactions continued within Flash CS3) at the end. I'm then using the swf file in two different ways. One way simply loads the swf file onto a 'stand-alone' page on my website and it works perfectly.The other way I want to use it is integrated into a more complicated website where I have a Flash File into which various swf files are loaded when needed. In this version the "Control Button" doesn't change to "Check Answer" and "Reset" as it should and the whole question doesn't work. The working version is at url..Select "4 For You to Try" to go directly to Quiz Questions.The non-working version is at url...Go to "Extras" in Menu and select Naming Alkane Isomers, then "4 For You to Try" again.
I installed Flash CS4 Professional trial version for school use. It wouldn't install successfully. I deleted the font files the troubleshooting guide said to, tried again, but gave up. (I'm afraid to run regedit and mess up everything else I have loaded.) (I previously had the Fireworks CS4 trial version loaded, then uninstalled it.) My problem is this- I have it running, but it saves files and then they can't be opened, even if I use the save function often- it's worse when I create the file, test the movie and then save.If I try to open it again, it says "cannot open file." Once it opened a copy I had saved, and it appeared blank, even though it was 544 kb file size. I only need it for a few more days, one more assignment and I'm afraid my previous files are corrupt. I have Windows Vista Home Edition.
I am constructing a Flash animation and I was hoping to build it by scenes. These scenes would be individual SWF movies that I could import into my final Flash file in consequential order and when finished I would have a completed Flash Movie. There would be no interaction beyond Play/and replay. Where can I get information on how to construct this and is this a recomended way to do it?
i am new with adobe flash and i have made 2 swf files that need to link to one main one, i am not sure what the actions should say. so far my programming for my main swf where i want all the other swfs to open from are:
var movieLoader:Loader = new Loader();function addMovie(event:Event):void {var movieRequest:URLRequest=new URLRequest ("slideshow.swf");//define a loader to load a movie to the stage//Set the loaders load property to the the var movieRequestmovieLoader.load(movieRequest);//add the image to the stageaddChild(movieLoader);//set its x and y positionsmovieLoader.x=0;movieLoader.y=0;}PictureSlideshow.addEventListener (MouseEvent.MOUSE_DOWN,addMovie); function activateButtons() { removeChild(movieLoader); }
I've been trying to teach myself flash for a couple of weeks and am totally lost. I have had experience with programming in the past, so I understand logic, etc, but I really am not grasping this forced time based system.What I need to do seems pretty simple. I have a jpg of a washing machine front panel. I need to be able to put some transparent "buttons" over it, and have some areas "light up" when the buttons are pressed. So far I understand that I have to work in a chronological setup, with key frames for each state of interaction, and use buttons with some kind of gotoframe action script. what I can't do:
1. get the background jpg to stick to the stage. it apparently has to be either a symbol or a layer?
2. make transparent buttons. in flash catalyst I can just set the opacity to 0, but I'm not sure how to do this in flash pro.
I guess those are the pressing issues. I had tried to import the jpg as a psd background, but then I had to put the button on a separate layer, and it was always either behind the background, or I had to have it's action refer only to the timeline of it's own layer and not the background.
I want to use the jquery dialog to open this content. Everything passed in seems to be perfect (according to the GET response from firebug) but I still get a jquery error. missing ; before statement jquery.js line 612
[code]...
If I paste this url into my browser the flash app starts in the browser as expected but not with the jquery dialog obviously. Must be something wrong with my jquery code?
I want two duplicated clips to do a hittest on each other. Anasteroid and a laser. I can use this. on one of the objects but howdo I pick up the name of the other object - it could be anything from
The following are two screenshots of something I'd like to create:
Notice how each 'blank' is a drop-down menu. If a user selects the correct one the text in the drop-down becomes green and a box appears at the bottom that tells them they got it right. As soon as they go to select a new one the box disappears and re-appears with a message saying either they got the next one right or wrong. If they get it wrong it turns red. There is no backend data that needs to be processed; it's just the interaction I want to create.
how I might go about doing this in Flash/ActionScript?
I know how to create the interface itself I believe with the drop-down component but I have no idea how to program this.
I have a product that I am showing call-outs on. Little dots that when rolled over trigers an animation and displays information about the feature. This in itself is no problem, I have seven of these set up as buttons that work when rolled over. However, the people I am setting this up for would like the animations to be on auto play when the user is not interacting with the flash piece within a greater page. I thought I could just build a movie clip with all of the animations compiled and let them run on a layer and then when a users curser came into view of the flash piece it would stop the movie and allow for the user to manually rollover the features.
I am looking at taking on a project that will be a considerable challenge since I come from a LAMP development environment. I am wanting to create a Flash driven community with chat and profiles. In PHP I know how I would go about handling the data as everything is put together on the server and returned to the user completely formatted, however adding a flash layer on top of it present a problem. I am not sure how to transport data from the server to a flash file without using XML. The obvious problem that I see is as more people are online, Sending updated XML files to flash could become a bandwidth hog and make for a slow UI. best method of moving result data from a PHP script to Flash without using XML or is that going to be the only viable option? My concern is load time. Also is there a good way of unloading data once it is no longer used (ie Photos).
I created a rotating cube using the below code and add bitmaps as sides of the cube. I was wondering if it's possibly to assign movie clips as sides of the cube so I can have some interaction with them.
I have a video embedded in Flash as an FLV. I'm able to get the video to play through the way I want, but when the video plays through and ends, I want to have two options/"buttons" display that allow the user to either replay the video a la youtube, or link to another web page.
I know it must a very basic question but I can't seem to find any answers. I've included a screen capture of the end of the video.
Normally for a string to object is converted as follows.var obj:object=getChildByName("string");And we can give properties to it like obj.x=100;But in the case of a series of stings
I have a swf file with some images inside. What I want is to update the information displayed in my webpage without refreshing the whole page.In the simplest way explained I know how to do this using a simple link using jquery:
However, what I exactly want is the same effect by clicking on the images that move around in my swf file:
// Depending on the image you click on the swf file, the page should display different info in the same div target_mc.onRelease = function() { if (ruta.indexOf("AP") != -1){
I have a swf file with some images inside. What I want is to update the information displayed in my webpage without refreshing the whole page. In the simplest way explained I know how to do this using a simple link using jquery:
However, what I exactly want is the same effect by clicking on the images that move around in my swf file:
[Code]...
What I've found out till now is that this is ActionScript 2.0 and not 3.0. I suppose I'm getting closer to the solution with this ;). I'm fairly new in all this stuff.
i have my loaded .swf buttons loading 'movie1' and 'movie2'. both 'movie1' and 'movie2' have a tween in frames 1-5, which is a box that slides open and is stopped. in frames 6-10 the box slides backwards in the opposite and dissapears. i would like it if 'movie1' is open and the user clicks the button for 'movie2', 'movie1' plays 6-10 and then loades 'movie2' and vice versa. i just don't a script for this function.
I am making a chainsaw massacre game, you can find the beginning of it here; http:[url]... I want to be able to jump up and kill the guys in the head, and also the stomach etc etc, but I don't really know how to make it this dynamic, should I have a MovieClip for each body part, or how should I do it?
I created a huge flash application and I need it to interact with an ASP file that interacts wiht a database. But when i loadvars in flash it take a very very long time to load. My guess is that becaus there are sooo many variables, passing them all takes a long time. Is there anyway I can pass only a few variables or speed up the process?
I'm making this interactive map. It's made from tiles of dots, each turned on or off at run time depending on where the user has scrolled to. The tiles are 9x9 dots and I make the map from an array which is 20x40 in size. The swf then shows what is visible as you scroll over that map with a window which is smaller than a 3x2 tile space. The problem I have is that the dots which fall outside of the proposed viewing window still exist so when your mouse hovers over them, even though they're hidden, they still interact.
Here's a picture: Is there some way to mask the interaction of those dots? Each one's a movie clip. I can hide them visually but that's no good, people can still click on them then without even knowing they're there. I've tried loading the exported SWF into a movieClipLoader but that just automatically spills over like this again.