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.
Assuming I do NOT want to run the sends in series, but in paralell (all at once), as above, and further assuming that one, and only one of the send commands will generate a status event where level='error': ow can I detect which send command produced the status error?
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/";
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.
which everything seems fine, but when i implement a slider on a page inside a folder in the root (i.e. aboutus/index.aspx) i get that error when the slider is trying to call the images.I have similar slider animations in pages located in the root folder and in those i get no problem at all, seems it only happens when the page is located inside a folder.The website is done using main.master on asp, maybe the cache or rendering of the website is missing something, hope someone has had something similar or know how to get around this.
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.
I have a normal XML file which i chucked together that works fine with the code i have below - this is obviously saved as an xml file as well. What I'm trying to do is generate an XML page using PHP. I have done so, works fine and reads as it should correctly when simply viewing the page in a browser, but when i try and read out the data in flash (loading in a php file instead of an xml file, everything is undefined!! Below is the flash code, which works when the load() link is changed to a straightforward xml file...
Code:
newsPageContent_txt.html = true; var test_xml = new XML(); test_xml.ignoreWhite = true;
[code]....
the header at the top of this PHP is generating the page as xml, so it should all be valid.
Let's say I create an empty movieclip called "Test_mc", then I create an as3 class "Test_mc" like below and then I set the movieclip class to "Test_mc".
public class Test_mc extends MovieClip { public function Test_mc() { graphics.beginFill(0xFF0000);[code]..
Now I can drag out instances of the Test_mc into the scene and get red circles when I test the movie. The problem however, is that I can't see the circles on the canvas inside the Flash IDE. Is there a way to get these actionscript generated grapics to show up?
I'm not quite sure how to describe the problem I'm having but I'll do my best. I have an image gallery built in AS3 that loads content via an XML file. Nothing mind blowing here... When testing locally on a static XML file, the gallery works as intended. The purpose of this gallery is to function within a CMS and load dynamically generated XML files to display the appropriate images/info for each particular gallery. All this functions fine, to an extent...
Im Using Red5 to record live stream from the user. I am able to save the stream to disk and it generates an FLV file.
When I'm trying to read the FLV file with some FLV player - it seems like the file's meta-data is corrupted - which also makes the progress bar to act oddly. Also, I tried to play with the file using Xuggle. It seems impossible since the generated FLV do not have the codec-id in it.
I have an online flash video player fed by a playlist driven by XML. This XML is generated from a mySQL database via 'playlist.php'. The issue I am having is that when I feed the php generated xml into the player, it only reads the top level/hierarchy of xml information into the playlist (i.e. gallery level, when below that is category, and ultimately video).
When I copy the output of the php generated xml into a normal xml file (i.e. playlist.xml), the playlist is fed with all of the appropriate information, and is complete.
Can you tell me why my flash (as3) video player and playlist will recognise 'playlist.xml' but not 'playlist.php' information?[URL]..A link to the player, which is currently hooked up to 'playlist.php' is at the same address but with theater.html instead of playlist.
I'm currently developping a quite big (multi-lingual) application in Flex and I'm now confronted to a problem.I have to do some custom Buttons which have special fonts, special design (like shadow corner radius etc)and the most important, which are oblique not straight.I've made the button in Flash from which I've exported it in SWC.The thing is that, I need different buttons with different labels/icons/backgroundColors.So I would like to know, if there's a way to pass variables to the button class through theSWC file in order not to has one file for each button and each language.
Using Flash CS4 and having the Flash plug-in ver 10 on my PC, the generated html file will not play the swf in the browser.I noticed that the active-x javascript is now included in the header as well as the javascript portion in the body tag.But it won't play. I get the typical blank window in IE with the "X" in the upper left corner.I don't have this problem with Flash CS3.
how Flash reads the PHP coding which was generated from the MySQL database.Though, I was wondering if anyone can help me with this task and/or clear stuff up. All I want to do is grab a single video file, when on the video.php page.the video.php will have the parameter, video.php?id=____ and than the PHP coding in the header will grab the database info for that video. Though, do I have to create a separate page for the flash to grab that information?Like, I notice that for Flash to grab that info, PHP needs to set it up like so:
Code:
vid=test.flv&title=title...
and ect. Though, do I have to echo this part out, or do I have to send that PHP info and create a page from it, than have flash grab the information from that 2nd page?
I make an iPhone app with Flash and it generates my app and a xml (that I don't understand if is it useful).My question is if I can read the objective-c code that Flash generates.
Users provide various elements of content for the final Flash movie, eg. text and photos. We want to be able to allow the user to download the movie they create in a format such as MP4 which they can play on their local computer or upload to YouTube.
I am doing below actions on button click in sequence, using javascript.
Generating Flash chart Making image of generated flash chart Exporting generated image in to PDF
Everything is dynamic. chart is generated using Open flash chart and are dynamic using php Mysql
All working fine. Problem here is that is takes some time to generate flash chart. So it's creating a blank image or image in middle form flash file exporting it to PDF.
I am attempting to load a dynamically generated image into flash (AS 2.0) using loadMovie.
The image is being generated by a php script on the server in real time using the following php code:
[Code]......
If I call the php script directly, the image displays correctly. If I embed it in html via an image tag it also works correctly. However I can't get flash to load it.
I am wondering if it is because the url I am trying to load has a .php in it. I am wondering if flash thinks it is a .php page, instead of an image.
(btw, I have fully debugged everything else I can think of. The above actionscript works if I replace the url with the url of a static image. I also traced out the url being generated and tested to make sure that the url that the script is generating is correct)
is it possible to store and array generated in flash in a XML file?I am wanting to try make something where I have a group of object to choose from but I only want to choose say 3 of 10. I would like to be able to check the ones I want and then those be added to an array or an XML file which I can later pick up and use in another external swf.Because I am wanting to use an external swf I thought that adding it to say an xml file would be the option. But I don't really know how to get the ball rolling on this.
In the library of the FLa I have a symbol that is exported for actionscript with a class name of 'aClip'.I am placing multiple instances of it on stage as follows:
Code:
for (var i:int = 0; i < 10; i++) { var myClip:aClip = new aClip(); myClip.x = 0; myClip.y = 50 + (50 * i); }
Each myClip will move across the stage at 1 unit per frame. If I only had 1 instance on the stage I would implement as follows:
Code:
//make an enterFrame listener for the stage this.addEventListener(Event.ENTER_FRAME, moveClip); //make a function for the listener[code]...
The problem I am having, is getting this to work for the multiple instances generated in the for loop.
There is a pretty good class created by senocular, is called "Path"; basically it allow you to create paths and also create animations using those (like when you use the old good guides on flash).
To create an animation you just ask for a position using a number between 0 and 1. So just using some setInterval is easy to create the animation using a dinamically created path as a guide. The Problem is: How it creates the animation in curves; because is not doing it like flash does it; it basically does something like this
What I am trying to do is open a database in async mode and get some data from my database. To do I wrote this code down below:
[Code]...
My startstmt is a global SqlStatement variable. When I tested in Sqlite Manager it works fine this query but in adobe-air i am getting this error. Where did i do wrong and how can I solve this?
What are main diferens between flash ActionScript and Flex actionscript? Why Flash can not compile AS files generated from Flex (with keep-as) directly?I want to compile generated from MXML .AS files using Flash CS5... But it appeares to me I can not... Why?
I have create the "snow" effect with the linked tutorial, basically it manipulates the instance of an object on the canvas and calls the script in the actions on the animation load.However, I cant get the generated snow to show behind any other objects on the canvas.
[URL]
You can see from the image the RedBox and the Border layers are above the SnowFlakes layer, I want them in front. How can I do that?