ActionScript 3.0 :: Loading XML Generated By PHP Doesn't Work

Oct 6, 2009

I checked format. This is the xml output:
 
<?xml version="1.0" ?>
<root>
<nivel nombre='A1'>
<item>

[Code]....

To see the xml, but itīs php. It hasnīt generated it.
 
 I follow every tutorial. This is the way. Is there any other way to make it "EXECUTE" the php code?? it donesnīt seem to work. The same happens when i assign it to an XML in AS3. It doesnīt work.

View 9 Replies


Similar Posts:


Flash :: Loading SWF Doesn't Work When SWF Is Stored On Local PC

May 2, 2011

I have an HTML file which contains a Flash .FLV player; which then loads a given FLV video and plays it. The idea is all these files are stored locally on the PC as part of an application install, we use HTML/flash for the help/manual. On my PC it works fine but on a user's PC nothing is displayed. However if I host the exact same file-structure online and give them the URL, it works perfectly.

I am guessing this is a security issue of some sort but have no idea how to address it. The browser being used is actually a XULRunner app, i.e it's the FireFox 3 engine but not actually FF. Since my PC isa developer PC it's entirely possible I've done something in the past on another project that makes it work, rather than my PC being special in some way. For reference the HTML has the following in it - this is generated from some 3rd-party app:

[Code]...

View 1 Replies

ActionScript 3.0 :: Loading Images Doesn't Work Online?

Aug 23, 2010

But it works fine locally.

I've created an extremely simple flash website. I need it to display some pictures and to keep the filesize down I want to load these images on demand. The images are hosted on my server in folders in the same directory as the website swf and the html file that initializes the swf.

I use the most rudimentary way of loading an image, it looks like this:

Code:
var loadStart:Loader = new Loader();
loadStart.load(newURLRequest("images/start/screenshotstart.jpg"));
startScreenshot.addChild(loadStart);

When I upload the website to the server it simply does not display the image, it's not loaded, the place where it's supposed to be is blank.

I've searched the site and there have been some threads with similar issues but the answers given just don't seem relevant. Something about cross domain policies, but all my images are on the same domain as the website swf.

View 2 Replies

ActionScript 2.0 :: Why The Loading Screen Doesn't Work Properly

Dec 19, 2010

I have been trying to get my file to work for a day and a half now. Any help with the error or why the loading screen doesn't work properly [URL]

View 9 Replies

ActionScript 2.0 :: Loading French Characters Doesn't Work?

Nov 12, 2004

im loading a text from a mysql-db with php. I use url encoding/decoding but still my flash shows a small "square" instead of "ïŋ―" (for example) in the textfield (using arial). Embedding the font doesnt work either i think.

View 1 Replies

ActionScript 2.0 :: Loading Dynamic Swfs Doesn't Work

Jan 16, 2006

To load a swf, I tried using the following code

[Code]...

View 2 Replies

ActionScript 2.0 :: Loading Game Second Time Doesn't Work

Feb 1, 2007

I have built this AS2 game that uses quite a few classes and library symbols.It works fine the first time you play the swf. But if you try to do the whole ctrl + ENTER in the Flash IDE, it doesn't seem to load any of the assets that are dynamically attached to the stage.This also happens if you have another swf use loadMovie to load it.I have all the dynamically attached symbols assigned with the linkage and set to export on the firstFrame. There is an include .as file on the first frame of the fla.

View 3 Replies

ActionScript 2.0 :: Loading External Swf Stuck Or Doesn't Work?

Aug 8, 2011

I'm doing a project and I faced problem with loading external swf I have main swf which load external swf which work alone but when I load it from main swfall code do not workI tried and searched for solved codes but in vain)I tried this code whick makes external swf work but the buttons in main swf disappear

tn.onPress = function() {
this._parent.loadMovie("01.swf", "input");
};

[code].....

View 4 Replies

ActionScript 2.0 :: Loading External Txt Doesn't Work In MX2004?

Nov 1, 2004

Okay I have some files built in MX that use this on the main timleine:

Code:
function textLoad(filename) {
loadText = new LoadVars();

[code].....

View 9 Replies

ActionScript 3.0 :: Flags Menu - Loading Swf With Parameters Doesn't Work

Nov 23, 2009

I have a flash website, with two menu the main menu that loads by Loader class swf files with the respective content. And the secondary menu that changes the language of the site. How do u implement the action of having the site translation?

1)Passing params Load file.swf?langid=n then reading by loader info (this one is not easy to test since loading swf with params doesn't work in flash ide debug env.)or

2) on load complete cast the loader to a movieclip the accessng a main func with the task of translating the whole swf contents(the same func i should have at point 1)

View 0 Replies

ActionScript 2.0 :: Last Empty Movie Clip Generated Doesn't Fire EnterFrame More Than Once

