ActionScript 2.0 :: Send Data From Moveclip 1 To The Main Movieclip?
Feb 16, 2009
i have main movie .. in the first frame i made " loadMovie " for 2 movieclips in diffrent places on the main movie but the problem is i need to send data from one of the loaded movieclips to text in the main movie .. how to made this ..
I have some main time line variables I need to access and manipulate from inside a movieclip timeline. However, when I try to subtract from a global variable, one that's declared on the main timeline on frame 1 outside of a function/whatever, it says:Symbol 'lemon_cup', Layer 'actions', Frame 1, Line 54 1120: Access of undefined property lemons1.
Ok so i have a movieclip called 'home' which is within the container called 'sections'. On the 'home' movieclip there are buttons which go to other movieclips e.g. 'health' which are within the container 'holder'. I want it so that when the 'health' button is clicked it unloads the home movieclip within the 'sections' container and open that movieclip. I have tried:
PHP Code: on (release) { if (_root.sections.home) {
got MC A and MC B. MC B is directly under MC A. They are both indepedent on the stage, meaning they are not children of a bigger mc container. They both have rollover events, how can I activate the rollover events of MC B??Im aware of mouseChildren and mouseEnabled, but that requires them to be in the same container...
i have a problem regarding the integration between flash and ASP file i have an ASP file that gets a record set from the database i don't know how to send this record set to flash and place it in a data grid
I need to send a byte array of data (its an image source) along with a bunch of other vars to a service.If I send the byte array using something like the following
var request:URLRequest = new URLRequest ( 'http://www.mydomain.com/upload.php' ); var loader: URLLoader = new URLLoader(); request.contentType = 'application/octet-stream';
I have a site with an SWF that I can put some metrics into, such as ZIP Code, Weight, etc.. then, it takes that info and gives me shipping rates.
I need to build a front-end site that I can have a forms page that will push data to the backend SWF, and then return the data back from the SWF to the front end.
I currently have a Flash app that gets populated by parsing data from an external XML file. However, I need to get the XML data into a (JSP) session and can't neccesarily have an external XML file--any suggestions? Can I put the XML string into a hidden input field in a form on the HTML? Can Flash communicate with that HTML? Or are one of the below methods recommended:
when we create a flash file with xml loaded data, do we need to supply that xml file all the time with the main file? Cant we just send main file to the client?
I Have a flashmovie thats almost done and will soon hit the internet, but I want to add some animations into the website it�s two gears that I�m about to put at the bottom of the page and when a button releases in the main flashmovie the two bottom gears will turn a few frames and just stand still.These three movies are all separate (main movie, first gear and second gear).
It's a homepage designed in HTML and flash that has this "main flashmovie" in the middle of the screen, the size is about 1500(width)X800(height). And the gears is about 800wX200h placed at the left and right side bottom of the page. Dont worry the site is easy to apply to any screen resolution.I have been looking everywhere for any soul out there who suffering from the same problem but no success. Is it possible to script a button in the main movie to launch two separate movies in their own contents?
I would like to send variables or parameters from Component to Main (MXML) Application. Like my component is FileUpload.mxml and would like to forward the uploaded file details from FileUpload.mxml to Main.mxml.
I tried the following procedure :
com:FileUpload id="fp"
to get the reference for the FileUpload component, however, I am unable to get the variables from the FileUpload.mxml file.
I created a menu of invisible movieclips (from a library item with the class name Invis) with buttonmode set to true so that I can have them send the playhead to different labels on the main timeline. I could use some help with determining which button is clicked and then placing code that executes depending on which button is clicked.
Here is what I have so far on frame 1 of my timeline:
This works - I get [object Invis]0,or [object Invis]1...etc in my output //window depending on which one I clicked. Just not sure what to do next
I am the fan of kirupa but this is my first thread in forum. I have some problem with sendAndLoad method with actionscript 2.0. I am developing a online game with flash mx , MS SQL 2000 and asp. The problem is I send the data using sendAndLoad method to asp file and get data back from asp file. But when the internet connection is not good there is a problem like jam or lost packets. How can I prevent the lost of packets. Some of the data are important. Is there any way to solve this?
I have a label on my root timeline called "services". I have a services button inside a movie clip. How do I access the main time line to send it over to the page services? I'm using actionscript 3. Back in the day it would have been as simple as root.gotoandplay("services")
I have a movie clip which, when closed, should send you to a specific frame on the main timeline... I have used frame labels on the main timeline... Here is a bit of my code so far:
I have a loop that creates movie clips where the movie clips are named mc_+ x for say x = 1 to 10 so the movieclips are called mc_1, mc_2.....mc_10.
What I need to do is the know which one of the movieclips is clicked on but more importantly the number i.e if movieclip mc_2 is clicked on then I need to use the value 2.
At the moment I am sending the value of x to be displayed in a text box within each movieclip:
_root.search.textfield.text = x;
Then I have a piece of actionscript that uses the value of x but I don't seem to be able to "re-read" the value of x back with:
var t = _root.search.textfield.text;
what I want is t = x is it to do with strings and number variables?is it possible to send the variable x to each movieclip so that it can be called from within each movieclip instead?
I tried the Example: Simple Editor which sends and loads data from XML file but it didn't work. Does anyone know why?? I really need to send data to xml but I couldn't find a way of using XML.send correctly!
I am working to send data from as3 to php and I am having a little trouble with it. I am new to both AS3 and php but at this point I think I am doing fine.
The project is simple it just takes two values from as3 and send its to php. But apparently I am not able to send variables from as3 to php. Here is the code(its very simple code)[code]...
I would like to send some data, from an input field and some dynamic fields without opening an new page or replace the existenceto a URL... I tried this�.
Code: function sendForm() { my_lv = new LoadVars(); my_lv.baseId = _parent.baseId_text.text;
Send data from Flash to PHP = Possible. Is it possible the other way? ( for example, send a variable from PHP to Flash ). If it is, how secure is it? Can people see the data that was sent?