Professional :: Retrieve/Fetch 2 Values To 3?
Apr 5, 2011
I'm trying to retrieve values from AS2 to AS3. Here's my codeAS2
code:var as2Txt;as2Txt.text = "My text!"loadMovie("as3.swf", mc_holder);AS3 code:var as3Txt;as3Txt.text = _root.as2Txt;//
View 1 Replies
Similar Posts:
Jun 3, 2009
I am trying to fetch values from HTML -embed tag into Actioscript (Flash CS4). And sending the value to Javascript using ExternalInterface.call
method. But its not working on all browsers. I am getting Security Sandbox Violation error. Following is the HTML in which embed tag and javascript is
[Code]...
View 7 Replies
Jun 3, 2009
I am trying to fetch values from HTML -embed tag into Actioscript 3.0 (Flash CS4). And sending the value to Javascript using ExternalInterface.call method. But its not working on all browsers. I am getting Security Sandbox Violation error. Following is the HTML in which embed tag and javascript is
[Code]...
View 1 Replies
Dec 9, 2010
I'm trying to read an XML from kuler, but I can't retrieve the values from several tags, and I don't know why. Particularly this one:
<enclosure xmlns="http://www.solitude.dk/syndication/enclosures/">
<title>yellow</title>
- <link length="1" type="image/png">
<url>http://kuler-api.adobe.com/kuler/themeImages/theme_990712.png</url>
</link>
[Code]...
I'm getting quite frustrated now. There is no documentation about this in adobe.livedocs and tutorials on XML like those of kirupa don't say anything about things like these.
View 2 Replies
Oct 5, 2009
I have populated a comboBox dynamilcally from an xml file. When a user selects an item from the comboBox, I want to search the XML nodes and retrieve an attribute of that node.At the moment I had this working correctly by storing the value in a _global variable and using the info in a function.
Code:
// Create Listener Object.
var cbListener:Object = new Object();
Assign function to Listener Object.[code].....
This technique won't suffice as we are changing languages around.How would I use eventObj to target the desired node value?
View 1 Replies
Aug 10, 2011
I want to send some text value to my custom popup window when it pops up from main application which is having some text input and also I want to know how to retrieve data(of text input) which entered by a user in popup window.
View 2 Replies
Sep 7, 2010
I have two document classes. One is Main.as the other is Step2.as. I want to declare a public variable in Main.as then need to give it a value from Step2.as. That value will later be used in my next Document class Step3.as How would I write the code that gives the value in my Step2.as and then how would I write the code that retrieves the value in my Step3.as?
Note I can't import my Step2/ or Step3 document class into my Main.as.
View 7 Replies
May 16, 2011
I am currently trying to create a piece of code that will retrieve values from a 2D array and use them as x and y values to position instances of a MovieClip called mcMain. The code for the array will look something like this...
Code:
var lvlMain:Array = new Array();
lvlMain.push(new Array());
var xAxis:Array = new Array([150,400,200,300,100]);
[Code]....
how to create a piece of code that would retrieve the x and y coordinates listed in the arrays and use them to create instances of mcMain. So going from the code above it would create the first instance at x=150 and y=100, second instance........fifth instance at x=100 and y=500.
View 2 Replies
Oct 17, 2010
I'm working on a project that requires me to communicate with a database. I am using PHP and mySQL with flash on the front end. My problem is that in order get variables back from PHP I have to double them or atleast double the first 2. So this doesn't work:
$loginResult .= " " ;
$loginResult .= "wasSuccessful=" . $wasSuccesful . "&" ;
echo $loginResult ;
But this does:
$loginResult .= " " ;
$loginResult .= "wasSuccessful=" . $wasSuccesful . "&" ;
$loginResult .= "wasSuccessful=" . $wasSuccesful . "&" ;
echo $loginResult ;
And I only get one result.
View 4 Replies
Jul 7, 2011
I had a developer who has been working on [URL]. He build it using all flash. I need to make changes on the website, but it seems like he is out of business. They don't answer their phones or emails. The website is hosted on their server, and I don't have the FTP details. I can mirror or copy my site onto my local computer, and re upload the site to a real company. I have access to my domain, so I can just point it to a new server after I have downloaded the website files to my computer.
View 4 Replies
Aug 1, 2010
Old Computer: RAM 128
Browser IE 6 along with Panda Antivirus
I just reinstalled the entire operating system Microsoft XP last night (package 3 was updated today). The O/S installed Flash 9. But, I went through all of this last November and saved the installation program. I went to a website that said I needed to upgrade to version 10.1 and allowed me to click on it. It would open a page to adobe where I could then choose how to download it (cuz I knew I needed to uninstall the 9 first). But this website automatically downloaded and tried to install the new one before I got the old one uninstalled!
So, I cancelled the installation and then uninstalled the version 9. But, when I tried to go back to adobe to install the version 10, the above message was spit out at me (causing me to "spit bullets" of my own!). I've tried to install it again but when I go to the download page, it just sits there and does nothing. I'm assuming my problem was caused by a "crossover" between the attempted installation of version 10 and the uninstall of version 9. The flashplayer version 10 worked perfectly fine on this same exact computer/system until today!
View 3 Replies
Mar 14, 2011
I am trying to write a piece of code to retreive data from a SOL file : this is my code :[CODE]//get External interfaceimport flash.external.*;
[Code]...
How can that be ? what can I do ? What am I doing wrong ?(bear with me, as I said, I'm kind AS newbie).
View 4 Replies
Jan 22, 2010
I know how to fetch the data from xml.. but i dont know How to save a data from flash to xml in runtime? example in e learning if a student scores 70% mark it should save in the database using xml and the data should update when he do more and more ..
View 1 Replies
Apr 18, 2009
i am trying to fetch thousands of row from mysql though php.......
so is there any simple and fast method........i know other simple methods POST...but is there any other method which is faster??
View 3 Replies
Sep 5, 2011
I wrote a simple web app that record web cam capture over FMS, now I'm trying to find out how can I fetch the recorded file and give the option to download it to a local computer
View 1 Replies
Oct 1, 2010
How to Fetch the images from given URL in Flash builder
View 2 Replies
Aug 1, 2011
How to retrive the bulk data from php to Flash? Ex: got a bulk data from php to like this
format|(name|age|sex|address|MobNo|TelNo),
Need to split and assign the value to proper variables. How to split and assign the value to particular variable.
View 1 Replies
Feb 18, 2010
I have to fetch data from database into the flash..
View 1 Replies
Jan 16, 2007
I have a table (Excel File) about 1000 rows and 3 columns. I want to load this table to the Flash and then be able to fetch data by referring to the first column.
View 1 Replies
Nov 30, 2011
Is there any way to get a NetStream's meta from FMS other than starting playback?I want duration, framerate, etc. before the movie starts playing.
View 1 Replies
Feb 15, 2011
i am new in this flash thing and in the learning stage. on the stage are four buttons. they will behave like map. now what i want to do is, that i want to use xml. when i click on button, it should display some text, like title, description, address etc below the map and the these details should come from an external xml file.
View 1 Replies
Apr 29, 2011
I want to fetch some parameters from a url on to my flex web application. How can I do thatFor example I want to fetch the parameters name and age from the urlon to my flex application
View 2 Replies
Jan 4, 2012
I am using pixel bender's pbj files(as recommended with Flex4) to change the brightness/contrast of a image.So i apply the filters to the image like this:
image.filters = myBitmapFilter;
Now my problem is how to fetch the byteArray of the image with filter applied so that i can send bytearray to my servlet which can save the image with applied effects.
View 1 Replies
Jan 10, 2012
I have the following datagrid:
<mx:DataGrid id="question" x="9" y="289" width="100%" height="54" visible="{false}" >
<mx:columns>
<mx:DataGridColumn dataField="ans1" headerText="ans1"/>[code]..........
I need to access the data pointed by the dataField, and bind it to a label, but i don't known how to get it.
<s:Label id="debug" x="575" y="106" width="56" height="35" text="{data_from_coloumn_grid_ans1}" />
View 1 Replies
Jan 5, 2010
I wonder whether anyone knows of a solution to this: I want to embed a Captivate 4 quiz in a flash CS4 file and retrieve the score from the Captivate SWF so that I can use it in my flash file (AS3)- does anyone know a way of doing this (?eg. shared objects?). Communication between Flash and CP seems to be a lot more problematic than I anticipated.
View 0 Replies
Oct 4, 2006
I had a flash file which plays a video and this one is opened on a popup window, this video play for atleast 10 sec and actually i want to trace that till what time the user had view this video.
e.g.: My video runs for 10 sec and user had view this file for 5 sec and closed it, so my requirement that i should be able to trace that the user had viewed my video for 5 sec only.
View 2 Replies
Nov 11, 2010
I have two arrays in AS3
[Code]...
Now how will we fetch something from the array as memberName[0] obviously wont work. I tried doing them a few other ways but wasn't successful. How will we tackle this problem?Once again it might be a simple problem but I cant figure it out.
View 3 Replies
May 20, 2010
I have a movie clip viz. A. Inside that I have another movie clip viz. B. Now A has an event listener which returns its X, Y on mouse down, which in turn is used to magnify A taking those X,Y as the center point. B has its own event listener, one for changing color on mouse over and other to show a pop-up on mouse down.
Problem: When i click anywhere inside A, not covered by B, there is no problem fetching X,Y. But if i click on B, which is covering some area of A, it doesn't work. Simply because the event on B is probably not letting the event of parent to fire. Even if i write to fetch X,Y on mouse down of B, it returns its own X,Y and not of the parent, i.e. A. Because of this, the magnification doesn't work accurately in cases where child movie clip is obstructing an area of parent movie clip.
View 3 Replies
Aug 25, 2010
[Code]...
need to fetch title,id and other inner values from this xml, tried as xml.feed.title and other options to...
View 2 Replies
Sep 20, 2011
I have some variables defined in a child MC:
var first_nme = data.return_first;
var second_nme = data.return_second;
var email_addr = data.return_email;
var user_domain = data.return_domain;
var user_name = data.return_username;
I'm trying to use those variables in a parent movieclip/another movieclip.
[Code]...
View 9 Replies