ActionScript 2.0 :: Get XML To Work In Flash?

Aug 11, 2003

I'm trying to get XML to work in Flash, and I just can't make it work :- I tried making something more advanced, but it just failed miserably, so for now I'm settling for something simpler.

Code:
myXml = new XML();
myXml.load("myxml.xml");
myXml.ignoreWhite = true;

[code]....

I just see null in the output window...

View 7 Replies


Similar Posts:


ActionScript 3.0 :: Dynamic Fonts Don't Work... But Arial And Verdana Work?

Mar 19, 2012

I am trying to defeat my psychological block with dynamically loaded fonts in AS3, and I have an annoying problem. I am creating a clock with a textfield and I am loading fonts from a SWF library: the available classes/linkages are "Arial", "ArialBold", "MyriadPro", "MyriadProBold" and "Verdana".This is the line where I get the class from the SWF, and it extracts the class correctly

Code:
clock = new Clock( { fontClass: assetsLoader.getFontClass("skin", "Arial") } );
The constructor...

[code]......

View 7 Replies

IDE :: Swf Files Work Fine Separately, Don't Work When On Same Page?

Feb 22, 2010

I have run across a strange problem. When I load products2.swf by itself, I can call the two "copy" files and everything works. When I open 0342.swf (the index page), I can switch between the home and products2 pages, but I can't view the "copy" pages.I'm guessing there may be some sort of conflict with variable names, but I have been messing with it for most of today.I have uploaded all of the FLA files to here:[url]....

If you make an swf file out of each of the attached items, and open the 0342 file, you will see what is supposed to be happening.

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";[code].....

View 3 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 1/2 :: 2 Buttons Won't Work That Were Created Exactly Like Many Others That Work

Jun 1, 2011

I am using Flash CS4 with actionscript 2 to create an interacitve portfolio.I have 2 text buttons that work when I test them with "enable simple buttons." When I publish to IE these buttons won't work.  I have created over 50 buttons using the same methods, they all work.

View 8 Replies

Flash 10 :: Not Work Correctly In Chrome And Will Ultimately Crash The Flash Player

Jan 20, 2012

If you set a .swf with wmode transparent mode and register the Event.RESIZE in it. It will not work correctly in Chrome and will ultimately crash the Flash Player. Of course same thing in FF, EI or any other browser works like a charm. Setting wmode to window fixes the problem but anyone knows a work around with wmode set to transparent?

View 0 Replies

ActionScript 2.0 :: Flash 6 - Change It To The Latest Flash 7 Player, It Doesn't Work?

Jun 22, 2004

I'm working on a site (http:url...) where I'm using an elastic effect on a window that will display the conent. Here is the code I have so far: Code for elastic is on a frame:

Code:
rate = .3;
decay = .4;
window.goal = 50;[code].....

Now all of this code works fantastic when I publish the movie for the Flash 6 Player,but when I change it to the latest Flash 7 Player it doesn't work.

View 8 Replies

ActionScript 2.0 :: FLASH 8 - JavaScript Work In A Blank Flash File When Open It In A Html Page

Feb 14, 2007

I have this java script and want it to work in a blank flash file when i open it in a html page.

[Code]...

View 14 Replies

Get Flash Buttons To Work...'Cannot Find Path' Flash MX 2004?

May 7, 2009

I am trying to get the flash buttons for my website to work, but every time I do the getURL thing it keeps saying 'Cannot find(directory)'. The website is offline and I'm using Macromedia Flash MX 2004, I also might be able to use Flash 8 but these are the only two versions I have access to.The action script for the button is:
 
on(release){getURL("..********(Website directory)(sub directory)(Website page).html")}
 
I am making the website in Dreamweaver 8 and this is really holding me back as it's nearly finished but the buttons still don't work.

View 4 Replies

Professional :: Launch Flash Builder From Flash Cs5 Don't Work

Mar 3, 2011

I have a trial version of flash builder (eclipse plug-in) and registered flash cs5 proI'm trying to open a new AS3 class like in this tutorial: [URL]nd it doesn't work.at first it did asked if I want to edit the file in flash builder or not, and it didnt work.now it won't even ask.and also I cant open a flash proffessional  project in flash builder, it says "This feature requires Adobe Flash CS5 or higher to be installed."but it is installed!

View 1 Replies

Flash - 3D 4.0 Currently Not Work With AIR 3.0?

Nov 4, 2011

I'm using AIR SDK Version 3.0.0.4080 and this build of Away3D [URL]building the project in FDT 5 on a Macbook Pro. The app descriptor file has renderMode set to direct.I have been able to get Away3D 4.0 working with FP11 when it builds from the latest playerglobal.swc but when I attempt to build an AIR project then it appears the airglobal.swc is slightly different. Filter3DTaskBase throws errors due to differences in method parameters.Incorrect number of arguments. Expected no more than 2.