May 22, 2008

I have a flash file that reads and XML file, it creates an empty movie clip in a placeholder (mc_image_holder) for each entry in the file, so 4 entries in the XML file = 4 movie clips inside the placeholder. it does this like so:

Code:
if(success)
{
var nm:MovieClip = mc_image_holder.createEmptyMovieClip("swfHolder"+i,-((i) * 10));
nm.loadMovie(filename);

[code]....

however, for some reason, the last created movie clip in the place holder never fires the onEnterFrame event more than once, so, If I were to trace the word "hi" I would only get it once, where as if I apply that to each of the other three that are created, it would put it many times, as it should.

View 2 Replies

ActionScript 2.0 :: Dynamic Masks - Trail Doesn't Resize And The Mask Still Doesn't Work

Oct 16, 2009

I decided to try to use setInterval for myanimation, which is just a mouse trail.However, I'm trying to get teh mouse trail to be a dynamic mask.In my previous swf this was achieved by using a holder mc with the animation inside and then using this as the mask. But this time I just canpt seem to hit on the right way to get it to work. The code I am using for the mouse trail is:

Code:
var i:Number = 0;
var myInt:Number;
var t:MovieClip;[code].....

in the function, but now the trail doesn't resize and the mask still doesn't work.

View 1 Replies

ActionScript 3.0 :: Width Doesn't Work - How To Make It Work

Apr 21, 2010

I have a button object that I need to scale to align with the variable width of an array of images.However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me the correct value, but on screen.. it's off.

I've proved it to myself by scaling the same button object manually in the properties pane and visually comparing. Both of the buttons below have a width of 410.

Code:
navigatorDown_btn.width = 410;
navigatorDown_btn.x = (stage.stageWidth/2)-(navigatorDown_btn.width/2);
trace(navigatorDown_btn.width); // output: 410

View 4 Replies

ActionScript 2.0 :: Loading Dynamically Generated XML?

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

ActionScript 3.0 :: Loading XML Generated Image Scroller?

Jul 3, 2010

I am have a button on my main.fla that loads an image scroller that is conected to an XML file.I can post the code for the button, or the code from the swf i'm trying to load.I am getting this error message:

loading xml from: Mixed-Media-Thumbs.xmlError #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:
/Mixed-Media-Thumbs.xml at mixed_media_fla::MainTimeline/frame1()

View 45 Replies

ActionScript 3.0 :: Loading Series Of Dynamically Generated SWFs

Oct 6, 2008

I'm working on a project where I need to load a series of dynamically generated swfs. The catch is that the composition of each swf depends on the result of loading the previous swfs. For example, if I generate a swf (just writing bytes to a ByteArray), call it A, then load that swf...

loadBytes(A)
//wait for COMPLETE event
//generateBytes for B
loadBytes(B)
//wait for COMPLETE event
//generateBytes for C
loadBytes(C)
etc...

It turns out that this is very slow. It doesn't matter how simple the swfs are -- 40 or 50 of these can take several seconds. This is just too slow for my needs. How I might speed this process up? Is there some way to make the loadBytes calls finish more quickly? Or maybe an alternative, faster way to dynamically load actionscript bytecodes?

View 4 Replies

Flex :: Static Layers Missing When Loading A Flash Generated Swf Using Swf Loader In AIR

Aug 6, 2010

We have a Flash game which need to be loaded and played from an AIR app. using the swf loader, the game swf is loaded into the AIR app. But the static background layers of the swf are not appearing in the loaded game.

Those graphical elements which are generated via action script only are appearing. When we are playing it independently (outside the AIR app), it works fine. Is there a setting that i am missing in Flash or Flex. we are working with Flex 4.

View 1 Replies

Swf Into Fla Doesn't Work?

Jul 23, 2009

I have a swf that is pretty complicated, you can interact with the page and go to different keyframes and it stops and/or starts depending on buttons, but I want to put it in a fla or something so I can put other swfs next to it and build it up and put several of them together as one.

I don't care about making it too complicated, I just want one interactive swf to go to the next compiled swf when that movie ends, but when I try importing it or loading it it just runs straight through without stopping or paying any attention to the scripting.

View 16 Replies

ActionScript 2.0 :: CS3 'if' Doesn't Work But 'else' Does

Apr 8, 2010

I am trying to more between frames using the data returned from a node n_EventID in an xml, when the node returns "1408" I want to move to frame 1 but if it returns anything else I want to move to frame 2. The part where the code moves to frame 2 seems to work perfectly but I can't seem to move to frame 1 when "1408" is returned.

xmlResultFinish = new XML();
xmlResultFinish.ignoreWhite = true
xmlResultFinish.onLoad = loadXmlResultFinish;

[code]....

View 5 Replies

Flash Doesn't Work On Some IE's?

Apr 14, 2010

I'm having a problem, where random IE's are not able to display my .swf file. All the IE's are IE8 with the latest flash pluggins and all security's are set at Medium, however some IE's get just a grey box and other's get the full flash file. What's going on? It works fine in Safari and Firefox of course, but why so much difficulty with AS3 Flash9 in IE? here is a link to the site, and it's the big image changer at the bottom of the front page.

[URL]

View 2 Replies

.swf Fullscreen Doesn't Work?

Nov 19, 2009

But my proublem is that I have a flash presentation.The defalt for moving the slide screens back and forth are left and right arrows.It works fine when tested or even the .swf fileBut then the left and right buttons don't respond when I go to fullscreen.

View 5 Replies

ActionScript 3.0 :: SWF Doesn't Work In IE

Dec 10, 2009

Is it common for AS3 apps to not work in IE? Is there a way to make them work? I have a movie clip in my library linked to a custom class Main and I have nothing on stage. Just one frame. Everything is built inside that movie clip. I add that movie clip to stage through a document class and everything works perfectly in Firefox and Chrome but when I open it in IE, it's just a blank page.

View 6 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari?

Apr 12, 2007

i followed the instructions oh how to make a centered pop up window here :i'm using a mac..nd it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up...why is that.......? did i do something wrong?here is my website:and please click on 'message' to see for yourself.

View 5 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari

Jan 9, 2004

i followed the instructions oh how to make a centered pop up window here : [URL]

i'm using a mac... and it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up..

here is my website: [URL] and please click on 'message' to see for yourself.

View 6 Replies

ActionScript 2.0 :: F8 DuplicateMovieClip Doesn't Work

Jan 15, 2009

this is what i have on the maintimeline:[code]I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)

