I have a page with three frames. the left frame with images1 thumbnails, the right with images2 thumbnails. Both have Hyperlink in order to pass that to SWF file in middle frame. To be more precise - I have two ASP pages displayed in left right frames of my web page. I want the SWF file (which is to be loaded in middle frame on click events of these ASP pages) to receive paramenters from these files and change the image in this SWF file. e. g. middle frame test.swf files should load with image1.jpg when clicked on image1.jpg thumbnail in left/ right frame and when clicked on imageN.jpg thumbnails, the test.swf file should be loaded in middle frame with imageN.jpg
I've been struggling with LoadVariables, GetURL, LoadVars etc. etc. since last weak.
I have an array that's pulling movieclips from my libraray using Linkage IDs. How do I change this so that it's pulling the images from an xml file instead in order to reduce file size?XML file:
I'm trying to change data in a dataGrid field. I'm using XML as the dataProvider. I need to be able to click on a button outside of the dataGrid and cause the data to update as a result of the button push.
Recently started to learn Flex technology to create RIAs. And now I want to create web based application of my created program in C++ builder. (flight info sys)
I liked the Flex because of it's cross platform and animation rich possibilities. One of the best web applications that i faced with in the inet is [URL] it has wonderful animating grid possibilities. Its server technology is in Java. How about converting this data service to PHP? That should read data from mysql in PHP.. I prefer working with PHP (as data service) and MySql (as rdbms) in Flex...
seeing animated grid is so cool :)) Switch to Grid mode!
Is it possible to convert it's Data service to php?
I'm trying to send data to a PHP script (then to a database) just before sending the user to a new page, and sometimes the PHP file does not receive the data before the page changes. I have tried using sendToURL and URLLoader, but both are inconsistent. Is the only way to solve this to wait for a response from the server before redirecting the user?
I need to hold a couple of variables in an outside file that can be incremented by user activity -- not just during one interaction with the swf, but with every one.I have no problems with using loadVars and I get the loadandsend process; it is just that I have no background in cgi or asp for holding the variable and being able to update it.I know I cannot write to a txt file -- that is what I have been using thus far with loadVars for importing values, but this will not help me here. I know it should be a fairly simple script -- I also know I ought to pick up php, but for the moment -- until a greater amount of time comes my way -- I turn to you.
Not really a AS3 issue, but I'm having a bunch of trouble changing the font size in a text field that pulls data from and XML file. I've changed every font size with the css file, but it doesn't result in any changes with the swf. If it's really that simple the XML and CSS are both here. Or if more is needed, here is the entire project.
I am attempting to get data from an xml file load in flash. I followed a tutorial in a new fla and it seemed to work fine, I then tried to adapt it to my own needs which worked fine. But then when trying to implement this into my news section it doesn't seem to work. I am trying to make a news section, that displays the date and news article. This is in within a movie clip, I even tried putting it in the timeline of the scene but still nothing.
- I have 2 dynamic text boxes, date_txt and news_txt
- The xml file is named news.xml,
- both the fla and the xml are in the same folder
This is the actionscript I am using:
function loadXML(loaded) { if (loaded) { _root.thedate =
I'm trying to load song info into flash. This radiostation has xml that is constantly being update according to previous, current and next song to be played. Here is the link to the xml: internetradio (dot) vrt (dot) be /internetradio_master/productiesysteem2/song_noa/noa_41.xml (where item index="-1" is the previous song, "0" is the current and "1" is the next song)
Creating a non-interactive status display: I want to have theflash display reflect data in a server-based XML-file. So far thisis easy. But I want the display to change everytime the XML filechanges-- in order to reflect status changes. I've used anXMLConnector and specified it and the trigger in the first frame.The Flash code catches and shows the XML values initially . Butwhen I edit the XML file, the new values are never picked up byFlash- its almost as though the values are cached. How do I getFlash to regularly be updated from a changing XML file? I've alsotried putting the trigger in a loop- but that doesn't workeither.
I'm working with an Adobe Flex project and I have data I'm plotting against a DateTimeAxis (X-axis) but because there are a lot of points, I have to do some manipulation and remove some objects in the array (I do this by copying data to another array, removing items, then copying the new array into the original array). However, sometimes after I do this, the date labels disappear off of the x-axis! Why does this happen? I look through my array and I cannot find a reason its occurring (no objects with nothing in them, everything appears in chronological order).
There are two buttons and a dynamic text box in my flash. The two buttons are start and end button. When you click the start button, you will find the random data in the dynamic text box changing constantly until you click the stop button.
I have a movie on stage that acts as a button using the code. person_mc.buttonMode = true;
I load an image onto the stage from my library using addChild(holiday);
What happens is that the person_mc button I have on stage will not function anymore, because I am presuming it is underneath the holiday pic when I loaded it using addChild.
How do I load the holiday pic, so that it is underneath the person_mc?
I know I could do what I did with holiday using addChild for the person_mc, but I do not want to do it that way.
I'm using BulkLoader to load in images, SWFs, XML, etc into a game. When working local, the content property on the LoadingItem is always good depending on the type of asset: Bitmap if it's an image, MovieClip if it's a SWF etc. When I test the same swf, but under localhost, or online, the content property is always a Loader object. Is this normal? Am I missing out a parameter or something?
I just want to ask something about the preloader when it load. For example I made an animation for my preloader and when my page is loaded for, 20%, I want the animation to change and the same thing happen when it's loaded 40%, 60% until 100%.
It is very simple to retrieve data from a database and display it inside a DataGrid. However, what are the current practices to push the changes in the DataGrid back to the database? One can achieve this by inserting a lot of meta information, however, it is very tedious and not reusable.
I have a movieClip in the library with the linkage Class name as "LinkClass". I can make it appear on the stage, but there's a dynamic text box inside that is called "linkText" that I can't seem to get working. Here's the code:
myLink = new LinkClass(); myLink.name = "linkButton"; box.boxMC.linksMC.addChild(myLink);
I've seen a cool effect on: [URL]. Click on DEVLAB and than select the fourth icon. When loading the movie, the browser-window changes it'd dimensions. How can I do this?
Now, if I uncomment the above (and pull out the previous definition of pageDetails), everything works just fine. However, if I leave the comment, it throws the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at DeltaMain/Text() at DeltaMain()
Now, the file pageDetails.xml does exist in the appropriate folder with the following, essentially identical to the above comment:
<PAGE name='index'> <DETAILS>This is the home page.</DETAILS></PAGE>
I've built a custom FLV player that needs to rely on a PHP script to serve it FLV files in order to control access to those files. My player uses the FLVPlayback component.My actionscript makes a call like this to the PHP script:[code]When tested, the FLVPlayback component simply won't accept the FLV served up to it in this way. It WILL work if loading directly from the file system, so I know my actionscript works. I can load just about any other type of file into Flash this way,including JPG and SWF. FLV is the only format that doesn't work.I've added the video/x-flv MIME Type to all test servers I've tried this on, so the server should recognize the file.
I'm trying to find a way of pushing the data of a specific XML Node to an Array with a for loop, but I can't seem to find a solution, because the name of the Node I'm pushing data from, depends of the current integer inside the loop.
I am trying to read XML data from a SharePoint site. The issue I am having is that the flash project works just fine when I preview the swf in flash, however when I try to view it in HTML it does not load the XML file.Now the XML file is not a simple document that can live in the same folder as the swf. I have to use a link to a web page. This is the code that I am using (sorry. had to change the web address)
Actionscript Code: var testXML:XML = new XML();testXML.ignoreWhite = true;testXML.onLoad = function(success) if (!success) { trace("testXML did not load"); } else {