_program3D.upload( new
AGALMiniAssembler(Debug.active).assemble(Context3DProgramType.VERTEX,
getVertexCode(), Debug.active),

[code]....

As far as I can see, the number of parameters match up. I am wondering if there is a deeper issue here with my graphics card etc as stage.displayState is behaving strangely as well, it behaves like the swf is running via the player not adl (needs MouseEvent to change to fullscreen). Although I have re-installed the latest flex sdk and AIR sdk in case something had gone wrong there.

View 1 Replies

Flash 9 :: SWF Does Work On Web

Aug 17, 2008

I have a swf that loads an external XML file. It works fine on my computer but it does not work properly when it is on the web.All necessary files have been published and are in thier specified locations.

View 9 Replies

ActionScript 1/2 :: FLVs Not Work From A HD Like They Work On DVD?

Oct 15, 2010

I have a completed project (AS2) that contains a lot of FLVs.  I burned it onto DVD and it works great on Mac (guide.app) and PC (guide.exe).Here's the web version of the project.http:[url]....Now, months later, I have to provide the project with source files (FLA's) and some other stuff  - so I got an external HD, copied the files from the working DVD onto it.  Running the guide.exe off of the external (connected to WinXP SP3) works just like running it off the DVD  -  EXCEPT for the FLVs which simply to not appear.
 
http:[url]...Everything up to that step works:  When I click on "guide.exe", the "splash screen" opens showing the title and 4 buttons.  These buttons are to choose a language and they work.When I select a language and click its button the GUI for the language with menus appear and they work.  When I click on a topic from the menu, the topic's skin appears but the video inside the skin doesn't play.  Everything works but the FLVs.
 
Even weirder - If I use VLC Player to open an FLV directly - the FLV will play.  That tells me there is some path issue but how can a path change when it's compiled into the SWF?  Besides - the paths from swf to flv has not changed when I copied all the files to the external.why the FLVs will not play on the external the same way they play when on the DVD?

View 9 Replies

F8 Flash Website Won't Work In IE

Oct 19, 2009

I have been designing a website for a client entirely on flash 8 and I am almost ready to hook it up with an actual host, right now it's just set up on yola, which is a free host so that my client can see all the changes i've made, to the design and information. But I tried to view the website on Internet Explorer and it doesn't work at all. It just shows that square circle and triangle in the top left hand corner. How can I fix this before I set it up perminatley?

View 3 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

ActionScript 3.0 :: Getting (ALT Key) To Work In Flash?

Jul 23, 2009

I cannot get ALT key to work in Flash, if I want to use it in combination with other keys nor I can use it alone.For example, I have created an application which requires the usage of (ALT+F) in order to access certain thing, This does not seem to fire the key event.however if i use the same thing with (CTRL+F) or (SHIFT+F), it works fine.It is only ALT  which causes the key event not to fire.

View 2 Replies

Links Will Not Work Under Flash?

Jan 14, 2009

I have a flash movie launch over my webpage when the page loads what the problem is is that when the flash is completed and unloads in the area where the movie showed up the links are not clickable. I have my wmode set to transparent and even have the unloadMovie at the end of the movie, this problem only occurs when using firefox how can I fix it?

View 1 Replies

Swf - Can't Get It To Work: Crossdomain.xml And Flash

Jun 28, 2010

I have a (self-created) swf demo with button triggering getUrl('SampleTargetPage.html')Now I want to place the swf at our cdn at [URL] while my html page resided on [URL]More structured:

[URL]

I thought it would be sufficient to provide a crossdomain.xml at cdn.example.com to allow the links work. But: it seems like the Flash plugin never queries the crossdomain.xml at all!Now, is there something which I must add in the SWF itself to make this work?

edit: do I need to use Security.loadPolicyFile?

edit: Maybe I don't need the crossdomain.xml at all because everything's under [URL]?

View 2 Replies

Does Flash 4 Work In Windows 7

Jan 13, 2011

SWF generated in Flash 4 with embedded pics seem to display poorly (jagged) ONLY in Windows 7 IE - vector elements are fine.url...

View 2 Replies

Flash :: How To Work With Arrays In OOP AS3.0

Sep 10, 2011

I'm trying to figure out how to work with arrays in OOP AS3.0. This is what I've got:

[Code]...

everything breaks down. How should I get the value of myArray into the main Class file (Gallery.as)?

View 1 Replies

ActionScript 3.0 :: Getting Flash Work On The Web?

Nov 9, 2009

I know that is question isn't really technical and it might sound fairly basic but I am having a lot of trouble getting my flash work on the Web.

