ActionScript 3.0 :: Flash XML Works Until Embedded
Jul 15, 2009
I've been working on redesigning our site for the past few day snow and I'm probably just getting tired/burnt out so I came here for some extra opinions and eyes. I have a flash file that will simply fade in and out logos of companies we've dealt with in the past and they are being pulled from XML so I can update it more easily later. Anyway, I bring it over to our developer machine and the SWF file works fine if I few it just as it is in the browser, however, the second I embed it, no matter what method I use (SWFobject, old school embed tags or whatever) it shows there's a flash file there but the XML is obviously not reading.
I've tried using relative and absolute paths (again only on a test server so the absolute path is a localhost path) and still nothing. Our site is dynamic, but the page its on, our default/index page, is pretty straightforward. Here's the online of our folders.
[Code]...
View 3 Replies
Similar Posts:
Nov 11, 2009
I made a flash mp3 player and it works fine in any other test pages. but when i embed it onto my site it just shows blank. what do i do? my site is [URL] and the flash player i tested here [URL] and it plays. What im i doing wrong? i tryed everything. right now i just got it in a iframe but i dont want that iframe.
View 1 Replies
Jun 1, 2009
would this be considered a bug in my code (AS3 and Tweener) or a problem with the SWF and its interaction with HTML?When I test the SWF in Flash, there's no breaking it.I can't break it at all works exactly like it's suppose to.When I embed it in Flash, it breaks in an odd way.I have two buttons, left and right. When the buttons are clicked, images on stage move in the direction they're clicked.When embedded, if I click a button really fast, the images start tripping over each other. Strange thing is, it's only to the left button and not the right, but the code is exactly the same for the right & left movement. If I click the buttons slowly everything works as expected.All of this while again everything works great in Flash itself. No errors.So, at the very least I'm trying to find out if this would be considered a but with my code or a problem with the browsers and the Flash player.
View 1 Replies
Apr 10, 2011
If you go here and click on the animation link the skin at the bottom of the video is visible then fades away. If you navigate away from animation then come back the skin isn't there. I don't know why. Here's the code for the animation swf with the parts I think are relivern in bold:
[Code]...
View 1 Replies
Apr 10, 2011
If you go here and click on the animation link the skin at the bottom of the video is visible then fades away. If you navigate away from animation then come back the skin isn't there. I don't know why.
Here's the code for the animation swf with the parts I think are relivent in bold:
Code:
import mx.video.*;
var totalRecord:Number = 0;
var intStartImage:Number = 5;
[Code]....
View 2 Replies
Feb 9, 2011
I've built a SWF with the top layer being an invisible button. As a test, I simply uploaded the file to the server and clicked it. Here is the URL where the file is located: [URL] When clicked anywhere, it should take you here: [URL] and it does. I sent the SWF to a third party vendor who have placed the masthead at the top of a page: [URL] which its on their server. When you mouse over the image, it appears clickable, but if you click it, no action takes place. It's the exact same file. Why is it working from one place, but not the other?
View 4 Replies
Mar 19, 2010
As you can see on [url]...the last part of the Flash movie seems to be broken. Oddly enough, when I take the embedded SWF and view it separately[url]...
I'm not a flash expert, I don't know what can go wrong with embedding etc. but the actual FLA file seems to be ok, the map layer that is coming through randomly at the end shouldn't even be there! The frames at this point of the timeline on this layer are actually empty.
View 11 Replies
Nov 3, 2009
I have an anchor linked to sections of a HTML page. When I test my movie from flash and click a link to an anchor, it successfully opens my browser and takes me to section of the HTML page.But once I go back to the flash, now embedded in the browser the anchors dont work..
View 2 Replies
Nov 19, 2010
I am using Flash CS5 but working on an old fla file from a few years ago (which uses an AS2 file as its code).I have to recompile the fla, because I changed a few tiny things in the AS code, so I saved it as CS5, recompiled and published...The original fla file embeds the font _sans, but it exports it twice (so the AS code could use it), each time with a different identifier.The problem is that only one identifier is working in the final swf. Text boxes that use other identifier do not show any text at all.So I guess there is a collision? Is it not allowed to export a single font twice with two different identifiers? How to solve this problem?Fla rules for embedding fonts might have changed since the old fla has been written... because its old swf did show text for both the identifiers.
View 4 Replies
Feb 9, 2009
I'm new to AS & Flash, but not programming in general. I've got a project where I'm needing to use embedded fonts. To save the size of my main .swf, I've been using the Loader class to import .swf files with the fonts embedded at runtime. The "font library" .swf files contain just the embedded font, and in frame 1 have
[Code]...
View 1 Replies
May 17, 2011
I have a movie clip that is a navigation window and I am trying to have some tooltip hover over the buttons inside the navigation window.
If I create a button on the main stage it hovers and works fine but if I create the same clip inside the embedded navigation window the tooltip does not show up. I do not have any error messages but it is not there that I can see.
View 5 Replies
Jan 2, 2011
I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:
Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)
Is this possible by using Javascript and HTML5 from a browser extension?
Would I have to use something like the SWFObject Javascript API [URL]
View 1 Replies
Apr 11, 2011
I have a movie clip (with instance name rectangle_mc) on the stage. Within this movie clip there are two separation animations on the timeline. The ROLL_OVER animation starts on frame "over" and the MOUSE_OUT animation starts on frame "off." If I roll over the movie clip, the initial animation plays, and when I mouse out the other animation plays to restore it to it's initial state. However, once the rollover animation has played once, it will not play again when I roll over it again, but for some reason the MOUSE_OUT plays every time.
[Code]...
View 1 Replies
Oct 19, 2007
Looking at the attached file, why does bottomScrollV give me the wrong value when the text is dynamically embedded and correct when manually embedded?
Here's the code:
ActionScript Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoad);
loader.load( new URLRequest("info.xml") );
[Code]...
View 1 Replies
Jul 7, 2011
This should work! I cant figure out why it doesn't. Fortunatley I discovered that it worked perfectly in Flash Player 9. But I guess it must run on FP 10, snice I was thinking to implement this in an AIR for Android application. On the stage I got a button with the instance name of: submit. In the library I have a MovieClip with the linkage of: radioButton. This MovieClip is just to frames with different grafics. It is supposed to work like a checkbox or a radiobutton.
[Code]...
View 2 Replies
Oct 25, 2006
Here's the site: [URL] From feedback I've gotten, it appears that under certain circumstances the first image in a set of images does not load properly, although I haven't seen it myself. I'm told this happens only in Firefox. And I believe only Flash player 8. Works fine with FF and Flash player 9, or IE with 8 or 9 I believe.
View 14 Replies
Nov 25, 2011
I've just stumbled upon a case when Flash app freezes in production Flash Player and works smoothly in a debug version. It doesn't throw any errors or exceptions. Has anyone ever encountered anything like this? Why is it happening or how one is supposed to debug in such case?And a side question - what exactly is different in debug version from internal point of view? Any good writeup on the topic?
UPDATE:I didn't mention, but the trouble is with Flash Player 11, it probably matters, cause Flash Player 10 doesn't have any problems with the same code.
View 1 Replies
Dec 2, 2011
look @ the source for this page [URL] It works great in all Webkit/Mozilla browers but in IE 9 we can only see the top half of the swf and in IE 8 it doesnt load @ all. I searched all the other threads and nothing seems to work
View 1 Replies
Sep 18, 2009
In The Flash Application, my gallery is working as it is meant to. Yet, when I upload the swf to the live site, the first image, text and movie of my gallery works but it refuses to scroll to the next item in my XML.
I have given it an absolute path to that server which works in Flash but not when it is online.
View 2 Replies
Dec 13, 2006
This xml menu code works in flash 6, but not in flash 8.what am i missing?[code]
View 1 Replies
Jul 17, 2009
I made this BlogFeed.swf file. Everything works just fine in Flash IDE. It loads the XML, renders it, displays fine and that's it: the world is filled with love and data.
The problem occurs when I try to use my swf online.
Here's the scenario:
SERVER A (Altervista)
hosts the swf file, trying to read the RSS Feed from...
SERVER B (my client's server)
serves the RSS Feed of his blog
[ things I already tryed ]
1) I wrote a crossdomain.xml file (allowing SERVER B domain to access the swf), place it at the same level of the swf file on SERVER A;
2) Set System.security.allowInsecureDomain("*") in the flash file
3) checked on both servers the server-to-server permissions (Altervista lets you do this via its own control panel; the client's server needed me to email the support: did it and they allowed me to connect)
4) moved the swf on ANOTHER server, on which I am completely sure that server-to-server communications are allowed, since I already did something like that.
Nothing changes: always getting the damn HTTPStatus = 0 and no items are shown.
What I really don't understand is why it does work from Flash IDE connecting to SERVER B and it fails (with NO IOError and HTTPStatus = 0, so no debug hints at all...) when I use it in server-to-server mode.
View 1 Replies
May 17, 2004
I have a FLASH portfolio that opens up with 4 options. The 2nd option works. But if you click on the first or fourth option, instead of going to their respective scenes it goes to then 2nd options scene. Here is the kicker though - if you refresh the page Control+F5 everything works fine How come it only works after you refresh the page? here is link FLASH PORTFOLIO. Then click on personal portfolio link.
View 1 Replies
Mar 10, 2009
This tut works great when u publish in player 5 but not 8 ANyone know why? [URL]
View 1 Replies
Aug 6, 2010
My Preloader works fine when I preview in Download mode BUT only loads the first frame of animation.I have attached my file- just a simple image fade ( it has a lot more images but no space here!)Here is the code in the Actions layer:
Code:
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onWatch);
this.loaderInfo.addEventListener(Event.COMPLETE, onTotal);[code]...........
View 1 Replies
Dec 13, 2010
I have developed a rolling credits style movieclip in Flash using Actionscript 2. Text is loaded from an XML file and parsed into a dynamic textfield. This text includes hyperlinks to webpages defined by a url node in the xml so Flash can add the appropriate a href to the dynamic text field and make the link clickable.
In my first attempts to do this the textfield stayed still and all the links worked fine both testing locally and when I run it in a browser on my website.Then I wanted to make things move ... which I achieved easily enough and tested locally (from within Flash Professional) and the links remained clickable, a browser window opened and the webpage i was expecting to see opened... great
However, when I export the swf, upload it and run it from my website suddenly the links are not working. So I tried to test the movie in a browser from Flash Pro - same problem, it must be something to do with Flash Player and the moving dynamic textfield.
a couple of observations - the cursor will change to a hand icon when over the links as you would expect, and if I right click on the link and click open in a new window the link works ok, just not when I left click. If I stop the scrolling then the links become clickable again, it is only when the textfield is moving... actually its not technically scrolling, im moving the whole textfield.
View 1 Replies
Jul 13, 2009
I've been working on a couple of media viewers/players which use XML playlists to dynamically generate their content.
One is this mp3 player: [URL]
The other is this image viewer: [url="http://tav.ind.in/stuff/comicexperiment/comic.html"]http://tav.ind.in/stuff/comicexperiment/comic.html[/URL
Both work fine in Firefox and Safari, but in Internet Explorer, neither one loads the information, and all text fields read as undefined.
View 3 Replies
Nov 9, 2009
I've started my first flash movie and it works in IE but not in Firefox. Can anyone help me out? Here is the code that I am using (I pulled the syntax from a web site and modified it):
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=6,0,40,0"
[code]....
View 1 Replies
Oct 27, 2011
It's not exactly that, but it works the same way. It's about a login form with Flash and PHP. It must send data (username and password) to PHP, PHP has to check for a record in MySQL and then to return data to Flash. How does it works and how to return the data to Flash?
View 1 Replies
Aug 13, 2008
I have 2 'getURL' functions on one keyframe, one a text (converted) button, the other an image. They are both next to one-another however only the text (converted) one works. The top bit of code is the text (converted) button:
bt_url.onRelease = function (){
getURL("[URL]","_blank");};
bt_ethicaltrading = function (){
getURL("[URL]","_blank");
};
The code for each is exactly the same, I have checked instance names, tried different url's and even created an invisible button for the image based one. I have also tried putting the buttons on the same layer.
View 4 Replies
Jul 27, 2009
When the loader finishes, it send the data to a plotter function. the plotter function clears the graphics in a shape called graphLine.It then draws a line from one plot point to another using the lineTo function.Basically ever 3 second it makes this request and redraws the screen and updates the value of a textfield to the current y value. In flex builder 3, it works great in debug mode. The screen updates just fine. However, when I make the release build and test it out in a browser, it loads the data fine, but will not draw it until I stop the graphing process.Here's the code for the graphing function
Code:
public function graphData(data:Array):void
{
[code].....
View 0 Replies