Im new to placing external data into Flash. I just got CS3 and Im trying to use Flash to dynamically load XML data via a FlashVars call in the HTML.
The problem is I have followed the very straight forward AS2 Help files for using FlashVars and URL variables.I have placed the code directly from the Help file into the Html between <noscript> <noscript>and i keep getting undefined.I have tried saving the file as flash 8 and i am publish flash 8.
We have implemented a Flash photo slideshow on our site and it works just fine for most of our users. Whenever the xml.load(success) returns false I have the Flash email me a debug report. For the life of me I can not find a common thread between all of these people having problems with the Flash. I don't think it's a cross-domain issue because it works for most people, and I have the crossdomain.xml files where they should be.
i load in AS3 data into flash and mantain their data type? Like receiving an array and even with arrays in it and recognizing that is an array instead of a standard string.
And if this is possible is it more reliable then using XML?
All I want is to load the XML data in Flash in two dynamic text fields (TextOne_mc and TextTwo_mc) and make the TextOne_mc to show me first the "TextShow1" then the "TextShow3" etc and the TextTwo_mc to show me first "TextShow2" then "TextShow4" etc,but when I'm done with it,TextOne_mc shows me "TextShow5" and TextTwo_mc shows me "TextShow6" only.
All I want is to load the XML data in Flash in two dynamic text fields (TextOne_mc and TextTwo_mc) and make the TextOne_mc to show me first the "TextShow1" then the "TextShow3" etc and the TextTwo_mc to show me first "TextShow2" then "TextShow4" etc,but when I'm done with it,TextOne_mc shows me "TextShow5" and TextTwo_mc shows me "TextShow6" only,so I understand that I'm not done with it correctly and something missing.
I am trying to load data from mysql to xml to flash using actionscript and php. Im doing something wrong but not sure what.Basically, my php file (latestnews.php) looks like this
this is placed in the same frame number as the dynamic text fields but on a seperate layer. The dynamic text fields are:
Title_txt Comments_txt Date_txt
There is no output error but nothing is showing up. The file is using actionscript 2.0 and wondering if the actionscript i am using is write for that format?
I am trying to get my javascript data to load into a flash document, that's it.But it won't LOAD. I have the data loading into a dynamic text box in actionscript.
I have a created a flash searchable database with xml,following this tutorial url...It seem to be work great but my the xml file seems to be too large so when certain words are search I get a script error and eventually freezing up, my question is Is there a way to tell flash to load the 10 or 20 records at a time? By loading sections of the xml one at a time will this stop the script error?
I have my XML data loading into my SWF OK. However, is there any way to call that tag name instead of the child node number?So instead of something like this[code]...
i'm creating a weather forecast map .. a flat map and then icons appear on top of it in specific areas.. but i have a folder that contains the icons .. and daily a mysql database gets updated with the filenames to be used on each icon according to the weather on that area..
I'm trying to load some binary data from server like this
var urlRequest:URLRequest = new URLRequest("http://localhost/test.php"); var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
I am trying to load data from mysql to xml to flash using actionscript and php. Im doing something wrong but not sure what. Basically, my php file (latestnews.php) looks like this
[Code]...
There is no output error but nothing is showing up. The file is using actionscript 2.0 and wondering if the actionscript i am using is write for that format?
I plan to learn use data from dtb in Flash. Do you know some tutor for loading data in Flash from Access or SQL in Flash? I don't understand PHP and mySQL. I use today ASP scripts for sending variables from Flash into the ASP page. I dont know how loading data in Flash. E.g. loading data in combo box for displaying option for selecting, loading list of items in text field, etc.
I have an Access Database (doesn't need to be Access, I can phpAdmin or mysql, whatever will work) that has a list of names. I want the user to open a Flash form and have the names load up into seperate input boxes for each name. The user can then change the names, move them, whatever, and then save the record. I want it to just overwrite the record. I donlt want create a new record. I cannot, for the life of me, figure this out. I have tried to find some tutorials but nothing makes sense. Is ASP a good way to go? I have been struggling with this for a week now.
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:
I want toload a html webpage which contains a calendar into my swf file. Thehtml file does not contain tags that flash does not recognise butim unsure on how to get flash to display the webpage, if this ispossible at all. I have attached the code within my html file.Basically all I want to do is load "calendar.html" into my flashmovie and keep its format
I build a flash video player which works fine when exported to swf. However when I publish it (F12) does not loading the xml file. As a result video player stuck to frame 2 (where presented a List with video titles and with click on title plays the specific video). The xml link does not ends to .xml. Here is my code about xml loading. I try to change the Flash Player from 10.2 to 9 but I have the same problem.In addition some buttons in frame 2 does not works I suppose because of "Stuck" from xml loading.( Work fine when exported in swf!) Flash Player version: 10.2, Actionscript:3.0, Flash Professional CS 5.5, fps:24, size: 850px(w)x480px(h). Code from FRAME 2.
I have an XML file with 1 parent node that has 1 child node inside it. The parent node is straight forward. It only has one attribute.
The child node has 3 attributes in it - Title, Photo, URL
I want my Flash file to have 3 containers - 2 Text list containers and 1 image holder. The first text container will load all of the Names of parent node. The second text container will load all of the Title of the child node.
The 3rd container will be a MC holder that will load the Photo and will link it to the URL specified in child node.
How do I script my Flash file?
Right now, my script is as follows and it successfully loads the name from parent node in one of the containers. I'm confused with other two!
Code: function onXmlLoaded(success:Boolean) { if (success) { // make a handle to the root node in the xml
I am trying to have a PHP page load some variables into aFlash banner ad that will be running on 8 different websites...I need to have one central location for the PHP page andallow 8 other domains access this data...I am finding that when everything is on one server... noissues... data reads just fine...But when the PHP page is on one server and the SWF file onanother... the data never gets through...I am assuming this is some issue with security within
I am trying to load dynamic data into text fields with in flash (.swf) the system is a closed circuit (no internet & web access) basically there are about 10 standalone computers connect through a network and one central computer i created a flash which will be downloaded to all the computers at once and each computer has a unique (name).
My goal is to load the different data into the text field for each computer:
Computer 1 would have winner 1 Computer 2 would have winner 2
and so one........
Steps the code should do..
1. call function and load the "unique (name)." of the computer by going to ("c:/myharddrive/local.ini"); flash will reconize the "ini file to say "this is computer 1
2.then have the txt request come from("c:/CMS/MediaFiles/Data2.txt");
when i publish the file out there is no errors-
When I view the files on each computer there is no data (blank screen")
so my guess it is not seeing the path for new URLRequest("c:/myharddrive/local.ini");
or
new URLRequest("c:/CMS/MediaFiles/Data2.txt");
can anyone breakdown the code and let me know how flash can go to those specific areas on each individual computer and pull the data into flash
I have a movie clip that holds one bitmap image, some simple AS3 to change the image displayed, and a ton of bitmaps I've imported into my library.Currently, I swap the images by changing the bitmapData
holder.bitmapData = new test2(1,1);
but this requires me to check off 'Export for ActionScript' in every symbol. I'd rather not go through every bitmap in the library and do this, is there some way to reference them by their library name?
I am trying to load html data from tinyMCE dynamically into flash. I would need to have php somehow write that html entered in TinyMCE either into an XML file or an HTML file. Then I would have to parse that html into flash.URL...