View 4 Replies

ActionScript 2.0 :: Key.isDown Doesn't Work?

Apr 12, 2009

In the actions of a movie clip,I want to use something like:

PHP Code:
if(Key.isDown(W)){
//do stuff
}

But,it does not take anything else than LEFT,RIGHT and some others.I even tried ASCII:

PHP Code:
if(Key.isDown(100))
{}

It doesn't work.Then how do we use keys like W,A,S,D?

View 1 Replies

9-slice Scaling Doesn't Work

Sep 18, 2009

I've made a rounded rectangle with a gradient fill and another rounded rectangle over it with a transparency to create kind of a glossy effect. Both objects are part of a symbol in the library of the FLA file. Then, I activated the checkbox to create a scale-9 grid, and the Export for Actionscript checkbox in order to add this symbol from AS3. Next I made sure that every rounded corner was completely included in the slices on the edges of the grid. Well, no matter what, the object is scaled as a normal graph: the rounded corners appear bigger and deformed.

View 4 Replies

ActionScript 2.0 :: [F8] : DuplicateMovieClip Doesn't Work

Mar 12, 2010

this is what i have on the maintimeline:

Code:

initialize();
function initialize() {
for (i=1, r=0; r<15; r++, i++) {
for (c=0; c<8; c++) {

[code]...

I have 4 moveiclips called: redhex, bluehex, greenhex, and yellowhex.what the above code should do is make a 15x15 grid of hexes (yes i wanted all 4 hex mc's overlapping each other at each space on the grid.).Before i added the lines to dupllicate the blue, green, and yellow hexes also... the redhex movieclip duplicated exactly as it should.But after adding the lines to duplicate the blue, green, and yellow hexes also, in the same locations... Nothing at all showed up when i tested the movie (not even the redhex's)

View 8 Replies

ActionScript 2.0 :: CS3 Querystring Doesn't Work

Oct 26, 2010

I'm in a big distress, I'm using AS2 with CS3 (Flash 9.0 on OSX Snow Leopard) and I can't get the querystring. I don't understand it has always worked before with my previous version of Flash. I'm using this AS code: t_txt.text += _root.age; I have a dynamic text linked to t_txt. For the HTML I simply published using Flash, then I changed in the html file like this:

<param name="movie" value="age.swf?age=56" />

And

<embed src="age.swf?age=56" quality="high" etc >

When I set to use AS1 it just works fine. But I can't use AS1 all my projects are with AS2. So what's wrong?

View 3 Replies

ActionScript 3.0 :: CS5 S3 Redirect Doesn't Work

Apr 2, 2011

flash cs5 wont follow s3's redirects, instead it makes an ioerror with http status code 303 which is not an error code, its a redirect code. It doesn't hit the redirect page at all. If i was to save this file as a cs4 doc and run it in cs5, same issue. If if was to open and run it in cs4, it works fine, no error, redirect gets hit.Exactly the same file works in cs4 but not in cs5.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved