ActionScript 2.0 :: XML Loading / Displaying In Safari
May 10, 2010I seem to have a problem with loading data from an XML file via Actionscript. It appears to only display/load in IE and Firefox, but not in Safari.[code]
View 1 RepliesI seem to have a problem with loading data from an XML file via Actionscript. It appears to only display/load in IE and Firefox, but not in Safari.[code]
View 1 Repliesthe following page should include two FLV files - one near the top of the page and one near the bottom.
[URL]
Works properly in IE8 and Firefox 3.5.5 - however in the latest Chrome and Safari only the topmost FLV displays. FLV embedded with Dreamweaver CS4.
[URL]
I have a flash object embedded in my website with the embed code that I got from a website. It does not show up in Safari, it's just a blank area where the flash object is supposed to be. What can I do to get the object to show up in Safari?
Here is the embedded code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" height="250" width="258" id="sn_player" align="middle">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
[Code]...
I'm loading data from an XML file via Actionscript. Here's the portion of the code that loads the XML [code]...
View 1 RepliesI am having issues with my movie not loading in Safari.
I am publishing the movie from Flash CS4 and using all the code it spits out in the html page. It works fine in IE and FF but not Safari.
Is there something I have to change or add into the code within the html page??
[URL]
I've built a form, and next to my form element I've placed a flash object. When the page is loaded, the form is display: block, and the flash object is display: none.
The layout looks something like (the img is there so that if the user doesn't have flash, the gif animation will play instead):
[Code]...
is there anything I need to do different when loading XML into an actionscript for the Safari browser?
my first item in the XML is not showing up in Safari, and in IE it is...
I made a simple slideshow type viewer for a client. It works wonderfully for me in OS X using Safari and Firefox, and it works in Firefox under windows as well. Linky Now, the guy writing the backend stuff for the site uses windows, and noticed that when you navigate *away* from the page, and then go back, the images don't load. In IE 7. He sent me a screenshot using some http debugger.
Screenshot So, we figured we'd use a "cache buster" in IE. I made the flash append "?<RANDOM_STRING>" when requesting the images, but it doesn't seem to do the job. The HTTP debugger shows the request occurs, but Flash never actually receives the image. Here's the entirety of the class "SlideshowImage" which is responsible for loading the images ( and other junk, like photo credits, etc ). Hopefully somebody with more AS3 experience can hit me with the proverbial clue stick. I've been writing AS2 for a long time, but AS3 for only the last 6 months or so. I've never seen these problems in AS2, so I assume I'm doing something wrong in AS3.
A final note. I know that the XML file which describes the slideshow is being correctly loaded, since I can see the correct copy overlay and other factors. It just appears that the images never come down the pipe.
I have a simple swf in an invisible <div>; when user mouseover's the <div> becomes visible.The swf has a ExternalInterface.addCallback( "..." , ... ) to create connection to js that needs to be called at load, such that by the time user mouseovers the flash-js connection is working.PROBLEM: on windows safari the flash does not go through its loading sequence until the user finally mouseovers
View 1 RepliesI load images from an XML file and sometimes everything would load up just fine, but there are times when flash would stop loading in the middle of my my list...
[URL]
On firefox, all items usually would load up all the time but there are occassions where it would only load 3 out of 8 or some anywhere before it's suppose to finish. If you keep hitting refresh on the link i posted, you'll see. its even worse on safari since it would seldom load the whole thing... never had a problem with IE though.
here is the code im working on
Code:
var productHolder:MovieClip = productHolder_mc;
var bannerHolder:MovieClip = bannerHolder_mc;
var paginationHolder:MovieClip = paginationHolder_mc;
var whatIsaLoading:String = "";
[code]....
A strange issue in Safari (both Mac and PC) versions... coming to the site with a clean cache and the Flash file, loads in cut in half, and hugging the top of the browser. A refresh fixes the issue!
View 2 RepliesHow could it be a SWF is not loading in internet explorer chrome on windows but works fine on firefox and safari on osx? I called the file like myhomepage.fr/videoplayer.swf
Does this direct all of swf is non supported on IE?
If been trying to refurbish my website using solely OSMF but, the sound part gives problems in various browsers. It works in IE6 and FireFox but, it doesnt in Chrome and Safari. Does anyone know what is happening and what their differences are when it comes to file loading?[URL]check it for yourself clicking the buttons in various browsers the Flash button uses native flash sound libs the OSMF button the OSMF implementation.
Main.as
Code:
package {
import org.osmf.elements.AudioElement;
import org.osmf.media.MediaPlayer;
import org.osmf.media.URLResource;
[code]....
I have six buttons, and I want each one to display a corresponding externally loaded swf, 01.swf, 02.swf.
It works fine, except that sometimes swfs load up, and sometimes they don't. For example, if I hit button 6, the 06.swf loads. but if I hit button 6 after hitting 3 other buttons, SOMETIMES 06.swf loads, other times it doens't and I get an error that relates to the removeChild
var loader2:Loader = new Loader();
function showVid (evt): void {
if (e1.data.childAdded2 == true) {this.removeChild(loader2);};
[Code]....
I'm trying to load some jpeg's into my movieclips. They are loading, but my height is displaying wrong. The image is 64x100px. I'm changing my movieclip to show the same size, but the display of the image is stretched.Doing a Debug of the movie, the movieclips show the correct dimensions, but the images are still stretched vertically somehow. My _xscale and _yscale are both at 100.
This is in actionscript 2.0. I've ran this file on both MX2004 and CS3, with the same result. The images aren't progressive,
Code:
numImages = 30;
spacing = 10;
x_pos = 0;
y_pos = 0;[code]..........
I want to display MovieClip "Loading" while loading an XML File, but something went wrong and MovieClip is displayed on the screen after the XML is loaded.the main idea is:when the Test object is added to the stage I call loadQuestions function
ActionScript Code:
private function onAddedToStage(event:Event):void
{
event.target.removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
loadQuestions();
}
it should display movie clip "loading" and load xml:
ActionScript Code:
public function loadQuestions()
{
[code]...
This code doesn't work as it should, because while xml is being loaded there is no MovieClip on the screen(it appears after to load is completed) [URL]
I am building a SWF and the goal is to load in an external SWF file and then display that within my container. They are totally unrelated items and I do not want to modify the functionality of the item I am loading in. My SWF will briefly display a watermark overlay, but then disappear. Can anyone guide me into this best way of doing this?Also, is there anyway to get the properties from the SWF I loaded in (namely height and width) so I might be able to easily adjust the size of my SWF to match?
View 1 Repliesthis is my xml file
Code:
<game>
<question type="image">
[code]......
I'm trying to create something that will load a bunch of images into an array and then be displayed whenever needed via using the attachMovie() function.
Code:
for (var i=1; i<list.length; i++) { //list is an array full of urls to images
_root.createEmptyMovieClip("img"+i,i);
loadMovie(list[i], "_root.img"+i);
}
I dont think this is what I want because I don't actually want the images to appear right here (this is the loading part). What I want is each image to be in a separate symbol with a unique identifier so that I can create them dynamically during runtime.
I'm loading content from a text file into a text field in Flash. In that text file I have some simple html tags like <b>, <i>, and <img>. I'm setting the textfield as html text:
myTextField.htmlText = myContent
The img tags work fine, but for some reason the bold and italics are not displaying...the tags are being correctly stripped from the text, but there is no bold or italic text. I'm embedding all the characters I need, but do I need to somehow embed the bold/italics versions of those characters?
I am trying to write a class file for loading a movieclip but it is not working. I am not even getting any error message.
[Code]...
My _root movie is nothing more than a interface with navigation buttons. When someone clicks a button another swf is loaded into an empty movie clip on _root.
My Problem:I understand loaders and use them all the time, however, I still to this day have never gotten a loader to work with loading an external movie into a currently playing movie. (ie: in my _root movie you press the "Searching" button and searching.swf is loaded into _root.contents --> contents is the empty movie clip)So anyways... where does the loader go? The only results I've ever had is as SOON as the loadMovie method is called the movie hangs until the entire movie clip is loaded. Then the loader runs... thus making it totally useless.
I have an XML gallery application online which runs fine in Firefox but when run on Safari it tends to crash as if it couldn't locate/open/read(?) the XML file that is supplying it with the urls and titles of thumbnails that the program is to load.[URL]
View 2 RepliesI have a swf embedded in my main swf that will not load in IE or Safari. However they do load in FF. Doesn anyone know of a work around?
View 1 RepliesI have a problem with the way my page is displayed in Safari:
I have a few DIVs, some overlapping others. One of these DIV is in the background (lowest Z-index) and contains an SWF. (a kind of liquid picture/video in Flash)
My problem is : In all common browsers it's fine, the website is displayed correctly, with DIVs overlapping or being overlapped according to their Z-Index. Though, in Safari, the DIV containing the SWF always show on the foreground and hide all other DIVs, whatever the Z-index attributed to all the DIVs.
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 RepliesHaving an enormously irritating problem with the filereference class. Everything works well on a pc, with when trying it out on a mac the file seems to upload (it reaches 100%) but then throws an HTTP 404 error in my face. What can be done.
Have been browsing the web quite a bit to figure this out and some say that the .htaccess file can be edited to make this work. However It seems like I cant edit the .htaccess file. This is the content of the .htaccess file:
[Code]...
I have a as3 website that works fine in firefox, but for some reason doesnt work in safari. i think it might be as3 coding, but not sure. anyone have suggestions?
View 3 Repliesi 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.
i am having a strange local connection problem in Safari. The bottom line is that the exact same app works fine in Firefox, but safari is not making the connection. Using External Interface, i can confirm the connection strings are correct and matching..
View 2 Replies