www.jonniegrieve.co.uk. This is my website. Right now there's only one flash element on it and that's a basic construction page animation, no ActionScript or technical things at all. I embedded it using dreamweaver into the page and it showed up okay.

Now I want to add an application that I finished recently to add to my quote/unquote portfolio. I don't know what it is I am doing wrong because nothing will show. I publish the files first in flash which generates web pages for me and they work fine on my hard drive, but moment I upload them to the internet using FileZilla, I'm lucky to see a still version of the first frame[URL]..

Can someone out there point me out to the obvious about what I might be doing wrong here because right now I'm scratching my head and have done everything that I can think of to put my flash work on the Internet but nothing so far.

View 7 Replies

ActionScript 2.0 :: Get PHP To Work In Flash?

Apr 1, 2010

i have made a php var which will include a certain webpage. the var works on a .php document, but i can't get it to work in my flash.

How can i get Php to work IN Flash?

View 9 Replies

Getting Formail To Work In Flash?

Apr 4, 2009

I bought my domain before fully looking into formail, cgi & php and have a site hosted at 123-reg, I was trying to get the form to work using some php scripts/examples found on numerous site? but then found out that 123-reg only support cgi script for formmail, So i reproduced the form in Dreamweaver using formail cgi but still the script doesn't work? Or I'm missing something when configuring it?

Thinking I'd be best off moving my site to somewhere that supports php and have the form created in flash working with a php script, if so could anyone point me in the right direction when trying to do this or have any advice on how best to do this?

I have knocked up a form in flash mx, but know using cs4, its a pretty standard form with a few fields and a comments box but getting it to work and return an email with the enquiry details

View 5 Replies

Flash :: IDE - IE6 - 7 Scrolling Does Not Work

Jan 24, 2009

i ve put flash(1000x900) into html file and test it. Everything works fine except when my mouse pointer is over flash area or i click on some button iniside flash it wont scroll up or down, and when i am outside flash area it scrolls normal. In FF works great but in in IE does not work. This is very annoying beacose you have yo click outside flash everytime if you want to scroll. I am working with cs4 AS 2.0 and i try to export movies into flash 9 and flash 10 but it is the same problem.

View 1 Replies

ActionScript 2.0 :: RSS Which Work With Flash?

Mar 27, 2009

Well after pottering around, it seems that either there is security issue, or the type of rss, messes up in flash.

Anyone know of rss which work with flash with ease?

[URL]

View 1 Replies

Flash :: Projects With Flash Player Above 7 Don't Work Since CS5

Oct 4, 2010

I have somewhat simple problem with my Flash projects. I've installed Flash CS5, created new project (AS2), made a simple button which on(release) is gotoAndPlay(2), published and... It doesn't work! After some research I noticed that none action scipt works when i choose to publish my project with flash player 8,9,10. This is really strange for me.I don't want to stick with FP7.

View 1 Replies

ActionScript 2.0 :: Why Buttons Only Work In Flash V6

May 8, 2009

Attached is an FLA with an image that moves onto the stage. There are 5 button MCs which are supposed to move the image left/right. Works great, only if the SWF is published for Version 6. However, published as a version 8 swf, the buttons no longer create motion. On a different thread, somebody published it as a version 8 and 9 SWF and said the buttons worked perfectly..FYI, clicking into the , imageStrip_mc is an Actions layer, as well as the Actions on the root timeline.I am using Mac OS X Flash CS 3 - v 9.0 - using ActionScript 2

View 2 Replies

Flash Won't Work When Uploaded To Server

Sep 30, 2009

I made a flash website for a client and there is only ONE thing wrong with it. Everything works when I preview it in Adobe Flash Player. And I have it embedded in a Dreamweaver CS3 file, and when I preview it...it works. THEN when I upload it to the server, two of the INTERNAL links fail. I have two links that say "Behind the Camera" and "Contact". [URL] You can see when you click on either of the links, it just randomly skips ahead in the first scene. What I really want them to do is when you click Behind the Camera you go to Scene 2 and Contacts you go to Scene 3. I have coded everything correctly, because everything works when I preview it. But once I upload the .swf file to the server, those links fail.

The code I used for the buttons are:

BTC.onPress = function(){
gotoAndPlay("Scene 3", 1)
}

[code]....

View 1 Replies

Getting Flash To Work With Html Button?

Oct 2, 2009

I have a swf file which needs to be activated on a page by an html link. i.e. when the link is clicked at the bottom of the page, the swf file should start playing elsewhere on the page.

View 4 Replies

ActionScript 1/2 :: Flash Form Won't Work?

Mar 10, 2009

I am very new to flash and unfortunately I need to get this working somehow and can't. I checked all the text fields and they look correct, but it just won't get past the validation for some reason.

View 1 Replies







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