Actionscript 3.0 :: PHP Generated XML Won't Change
Apr 23, 2010
I have this piece of code:
[Code]...
so if you change the content or the name of some file of the "media" folder, the next time you run the swf you should have more/less media in the gallery. Well... this does not happens.... like there's some cache to clear before calling php again....
View 3 Replies
Similar Posts:
Apr 23, 2010
I have this piece of code:
Code:
var xmlGeneratorURL:String = "http://localhost/***/galleryXMLgenerator.php";
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, showGallery);
[Code]....
so if you change the content or the name of some file of the "media" folder, the next time you run the swf you should have more/less media in the gallery. Well... this does not happens.... like there's some cache to clear before calling php again..
View 5 Replies
May 25, 2004
I have a few dynamic generated buttons, and I need on their action to change values in some dynamic generated textfields. the part of the code we're interested is this: CODE:
[Code]....
View 5 Replies
Dec 11, 2009
Keep getting this error when trying to load some asp generated xml into flash [code]...
View 4 Replies
May 14, 2011
I know as soon something with problem comes here in this forum it can get RESOLVEDNow what is my problem, well i will like to know how can i get this dynamic XML generated with PHP into flash.I want to create a simple gallery that reads this generated XML and adds movieclip childs.On the stage I have a large Movieclip with instance name mcDisplayLargeand a Movieclip with instance name mcImgThumbs
PHP FILE: dynamic_xml.php
header("Content-Type: text/xml"); //set the content type to xml// Initialize the xmlOutput variable$xmlBody = '<?xml version="1.0" encoding="ISO-8859-1"?>';$dir = "images/gallery1/";
[code].......
View 8 Replies
Jan 7, 2010
I have a SWF file. It can generate Jpeg images. I want to get that images by url (for ex www.my.com/file.swf#image.jpeg) I want to get just clean image (no flash no sign of flash). So as if i was just calling my apache server to give me that image.
View 1 Replies
Feb 3, 2010
I was viewing a page just now and got the error box popup telling me of a runtime error in a .swf The problem is, there are multiple .swfs on the page, and I do not know which one generated the error.
View 1 Replies
Jul 21, 2011
I need to convert a swf movie that is created entirely through code (with the help of TweenLite) to a .flv format. The issue here is that I need to 1) Do this as a batch process, and that 2) since the swf is entirely generated by code it only has 1 frame and as such normal conversions like from CS5.5 to to the .avi format give me just 1 frame in the resulting video format. Is there a free converter out there that can get past the fact that my video is technically only 1 frame long and can handle batch jobs?
View 3 Replies
Nov 19, 2009
A lot of examples i've come across seem to suggest a SWF can be generated without a corresponding FLA file.
View 1 Replies
Feb 26, 2009
IŽve been trying to write AS3 that can read xml which is dynamically generated by php. iŽve generated the xml in several ways -- all of which seem to work but i keep getting the error,
Error #1088: The markup in the document following the root element must be well-formed,when i try to load the xml into flash. however the xml (as viewed when you go to "view source" in your browser) is indeed well formed.iŽve seen various discussions where people bring up this problem but havenŽt seen a solution in any of them.
i have 4 versions of the php. the first just uses echo. the second uses echo but i wrap it in {start_ob(),ob_end_flush()}; then i use simpleXML and finally i use domdocument. the first 3 give the error above, the domdocument throws no error but the xml is empty.
iŽll start with the simplified flash code:
Code: Select allvar path:String = "php/videos.php"
//
var ldr:URLLoader = new URLLoader()
[code]....
View 1 Replies
May 15, 2005
I have a movie clip that contains many many dynamically generated mc's that have also some dynamically generated mc's in them Now i wanna duplicate that large MC .... and of course that does not work cause it will not copy all those small MC's that are contained. If I duplicate all the MC's contained this also will not work. cause they contain generated MC's and so on Okay enough blabla: Is there a possibility to duplicate the big MC containing all the small MC's ???I know Flash can't do it but is there a way around it?I had one idea of keeping an array of all the generated mc's in my MC class. This works fine but when i duplicate one contained MC i wont get it into the duplication target, it will always be inside his _parent movieclip
View 6 Replies
Jun 17, 2008
I know it is possible to preload XML, but what about XML generated by PHP. For example,I am creating an XML file by making calls to a database and outputting it as XML:
[url]
So, is it possible to preload that xml?
View 2 Replies
Jul 6, 2009
I'm working with tons of array generated from a XML. How should I go about creating a search function that will be able to search and retrieve a particular nod from the array. Sth to do with .toLowerCase() and getIndexOf? The search function should be able to search and retrieve any text that contain the letter/letters... not the whole word. Like for example if user enter "gre", it should retrieve results containing "great" and so on.
View 1 Replies
Nov 27, 2009
I want to use the built in Scrollbar component to scroll within a movie clip or sprite whose content is generated by a for loop within my code. I can't seem to get it working when I set the scrollbar at authortime to target the movieclip into which i place the for loop at runtime.
View 9 Replies
Sep 22, 2010
I'm using a PHP script to generate a thumb dynamically and then using AS3 to retrive the thumb.
Flash is not throwing any errors but it's never firing the complete event for some reason.[code]...
View 2 Replies
Oct 6, 2008
so i am parsing an xml file and each node becomes a button. ifigured out how to make each click work properly, but i can not getthe rollovers to work. with the code below makes it register youare rolling over one of the buttons, but it only shows the rolloveron the last button in my list. im thinking its because i am notreferencing my button correctly, but im not sure what the referenceis because the buttons are created through iterations.
View 4 Replies
Jul 17, 2009
I ve been searching for this but nothing. I need to use an event generated when the site is loaded for the very first time (to manage the resize of the stage). That's beacuse the event "resizestage" is generated only when i resize it, so the first time the site had been loaded, the size is not modified.
View 7 Replies
Jan 15, 2010
I am looking to build a Flash/Flex application that would allow users to edit certain portions of an application and then be able to download a swf when they are finished customizing. Is it possible to embed content in swf files and save them on the fly? Or would I need to have them download the generic swf that points to an xml file to load the custom data? I know you can save out generated images from a Flash app using server side scripting, but I'm unaware of anything similar for swf files.
View 5 Replies
Jun 18, 2011
i am trying to import to flash an xml file, generated from Excel. I got some tutorials from internet but the format of xml file from excel it's different and i can't manage to access data from it. if i type trace(xmldata); it shows me the full content of xml file. But how can i acces the correct data if in the xml file it is written:
<Row> <Cell><Data ss:Type="String">CellName</Data></Cell> <Cell><Data ss:Type="Number">CellValue</Data></Cell>.
View 1 Replies
Aug 6, 2009
I have a flex project and if I build a release version of the application using flash builder with RSLs on my swf is 115k. If however I build the same application using ant the swf is 342k. Without RSLs the swf is 520k.
How do I get the swf to be as small as the one built by FlashBuilder?
Here is my ant file I have another task that copies the rsls.
<project name="EUI Client Application" default="compileClientApp">
<target name="compileClientApp" depends="compileClientBundles">
<mxmlc
[Code]....
View 4 Replies
Sep 27, 2009
Flex newbie question: can MXML be generated on the fly, like HTML is generated by a server? If yes, is it ok to do so or am I missing an important Flex architectural principle.
View 4 Replies
Mar 9, 2010
Problem: Conditions:
IE7, SP2, latest flash/java. Only reproducible on one machine. Observations: Smaller than a javascript alert box, and seems to be generated when a swf on my web page loads. The dialog is modal, however, like an alert box.
I've tried matching the configuration of the machine in question, but a recreation of the machine does not get this error. I'm not ultra-familiar with flash/flex, so is there something that flex/flash could do which would cause this error dialog to appear.
How would one even go about debugging this? It's mostly not reproducible aside from a single machine, and the circumstances which cause the error are unknown.
View 3 Replies
Jun 10, 2010
Why is encryption algorithm may give different results in AS3 and PHP? In AS3 I use library from [URL].And in PHP I use RC4 Cipher.
View 3 Replies
Jul 9, 2011
I want to modify the xml file of flash once it generated.
You can see this tutorial [URL] here when i change the position i want new xml file with update.
View 2 Replies
Feb 20, 2009
I'm creating a site with images of people loaded through a XML-sheet, where when "touching" these images with the mouse a bubble should show up and display information about the person in the picture.
Basic XML-structure for a post:
Code:
<person namn="hans" id="1">
<namn>Hans</namn>
[Code].....
View 1 Replies
Mar 5, 2010
I built a level constructor working off an array level code made in a level editor i also builtis there any way i can code a function to somehow save the resulting movieclip somewhere where i can acess it?
lets say i have an empty movie clip called levelHolder
and my constructor function places several tile symbols in that clip
can I save levelHolder as a symbol in my library? or to my hard disc?
i need to see it so i can add the appropriate art and background for the shape of the terrain using it as a template
View 8 Replies
Oct 31, 2005
I'd like to double check that sendAndLoad is sending the correct string to a jsp. I don't have any control over the jsp so I'm reliant on seeing the url string. Here's the code use to sendAndLoad
ActionScript Code:
function doSubmit() {
formData = new LoadVars();
formData.loginName = "test";
[code]....
View 9 Replies
Jul 1, 2009
I wish to have a 3d carousel much like a flash one in the below link : [URL] however, i wish the images to be dynamically generated and at the same time txt 'beneath' (to be added) the picture to be dynamically updated also...through a database. I wish to get it connected to a back end and probably use a content management system.
View 1 Replies
Sep 18, 2006
I am willing to do a rollover image gallery which enlarges image on rollover event and shifts the neighbouring ones aside.. Here is the code so far
Code:
_root.bttn.onRelease = function() {
createGallery();
};
[Code]....
ask flash which particular movieclip was rolled over , what is its instance name and than perform string operation to get a number (order) of that clip (I am naming all dynamically with image name + number in order)
View 2 Replies
Nov 1, 2006
ok, here's the deal. We are creating an ecard that will be customized by the sender, and sent to soldiers in Iraq. There are about 5 different things that the sender can customize, as well as write a message. The goal is to have their choices sent to a database and then inserting those variables when the receiver watches the movie.Now, instead of creating possibly thousands of XML files (one for each sender), we decided it would be better to just generate the XML on the fly from the info in the db. But my question is, how do I handle loading that XML? Since this won't just be a static page on the server, I'm not sure how to go about it. I'm wondering if you can use variables when loading XML, for example:
Code:my_xml.load("senderData.xml?user=LyndaSmith");Basically, how can i create an XML file on the fly with the values from the DB, that can then be loaded into Flash?I have virtually no experience with db's, so this is the method I came up with because I do have some experience with XML. I have a developer who will actually insert the values into the database with ColdFusion, and he can also generate the XML, I just need to be able to load the dynamic XML in flash when the receiver watches the card.
View 2 Replies