Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Flash/xml/images Not Loading In Firefox Or Safari


Hello to anyone who might help...
I am creating a completely dynamic flash site (example problem: http://www.playdown.com/testing/testing.swf) that's pulling all of its information from xml files. Everything was lovely until I tested it in Firefox and Safari. They don't load the images!?! I went into preferences for the browsers and made them as friendly as possible but still no luck. By visiting http://www.playdown.com/testing/testing.swf you'll see what's happening. It doesn't make any sense to me. Sometimes when I reload the page it works.

Do Mozilla and Safari have known xml issues?

Any help in this matter would be greatly appreciated!!




FlashKit > Flash Help > Flash General Help
Posted on: 06-18-2007, 01:32 PM


View Complete Forum Thread with Replies

Sponsored Links:

Flash/xml/images Not Loading In Firefox Or Safari
Hello to anyone who might help...
I am creating a completely dynamic flash site (example problem: http://www.playdown.com/testing/testing.swf) that's pulling all of its information from xml files. Everything was lovely until I tested it in Firefox and Safari. They don't load the images!?! I went into preferences for the browsers and made them as friendly as possible but still no luck. By visiting http://www.playdown.com/testing/testing.swf you'll see what's happening. It doesn't make any sense to me. Sometimes when I reload the page it works.

Do Mozilla and Safari have known xml issues?

Any help in this matter would be greatly appreciated!!

View Replies !    View Related
[CS4] Flash Not Loading In Firefox Or Safari ASP.Net Page
Hello,

I'm not sure if this is the correct place to post this so if it isn't i do apologize. I have a C# .Net (2.0) website that has a master page with 3 contentplaceholders. 1 houses the login, the 2nd the navigation (also done in CS4) and the third is the content. This particular page has a flash file embeded into it. Now this flash files reads in xml data and populates a combo box and depending on which item is selected play the appropriate video. Now this works fine in IE but not in FireFox or Safari. If I make it a simple html file then it works in all 3 browsers so I'm assuming it has something to do with being in a .aspx page, however that html page is now missing login and navigation from not being within the masterpage.

Any Ideas, im happy to email the code to those who have some suggestions, oh and here is the code to the aspx page.

Cheers

Matti

<%@ Page Language="C#" MasterPageFile="../Master/Master.master" AutoEventWireup="true" CodeFile="Videos.aspx.cs" Inherits="Pages_Videos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cntContent" Runat="Server">
<div align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="1024" height="500" id="BangBabesVideo" align="middle">
<param name="FlashVars" value="girlID=6"/>
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="BangBabesGenVideo.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="BangBabesGenVideo.swf" quality="high" bgcolor="#000000" width="1024" height="500" name="BangBabesVideo" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</div>
</asp:Content>

View Replies !    View Related
XML Stops Loading For Firefox And Safari
Has anyone encountered this problem? I 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...

here is the page i'm working on
http://www.teammanilalifestyle.com/l...anila/products

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 = "";
var tracker:Number = 0;
var currentPage:Number = 0;
var howManyPages:Number = 0;
var howManyImages:Number = 0;
var productID:Array = new Array();
var productUrl:Array = new Array();
var productImg:Array = new Array();
var productName:Array = new Array();
var productPrice:Array = new Array();

/* -------------------- Aligning and positioning eleme bts -------------------- */
productHolder._x = 0;
productHolder._y = 0;
bannerHolder._x = 0;
bannerHolder._y = 335;

/* -------------------- Load XML and execute parser -------------------- */
var productSlideshow:XML = new XML();
productSlideshow.ignoreWhite = true;
productSlideshow.onLoad = function(success) {
if (success) {
parseGalleries();
}
};
productSlideshow.load("http://www.teammanilalifestyle.com/lomoembassymanila/xml/" + _root.prodtype + "1.xml");


/* -------------------- MovieClipLoader & Listener -------------------- */
var loader:MovieClipLoader = new MovieClipLoader();
var Listener:Object = new Object();

loader.addListener(Listener);

Listener.onLoadInit = function(target:MovieClip) {
target._alpha = 0;
fadeIn();
tracker++;
if (tracker<howManyImages) {
loadThumbnail();
}
};
Listener.onLoadProgress = function(starget:MovieClip, loaded:Number, total:Number) {
percent = Math.floor(loaded/total*100);
currentImage.preloader._visible = true;
};

function fadeIn():Void {
target.onEnterFrame = function():Void {
this._alpha += 5;
if (this._alpha>=100) {
delete this.onEnterFrame;
currentImage.preloader._visible = false;
this._alpha = 100;
}
}
};


/* -------------------- Start of functions and code -------------------- */
function parseGalleries():Void {
productID.length = 0
productImg.length = 0
productUrl.length = 0
productName.length = 0
productPrice.length = 0
howManyImages = 0;
tracker = 0;

if (productSlideshow.firstChild.nodeName == "product") {
var rootNode:XMLNode = productSlideshow.firstChild;

imageDisplayer = productHolder.createEmptyMovieClip("thumbsDisplayer_mc", productHolder.getNextHighestDepth());
paginationDisplayer = paginationHolder.createEmptyMovieClip("paginationDisplayer_mc", paginationHolder.getNextHighestDepth());

bannerHolder.onRelease = function() {
getURL("/lomoembassymanila/");
}
bannerHolder.loader_mc.loadMovie("/lomoembassymanila/img/elements/banner1.jpg");

currentPage = rootNode.attributes.page;
howManyPages = rootNode.attributes.total;
howManyImages = rootNode.childNodes.length;

for (i=0; i<rootNode.childNodes.length; i++) {
if (rootNode.childNodes[i].nodeName == "item") {
currentProduct = rootNode.childNodes[i];
productID.push(currentProduct.attributes.id);
productImg.push(currentProduct.attributes.img);
productUrl.push(currentProduct.attributes.url);
productName.push(currentProduct.attributes.name);
productPrice.push(currentProduct.attributes.price);
}
}

loadThumbnail();
loadPagination(howManyPages);
}
}

function loadThumbnail() {
currentImage = imageDisplayer.attachMovie("product holder", "thumbnail"+(tracker+1), imageDisplayer.getNextHighestDepth());
target = currentImage.loader_mc;

currentImage._x = (tracker%4)*189;
if(tracker < 4)
currentImage._y = 0;
else
currentImage._y = 150;

currentImage.nametxt.html = true;
currentImage.nametxt.htmlText = productName[tracker] + " <font color='#e5e5e5'>P" + productPrice[tracker] + "</font>";
imgPath = productImg[tracker];
target.loadMovie(productImg[tracker],1);
loader.loadClip(imgPath, target);

currentImage.onRelease = function() {
getURL("/lomoembassymanila/products/" + _root.prodtype + "/" + productUrl[this._name.substr(9)-1]);
}
}

function loadPagination(numberOfPages:Number) {
for (i=0; i<numberOfPages; i++) {
currentPagination = paginationDisplayer.attachMovie("pagination holder", "page"+(i+1), paginationDisplayer.getNextHighestDepth());
currentPagination._x = i*25;
currentPagination._y = 0;
currentPagination.pagetxt.text = i+1;

currentPagination.onRelease = function() {
removeMovieClip(imageDisplayer);
productSlideshow.load("http://www.teammanilalifestyle.com/lomoembassymanila/xml/" + _root.prodtype + this._name.substr(4) +".xml");
}
}
}
I would really appreciate it if anybody could shed some light on why this is happening. thanks!

View Replies !    View Related
Problems Loading/Sizing JPG With Firefox Or Safari
I have recently completed a project where I load jpg dynamically with the loadmovie command. I have a problem when i resize. Under IE it works fine, but on Firefox or Safari sometime the images do not show. I thought I had worked around it by putting a preloader in to ensure the images had loaded but still if I resize the images sometimes they do not appear, if I click the button a second time they appear fine. I am confused!!!!@^^$£""###

Anyone got any ideas or similar problem I would like a response I have been scouring the bulletin boards for hours. - See Below for example

Matt

View Replies !    View Related
Firefox & Safari Don't Play My Flash
The title of this post says it all. I have a flash embedded in an html that will play on IE but on firefox & safari there is a white square in its place and it takes minutes to load...not a very large file either, less than half a MB.

ANy input would be greatly appreciated.

View Replies !    View Related
Flash Links Don't Work In Mac Safari Or Firefox
I just finished a new site, http://www.NewYorkMultimedia.com. I made all the links in the header in Flash, and, owning a PC, tested the site in IE, Firefox, Sarfari & Mozilla, in all of which the links work fine. Then today I found out that the links don't work in Sarfari or Firefox on the Mac, although they do work in IE on the Mac. Is anyone familier with this problem and how to correct it?

Here is an example of the actionscript used on the first of the link buttons in the Flash header:

on (release) {
getURL("http://www.newyorkmultimedia.com/video");
}


Thank you very much to anyone who can help me.

View Replies !    View Related
Flash Loads Twice In IE Fine In Firefox/ Safari
I have a flash movie set up to call a selection of Jpgs from an xml file. Everything works fine locally but when deployed to the server the flash loads the movie and then quickly reloads the movie and starts again. This is most noticable in IE6 but it has happened in FF as well. Is anyone aware of an issue that would cause this. Hopefully there is a fix I can set up.

I am attacing a selection of html code as well since I believe the issue may lay in that.
Thanks for any help!







Attach Code

<param value="submittedfiles/c-series/C80Flash/scrolling_gallery_image loading_v5.swf" name="movie"><param value="xmlPath=submittedfiles/c-series/C80Flash/images.xml&imagePath=submittedfiles/c-series/C80Flash/images/" name="FlashVars"><param value="high" name="quality"><param value="#ffffff" name="bgcolor"><embed name="submittedfiles/c-series/C80Flash/scrolling_gallery_image loading_v5" pluginspage="http://www.macromedia.com/go/getflashplayer" src="submittedfiles/c-series/C80Flash/scrolling_gallery_image%20loading_v5.swf" type="application/x-shockwave-flash" flashvars="xmlPath=submittedfiles/c-series/C80Flash/images.xml&imagePath=submittedfiles/c-series/C80Flash/images/" quality="high" bgcolor="#ffffff" allowscriptaccess="sameDomain" align="middle" height="284" width="752">

View Replies !    View Related
Flash Player Crashes On Mac 10.4.10 (safari And Firefox)
I am having this problem for a couple of days now but yet able to find an answer for it. So this is what I have:


Intel Mac 10.4.10
Flex Builder 2 with charting
Debug Flash player 9.0 r47
Safari 3.0.3
Firefox 2.0.0.6


For both browsers, when I visit some flash/flex websites, the browsers just become unresponsive (rainbow umbrella). However, there are some flash sites that I can visit without any problem, such as:

http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html
http://examples.adobe.com/flex2/inproduct/sdk/hybridstore/hybridstore.html


I did tried uninstall my flash player and reinstalled with an older version (9.0 r45) but that didn't help. The only thing that I could think of that I did before the problem started to happen was an Adium update. But I doubt it has anything to do with the problem, as I have already uninstalled Adium.

Can anyone give me some idea?

Thanks.

View Replies !    View Related
Flash Site Does Not Work In Safari Or Firefox
Hello. I did a quick search for this and didn't find an answer. Sorry if it is a stupid question or has been answered before.

I created a site of couple years ago in Flash. Here it is: www.peetfetsch.com

I hadn't looked at it for a while. I found out recently that it doesn't work in Safari or Firefox. The site is a portfolio site for my graphic design work. I have simply created a long jpeg and by clicking the bottom titles the image scrolls to the appropriate section of the jpeg.

What is happening, though, is that there is only a red block where the projects should be.

What gives? Is there any way around this?

I am using actionscript function to scroll the clip_mc back and forth. Would this have anything to do with it?
Does it have something to do with the types of images I am using? JPEGs, etc?
Is there a way to save the .swf that would help?
I'm frustrated.

BTW, my knowledge is enough to be dangerous. In other words, I don't really know what I'm doing.

If anyone has any suggestions, I'd love to hear 'em.

Thanks y'all.

View Replies !    View Related
Flash 8 Plays In Firefox, Opera And Safari, But Not IE
For an extranet project, we have a few streaming videos which use FLVPlayback to call the video within the .swf file.

This works fine in FireFox, Opera and Firefox, however IE likes to "hang" and after 5 minutes the status bar shows it is still "loading." We've tried this on multiple machines with Flash Player 8 and 9, still no result.

What makes it even more interesting is that I can't access the file directly through IE: I get an IE warning which says, "IE cannot download file.swf from server. IE was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." Which completely dumbfounds me.

We're on a secure sever (could it be a certificate issue?). Running Apache and Tomcat and I've tried the full path, (https://server/path/to/file.swf) and just the path (/path/to/file.swf) and just (file.swf) since the HTML page and swf are in the same directory. I've written this with Javascript, with HTML, and still nothing works. There are no FlashVars, nothing fancy with the <object> / <embed> code just your basic, simple flash movie call.

Am I missing something or is this just IE being its normal douche of a self? I'm not looking forward to IE7 and Vista.

View Replies !    View Related
Flash 8 Popup Window Not Working In Safari And Firefox
Hi, it just seems I can't make this work.
I wanted to create a simple popup window in Flash 8, added the script code to the page and used getURL("function in the script('page')") but it didn't work.
I also tried fscommand even if it's deprecated for Mac browsers.
I downloaded a couple of working .flas and (when I published the swf in Flash 8) didn't work either.

Anyways my code so far is:

Flash:


Code:
btn.onRelease = function () {
getURL("javascript:hey('danilo.htm')");
}
HTML:


Code:
<script language="JavaScript">
function hey(page) {
window.open(page)
}
</script>
Flash parameters:

Code:
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="popup.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="popup.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="popup" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Some help needed...please!

View Replies !    View Related
Flash Video Plays In IE, But Not Safari, FireFox Or Opera.
Message Preview
Hi I really hope someone can help on this... been tearing my hair out for months!!

I've made a series of trailers available on my site (www.WorldCinemaOnline.com), and encoded them using flash video.

The issue is that i'm having problems getting these trailers to work in any other browser apart from Internet Explorer... A typical example of where the problem can be found is at: http://www.worldcinemaonline.com/fil...-Le-Monde.html

In Internet Explorer, when you press 'play' the video player fades in, begins buffering, and starts to play back as expected.

In every other browser I have tried, however, (Safari, Opera & Firefox) the video player fades in, looks like it's about to buffer - and then nothing happens.

Am I missing something really obvious here that causes the player, or my code to be incompatible with other browsers?

If anyone can help it'd be very much appreciated & there's a good few free films in there if someone manages to come up with the answer. )

Thanks!
Pierre

View Replies !    View Related
Problem With A Flash Menu In FireFox/Safari Browser
Hello Everyone I new to the forum, I'm Tim From Australia

I'm looking for some help with a flash menu i have create for my web site it works 100% in microsoft explorer but in fire fox or safari i have a problem. The menu is set to transparent as their are drop down menus from main nav bar, in fire fox you can see the text just below the menu bar but cannot touch any links but in explorer you can no problems.

This the code:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="990" height="490" style="position: absolute; top: 70px; left: 0px; z-index:1;" >
<param name="movie" value="/include/au/khecomau.swf" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent" />
<embed src="/include/au/khecomau.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="990" height="490" allowScriptAccess="always" wmode="transparent"></embed></object>


the page in question www.khe.com.au if you try explorer you can click on any of the links ie pictures below the nav bar but in firefox you cannot, you can further down the page once you have passed the longest drop down menu point.

I am really stuck with this problem, hoping someone can assist with this issue.

i hope i have posted this in the correct place also, sorry if not.

Thanks in advance

Regards
Tim

View Replies !    View Related
Expandable Flash Banner Issue In Firefox And Safari, Perfect In IE
I put together a little expanding banner, on roll over expand, on roll out contract, and it works great in IE 6 & 7, but in Firefox and Safari, the flash content is fully expanded and it wont let you use the html content below it, since its on top, but with this same code below, it works like a charm in IE.

Any ideas on how to make it work also with Firefox and IE ?

My AS2 Code:

ActionScript Code:
Stage.scaleMode = "noScale";
Stage.align = "TL";

import com.mosesSupposes.fuse.*;
ZigoEngine.register(Fuse,PennerEasing);

function moveMask():Void{
    getURL("javascript:expand('flashid');");
    var f:Fuse = new Fuse();
    f.push({target:masker, width:450, easing:"easeOutBounce"});
    f.start();
}

function outMask():Void{
    var f:Fuse = new Fuse();
    f.push({target:masker, width:190, easing:"easeOutBounce"});
    f.start();
    if(masker.width == 190){
        getURL("javascript:collapse('flashid');");
    }
}

masker.onRollOver = moveMask;

masker.onRollOut = masker.onReleaseOutside = outMask;

My Javascript code:

Code:
function expand(divid){
document.getElementById(divid).style.clip = "rect(0px 450px 300px 0px)";
}

function collapse(divid){
document.getElementById(divid).style.clip = "rect(0px 190px 300px 0px)";
}


function makeBanner(){
document.write('<object data="publicidad/banner.swf" width="100%" height="300" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="publicidad/banner.swf" />');
document.write('<param name="quality" value="high" />
');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="publicidad/banner.swf" quality="high" width="100%" height="300" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
');
document.write('</object>');
}
My HTML Code:

Code:
<div style="visibility: visible; position: relative; width: 190px; height: 300px; z-index: 12;">
<div id="flashid" style="width: 450px; height: 300px; z-index: 11; position: absolute; overflow: hidden;">
<script type="text/javascript">makeBanner();</script>
</div>
</div>
Hopefully some one can point what I've done wrong to make it work properly in FF and Safari.

Any help greatly appreciated. Thanks!

Allen

View Replies !    View Related
Images Not Always Loading In Mozilla/FireFox
Hi there!

My first time on the forum, hope you can help me out, so maby i'll stick around for a while

I'm working on this website that has a "collecties"-page. This page contains a list of collections. When the user clicks on a collection, there are 4 thumbnails shown for the selected collection. When you click on one of the thumbnails, the enlarged image shows up.
In IE, everything works fantastic, but when viewed in Mozilla, the images arent always loaded ... So sometimes you have to click 3 or 4 times in order to watch the images appear, and after that, it's possible they dissappear again when you click again

Needless to say this is not what I'm looking for. Are there any known problems with Mozilla ~ Flash which may be the reason for this problem?

The images are loaded externally, and the script doesn't contain any errors according to Flash ...
Here's the link: http://www.gvgb.be/commatest/main.html
(check the collecties-section to look at what I'm talking about)

View Replies !    View Related
[F8] Firefox Problem Loading External Images?
I am having trouble loading images that are called in from a text file but this works fine in IE I am not sure what is going on. But the text from the text file is loaded in so it is loading the text file ok. This is how it is called

Frame 1
tarea = new LoadVars();
tarea.onLoad = function(success) {
if (success) {
}else{
}
};
tarea.load("chapterfiles/filecontrol.txt");

Frame 4

bgchapterimg.bgimg.loadMovie(tarea.bgimg)
or in a movieclip
loadMovie(_root.tarea.mainimg1,"emptymc")

so neither works - and in the text file like this

&bgimg=chapterfiles/bg.jpg&

And like I said everything works fine in IE anybody have any ideas whats going on.

Thanks,
Randy

View Replies !    View Related
Firefox Problem Loading External Images?
I am having trouble loading images that are called in from a text file but this works fine in IE I am not sure what is going on. But the text from the text file is loaded in so it is loading the text file ok. This is how it is called

Frame 1
tarea = new LoadVars();
tarea.onLoad = function(success) {
if (success) {
}else{
}
};
tarea.load("chapterfiles/filecontrol.txt");

Frame 4

bgchapterimg.bgimg.loadMovie(tarea.bgimg)
or in a movieclip
loadMovie(_root.tarea.mainimg1,"emptymc")

so neither works - and in the text file like this

&bgimg=chapterfiles/bg.jpg&

And like I said everything works fine in IE anybody have any ideas whats going on.

Thanks,
Randy

View Replies !    View Related
Firefox/safari Bug?
I'm developing a GUI for a web community using flash, and a lot of it is based on classes. When I create a new window on the fly i just type stuff like

mywindow = new Win(blah1, blah2, blah3, blah3);

and it works perfectly when I run the application from flash MX, IExplorer or just doubleclick the swf-file. But when I run it using Firefox or Safari, strange stuff happens. Movieclips that should be created in certain windows will end up in some other window, and some windows doesn't get created at all.

Has anyone else experienced this kind of stuff? Any ideas of whats wrong?

View Replies !    View Related
Bug With Firefox And Safari?
Hey,
I'm creating a site for a buddy of mine who does photography. The picture on the "imageStage" is aligning the top left (0,0) coordinate to the center of the stage instead of the center of the image to the center of the "imageStage". This only occurs in Firefox and Safari, IE and Chrome have no issue. Below is the snippet of code relevant to this issue, I believe and a URL to the .flv

Code:

function imgLoaded(e:Event):void {
   photoStage.percent.text = "";
   photoStage.addChild(fullSizeImg);
   if(e.target.content.width > 700 || e.target.content.height > 525){
      if((e.target.content.width * .75) >= e.target.content.height) {
         var scaleRatioH = e.target.content.height / e.target.content.width;
         e.target.content.height -= (e.target.content.width - 700) * scaleRatioH;
         e.target.content.width = 700;
      }
      else {
         var scaleRatioW = e.target.content.width / e.target.content.height;
         e.target.content.width -= (e.target.content.height - 525) * scaleRatioW;
         e.target.content.height = 525;
      }
   }
   fullSizeImg.x = - (fullSizeImg.content.width / 2);
    fullSizeImg.y = - (fullSizeImg.content.height / 2);

}

http://ftscreations.com/MaDe/main.html

Thanks,
Josh

View Replies !    View Related
Works OK In IE, But Not In Safari Or FireFox
I've searched the forums and can't find an answer...

My project below works fine in IE, but not in Safari or FireFox. This project uses loadmovienum to display external JPGs. The problem is that Safari and FireFox don't seem to load the external JPGs.

Project location (view it in IE to see it, and please try it in Safari or Firefox):
http://www.sellfolio.com/samples/sellfolio_sample1.html

Can anyone shed some advice on why externally-loaded JPGs work in IE, but not in Safari or FireFox? THANK YOU!!!

View Replies !    View Related
Preloading With For Firefox/safari
Hi,

I'm having trouble getting my preloading action to work with Firefox and Safari. IE is fine, works a treat. I'm not a super coding monster but my code is below.

you can see it in action here: www.factorydesign.co.uk/webmk2/

If you test it in IE it works every time, but in Firefox and Safari it;s very temperamental. The site isn't finished yet, but I really need this bit to work.

// this is the load bit
function loadContent() {
_level0.smlSqs.removeMovieClip();
_level0.imagePlace.loadMovie(currentTheme+".swf");
_level0.preload();
}
//I separated out the prelaoder thing to try and force it to work
function preload() {
_level0.createEmptyMovieClip("counter", 300);
_level0.counter.onEnterFrame = function() {
var totalBytes:Number = _root.imagePlace.getBytesTotal()/1024;
var totalLoaded:Number = _root.imagePlace.getBytesLoaded()/1024;
var pcntLoaded:Number = Math.round((totalLoaded/totalBytes)*100);
_root[currentTheme+"butt"].butText = ("loading "+pcntLoaded+"%");
_root[currentTheme+"butt"].barGraph._xscale = pcntLoaded;
if (totalLoaded === totalBytes) {
_root.totalFrames = _root.imagePlace._totalframes;
_root.createSmSq();
_root.scrollArrow();
_root[currentTheme+"butt"].butText = _root.currentTheme;
this.removeMovieClip();
}
};
}
thanks in advance!

Lee

View Replies !    View Related
Preloader Vs. Firefox And Safari
Hi there,

I am working with Flash MX 2004 and Action Script 2...

I am fairly new to Action Script, but understand most of the basics. I've been given some help on how to do a multi-level preloader, but I'm running into problems with it on Safari (not 100% of the time, but about 50% of the testers have had trouble viewing it) and Firefox (PC is a no go, some people have been able to see it on the Mac). It's just so weird, because nothing 'seems' to be wrong with the code. By all rights it should work - and does on IE 100% of the time, which is weird, because this was made with a Mac!

So here's the specifics: I have 3 SWF files (call them movie1, movie2, movie3) to load into level 10,9,8 and then the preloader itself is being loaded into level 1. I have a _root that is loading the preloader and setting up the variables for me. When the preloader starts, it loads an empty dummy file to kickstart it (apparently this helps with a glitch that can happen sometimes, where the loader won't start on it's own).

This is in the root file:

code: var firstMovieCheck:Boolean = false;
var secondMovieCheck:Boolean = false;
var thirdMovieCheck:Boolean = false;
var radioMovieCheck:Boolean = false;
loadMovieNum("preloader.swf", 1);
stop();

This is on frame one of the preloader:

code: loadMovieNum("dummy.swf",15)

if (_level0.firstMovieCheck != true) {
loadMovieNum("movie1.swf", 10);
_level0.firstMovieCheck = true;
}
if (_level0.secondMovieCheck != true) {
loadMovieNum("movie2.swf", 9);
_level0.secondMovieCheck = true;
}
if (_level0.thirdMovieCheck != true) {
loadMovieNum("movie3.swf", 8);
_level0.thirdMovieCheck = true;
}

This loads the movies, and the rest is to see if it's loaded already or not. If it's true it'll skip the loader (that code isn't included here).

This is on the second frame of the loader, inside a movieclip with the thermobar animation:

code: var pctLoaded1:Number;
var pctLoaded2:Number;
var pctLoaded3:Number;
var pctTotal:Number;
var percentage_dn:String;

firstLoader = function() {
pctLoaded1 = _level10.getBytesLoaded()/_level10.getBytesTotal()*100;
pctLoaded2 = _level9.getBytesLoaded()/_level9.getBytesTotal()*100;
pctLoaded3 = _level8.getBytesLoaded()/_level8.getBytesTotal()*100;

pctTotal = Math.floor((pctLoaded1+pctLoaded2+pctLoaded3)/3);

trace("pct"+pctTotal);

if (pctTotal>=100) {
trace("LOADED");
Gauge_mc.gotoAndStop(101);
_level10.gotoAndStop(2);
clearInterval(firstLoaderRun);
}
else {
trace("LOADING");
Gauge_mc.gotoAndStop(pctTotal);
percentage_dn = pctTotal.toString();
updateAfterEvent();
}
};
firstLoaderRun = setInterval(firstLoader,5);
stop();


Here it is calculating the percentage of all three items. It then checks to see if it is fully loaded or not - if isn't, it takes the frame of the loader bar to the corresponding frame (i.e. if it's 60 % loaded, it goes to frame 60). All of this is being run with a setInterval statement, so it gets rechecked often (in the milliseconds).

So here's the problem: I get 1 of 3 results with Firefox and Safari.
(1) The loader pops up and blips off the screen in less than a second and then proceeds to load the site, without ever seeing the percentage rise.
(2) The loader pops up and reads 0% and the bar is at 99% full, but nothing ever loads
(3) I stripped it down to just one movie being loaded and Safari loaded it once, then from there on in, even after cache emptying, it would do the same thing as point (2)!

Keep in mind, it works perfectly in Internet Explorer...

I'm wondering if anyone sees a problem within this code or not. I've rechecked and rechecked, but no dice. Or does anyone know of issues that might be known with Flash and Firefox. I have to say, I've never had one until now... but this kind of loader is new to me...

Any insight would be appreciated!

View Replies !    View Related
PC .swf Wont Run On Safari Or Firefox
Hi there,
I have created a flash site in CS3 from a Pc, but it cant be viewed
on Safari or Firefox, any one help with this one please?

thanks,

Spod

View Replies !    View Related
Safari And Firefox Grief
HI,

My swf turns to crap when I view it in Firefox and Safari. It works great in IE7.

Basically, the preloader gets stuck on the page even after the swf has moved to frame 3, where all the action is. On top of that, a webservice I hit when the swf has reached frame 3 gets hammered continually while the swf is open in FF or Saf, as if the swf is just looping.

http://www.mattbodman.info

If you think you can help me, I can give you more details/fla etc.

Thanks in advance,

Dex.

View Replies !    View Related
Works In Safari Not In Firefox
I have a flash header that on the first frame has a random statement that tells flash to go to a random frame. It works fine in Safari, but when I look at it in Firefox, it always starts on the same frame everytime. And it's always the 4th frame.

Here's the random script I'm using

stop();
gotoAndPlay(2+random(12));

View Replies !    View Related
Firefox And Safari Won't Play Flv--new Guy Here
Here are the details. I am using blackboard which is an educational platform to create online classes. It supports flash. I made a flash movie using flash 8 and exported the movie. I very simply dropped it into the blackboard page. It shows up on IE but not on firefox or safari. Please help because I need my students to see this.
Thanks
Rob Furman

View Replies !    View Related
Swf Views In Firefox, Not Safari
After placing my swf file into dreamweaver site, I can view in Firefox but it doesn't load in Safari. Any suggestions?
thank you.

View Replies !    View Related
Mac (safari And Firefox) Problems
The photo gallery on my website loads fine on a pc but not so well on a mac. The pictures will load initially, but when I try to load them a second time... nothing seems to happen. I have no idea what the problem could be. Any suggestions? Here is the code for the gallery and the link to the website.

Website

Quote: stop();
// http://laco.wz.cz/tween/?page=download
#include "lmc_tween.as"
//tweentype_border: (see again laco's site for other tweentypes)
tweentype_resize = "easeOutBounce";
//tweentype for pic fade out:
tweentype_fadeOut = "easeInSine";
//tweentype used for pic fade in:
tweentype_fadeIn = "easeInSine";
//change the speed of the resizing border and the picfades(1 = one second)
speed_resize = 0.9;
speed_fadeOut = 0.4;
speed_fadeIn = 0.4;
//creating the border:
this.createEmptyMovieClip('border', 3);
with (this.border) {
lineStyle(0.1, 0x000000);
_x = 200;
_y = 350;
beginFill();
moveTo(-100, -100);
lineTo(100, -100);
lineTo(100, 100);
lineTo(-100, 100);
lineTo(-100, -100);
endFill();
}
containerMC._alpha = 0;
picinfo._alpha = 0;
containerMC.swapDepths(2);
var pArray = new Array();
var tArray = new Array();
MovieClip.prototype.loadPic = function(pic) {
cur = pic;
this.loadMovie(pArray[pic]);
this._parent.onEnterFrame = function() {
var t = containerMC.getBytesTotal(), l = containerMC.getBytesLoaded();
bar._visible = 1;
per = Math.round((l/t)*100);
if (t == l && containerMC._width>0 && containerMC._height>0) {
var w = containerMC._width, h = containerMC._height;
resizeMe(w, h);
bar._visible = 0;
picinfo.info.text = tArray[pic];
delete this.onEnterFrame;
} else {
bar._width = per;
picinfo.info.text = per+" % loaded";
}
};
};
function resizeMe(w, h) {
//border tween:
border.tween(["_width", "_height"], [w, h], speed_resize, tweentype_resize);
//pic and picinfo fade in:
containerMC.alphaTo(100, speed_fadeIn, tweentype_fadeIn, speed_resize);
picinfo.alphaTo(100, speed_fadeIn, tweentype_fadeIn, speed_resize);
//pic position:
containerMC._x = border._x-containerMC._width/2;
containerMC._y = border._y-containerMC._height/2;
// make navigation, previousbutton,nextbuttonmove and picinfo tween along with border:
nav.tween(["_x", "_y"], [border._x-containerMC._width/2, containerMC._y+containerMC._height+10], speed_resize, tweentype_resize);
prevb.tween(["_x", "_y"], [border._x-containerMC._width/2, containerMC._y-5], speed_resize, tweentype_resize);
nextb.tween(["_x", "_y"], [border._x+containerMC._width/2, containerMC._y-5], speed_resize, tweentype_resize);
exitb_mc.tween(["_x", "_y"], [border._x-containerMC._width/45, containerMC._y-10], speed_resize, tweentype_resize);
picinfo.tween(["_x", "_y"], [border._x-containerMC._width/100, containerMC._y-20], speed_resize, tweentype_resize);
}
//loading pics and text:
var gallery_xml = new XML();
gallery_xml.ignoreWhite = true;
gallery_xml.onLoad = function(success) {
if (success) {
var gallery = this.firstChild;
gallery_txt.text = gallery.attributes.info;
for (var i = 0; i<gallery.childNodes.length; i++) {
tArray.push(gallery.childNodes[i].attributes.title);
pArray.push(gallery.childNodes[i].attributes.source);
}
containerMC.loadPic(0);
} else {
title_txt.text = "Error!";
}
};
gallery_xml.load("gallery.xml");
//fade out pic and picinfo:
function fadeOut(pic) {
containerMC.alphaTo(0, speed_fadeOut, tweentype_fadeOut, 0, {scope:containerMC, func:containerMC.loadPic, args:[pic]});
picinfo.alphaTo(0, speed_fadeOut, tweentype_fadeOut);
}
//previous and next buttons:
prevb.onRelease = function() {
cur>0 ? cur-- : cur=pArray.length-1;
fadeOut(cur);
};
nextb.onRelease = function() {
cur<pArray.length-1 ? cur++ : cur=0;
fadeOut(cur);
};
nav.button1_btn.onRollOver = function() {
this._alpha = 25;
};
nav.button2_btn.onRollOver = function() {
this._alpha = 25;
};
nav.button3_btn.onRollOver = function() {
this._alpha = 25;
};
nav.button4_btn.onRollOver = function() {
this._alpha = 25;
};
nav.button1_btn.onRollOut = function() {
this._alpha = 100;
};
nav.button2_btn.onRollOut = function() {
this._alpha = 100;
};
nav.button3_btn.onRollOut = function() {
this._alpha = 100;
};
nav.button4_btn.onRollOut = function() {
this._alpha = 100;
};
_root.galExpan_mc.viewer_mc.exitb_mc.onRelease = function() {
_root.galExpan_mc.gotoAndPlay(12);
_root.navBar_mc.myButton2_btn._alpha = 100;
_root.navBar_mc.myButton3_btn.enabled = true;
_root.navBar_mc.myButton2_btn.enabled = true;
_root.navBar_mc.myButton4_btn.enabled = true;
_root.navBar_mc.myButton_btn.enabled = true;
};

Each thumbnail has this code (the zero changed as I added more thumbnails)

Quote: on (release) {
if (_parent.cur == 0) {
trace("same pic!");
} else {
this._parent.fadeOut(0);
}
}
on (rollOver) {
overtxt.text = this._parent.tArray[0];
}
on (rollOut) {
overtxt.text = "";
}

View Replies !    View Related
Transparent SWF Will Not Show Right In Firefox, Safari, Or IE On A Mac?
Here is a site I am in the middle of finalizing, hopefully, if you view the site in Internet Explorer 6+ it will look exactly the way it is supose to.

http://www.thebonafideproductioncompany.com/chevra/

If you viewed the page in IE for a pc I have the swf on a DIV layer at zindex of 1, its set to v-align:center so it centers at the top of the page. Below this is html, a table with three columns and inside the middle column is text (which will load from a db or jah.js") and far right column will have image link banner ads. The flash is the nagivation for the site, at the bottom will be html links (where it says Copyright).

If you view the same page in Firefox it will put the swf in a white box, to the right, with no transparency... Same with safari. I figured this has something to do with the layers displaying in these browsers, but I don't know what the magic words are to make it so.

I've tried many variations of css.
http://www.thebonafideproductioncomp...vra/styles.css

Like I said, the site works how I want it to in IE, but I want to also work correctly in firefox and safari so the site will be viewable on the three most popular browsers. Does anyone know how to make this work on the other two browsers?

View Replies !    View Related
Missing Page In Firefox/Safari
I have been troubleshooting this flash page for weeks. I have finished the programming and I can't get why the transition is not working on the last page. The page is www.contemporaryconservation.com. Everything works except the "contact" button which brings up a blank page. BUT it only seems to be missing in Firefox, and not in Safari—what could be wrong? Here is my code:

Does the color coding of the actionscript text have anything to do with the programming? Because everything in this code is blue or green except the final line which, starting after "Number(" is black. HELP!

if (Number(/scOne:_x)<Number(/:destination)) {
speed = (/:destination-/scOne:_x)/10;
setProperty("/scOne", _x, Number(/scOne:_x)+Number(speed));
} else {
speed = (/scOne:_x-/:destination)/10;
setProperty("/scOne", _x, /scOne:_x-speed);
}
setProperty("/scTwo", _x, Number(/scOne:_x)+1000);
setProperty("/scThree", _x, Number(/scTwo:_x)+1000);
setProperty("/scFour", _x, Number(/scThree:_x)+1000);
setProperty("/sc6", _x, Number(/scFour:_x)+1000);
setProperty("/sc7", _x, Number(/sc6:_x)+1000);
setProperty("/sc8", _x, Number(/sc7:_x)+1000);

View Replies !    View Related
File Upload In Firefox/Safari
I have been trying to do file upload in Flash player 9 (AS3) using filereference and PHP server-side code. This works fine in IE, but not in Firefox and Safari. As far a I can ascertain this is a problem that a lot of people have - the problem seems to be that the session id is different to the original session id when the flash player requests a file upload.

We are getting the session id from a javascript function and passing it into the flash app and appending that session id to the filereference url, and then the upload PHP script gets this session id and tries to use it, but to no avail...

I have seen other people post to this forum asking about uploading to https, which has been going on for a long time... is this the same problem or is this a different problem.

Testing machines/browsers done using the filereference upload:

* Win XP:

- Flash player 9.0.115
+ IE 6 - fine
+ IE 7 - fine
+ Firefox 2.0.12 - does not work (receive a fileIO error)

- Flash player 9.0.103
+ Firefox 2.0.12 - does not work (receive a fileIO error)

- Flash player 9.0.45
+ Firefox 2.0.12 - does not work (receive a fileIO error)


* Windows Vista:

- AS ABOVE: WIN XP


* Mac OSX:

- Flash player 9.0.115
+ Firefox 2.0.12 - does not work (receive a fileIO error)
+ Safari 3 - does not work (receive a fileIO error)
+ Safari 2 - does not work (receive a fileIO error)

Please help - this is really frustrating.

View Replies !    View Related
Tweens Works Well In IE And Safari, Not In Firefox
Hi!
I have this animation were the objects got to a diferent place according to its level.
My problem is that everything works perfect on safari, IE and in my mac flashplayer. When i test it in firefox (both pc and mac), or even when i run a projector on pc, I have some bugs in the tweens!!
What can be wrong? Can anyone help me?



This is part of the code corresponding to the roll over:


var container:Sprite = new Sprite();
addChild(container);

container.addChild(square);
container.addChild(polaroid3);
container.addChild(polaroid1);
container.addChild(polaroid7);
container.addChild(polaroid6);
container.addChild(polaroid5);
container.addChild(polaroid4);

//abrir leque

container.addEventListener(MouseEvent.ROLL_OVER, rollovercontainer);
function rollovercontainer(event:MouseEvent):void {
if (container.getChildIndex(polaroid1) == 1) {
var myTween1:Tween = new Tween(polaroid1, "x", Regular.easeOut, 60, 60, 1, true);
container.setChildIndex(polaroid1, 1);
}
if (container.getChildIndex(polaroid1) == 2) {
var myTwee72:Tween = new Tween(polaroid1, "x", Regular.easeOut, 60, 180, 1, true);
container.setChildIndex(polaroid1,2);
}
if (container.getChildIndex(polaroid1) == 3) {
var myTween2:Tween = new Tween(polaroid1, "x", Regular.easeOut, 60, 320, 1, true);
container.setChildIndex(polaroid1, 3);
}
if (container.getChildIndex(polaroid1) == 4) {
var myTween3:Tween = new Tween(polaroid1, "x", Regular.easeOut, 60, 460, 1, true);
container.setChildIndex(polaroid1, 4);
}
if (container.getChildIndex(polaroid1) == 5) {
var myTween4:Tween = new Tween(polaroid1, "x", Regular.easeOut, 60, 595, 1, true);
container.setChildIndex(polaroid1,5);
}
if (container.getChildIndex(polaroid1) == 6) {
var myTween5:Tween = new Tween(polaroid1, "x", Regular.easeOut, 60, 720, 1, true);
container.setChildIndex(polaroid1,6);
}
if (container.getChildIndex(polaroid3) == 1) {
var myTween6:Tween = new Tween(polaroid3, "x", Regular.easeOut, 60, 60, 1, true);
container.setChildIndex(polaroid3,1);
}
if (container.getChildIndex(polaroid3) == 2) {
var myTween7:Tween = new Tween(polaroid3, "x", Regular.easeOut, 60, 180, 1, true);
container.setChildIndex(polaroid3,2)
}
if (container.getChildIndex(polaroid3) == 3) {
var myTween8:Tween = new Tween(polaroid3, "x", Regular.easeOut, 60, 320, 1, true);
container.setChildIndex(polaroid3,3);
}
if (container.getChildIndex(polaroid3) == 4) {
var myTween9:Tween = new Tween(polaroid3, "x", Regular.easeOut, 60, 460, 1, true);
container.setChildIndex(polaroid3,4);
}
if (container.getChildIndex(polaroid3) == 5) {
var myTween10:Tween = new Tween(polaroid3, "x", Regular.easeOut, 60, 595, 1, true);
container.setChildIndex(polaroid3,5);
}
if (container.getChildIndex(polaroid3) == 6) {
var myTween11:Tween = new Tween(polaroid3, "x", Regular.easeOut, 60, 720, 1, true);
container.setChildIndex(polaroid3,6);
}
if (container.getChildIndex(polaroid4) == 1) {
var myTween12:Tween = new Tween(polaroid4, "x", Regular.easeOut, 57, 60, 1, true);
container.setChildIndex(polaroid4, 1);
}
if (container.getChildIndex(polaroid4) == 2) {
var myTween13:Tween = new Tween(polaroid4, "x", Regular.easeOut, 57, 180, 1, true);
container.setChildIndex(polaroid4,2);
}
if (container.getChildIndex(polaroid4) == 3) {
var myTween14:Tween = new Tween(polaroid4, "x", Regular.easeOut, 57, 320, 1, true);
container.setChildIndex(polaroid4 ,3);
}
if (container.getChildIndex(polaroid4) == 4) {
var myTween15:Tween = new Tween(polaroid4, "x", Regular.easeOut, 57, 460, 1, true);
container.setChildIndex(polaroid4, 4);
}
if (container.getChildIndex(polaroid4) == 5) {
var myTween16:Tween = new Tween(polaroid4, "x", Regular.easeOut, 60, 595, 1, true);
container.setChildIndex(polaroid4, 5);
}
if (container.getChildIndex(polaroid4) == 6) {
var myTween17:Tween = new Tween(polaroid4, "x", Regular.easeOut, 60, 720, 1, true);
container.setChildIndex(polaroid4,6);
}
if (container.getChildIndex(polaroid5) == 1) {
var myTween18:Tween = new Tween(polaroid5, "x", Regular.easeOut, 60, 60, 1, true);
container.setChildIndex(polaroid5,1);
}
if (container.getChildIndex(polaroid5) == 2) {
var myTween19:Tween = new Tween(polaroid5, "x", Regular.easeOut, 60, 180, 1, true);
container.setChildIndex(polaroid5,2);
}
if (container.getChildIndex(polaroid5) == 3) {
var myTween20:Tween = new Tween(polaroid5, "x", Regular.easeOut, 60, 320, 1, true);
container.setChildIndex(polaroid5,3);
}
if (container.getChildIndex(polaroid5) == 4) {
var myTween21:Tween = new Tween(polaroid5, "x", Regular.easeOut, 60, 460, 1, true);
container.setChildIndex(polaroid5,4);
}
if (container.getChildIndex(polaroid5) == 5) {
var myTween22:Tween = new Tween(polaroid5, "x", Regular.easeOut, 60, 595, 1, true);
container.setChildIndex(polaroid5,5);
}
if (container.getChildIndex(polaroid5) == 6) {
var myTween23:Tween = new Tween(polaroid5, "x", Regular.easeOut, 60, 720, 1, true);
container.setChildIndex(polaroid5,6);
}
if (container.getChildIndex(polaroid6) == 1) {
var myTween24:Tween = new Tween(polaroid6, "x", Regular.easeOut, 63, 60, 1, true);
container.setChildIndex(polaroid6,1);
}
if (container.getChildIndex(polaroid6) == 2) {
var myTween25:Tween = new Tween(polaroid6, "x", Regular.easeOut, 63, 180, 1, true);
container.setChildIndex(polaroid6, 2);
}
if (container.getChildIndex(polaroid6) == 3) {
var myTween26:Tween = new Tween(polaroid6, "x", Regular.easeOut, 63, 320, 1, true);
container.setChildIndex(polaroid6,3);
}
if (container.getChildIndex(polaroid6) == 4) {
var myTween27:Tween = new Tween(polaroid6, "x", Regular.easeOut, 63, 460, 1, true);
container.setChildIndex(polaroid6, 4);
}
if (container.getChildIndex(polaroid6) == 5) {
var myTween28:Tween = new Tween(polaroid6, "x", Regular.easeOut, 63, 595, 1, true);
container.setChildIndex(polaroid6,5);
}
if (container.getChildIndex(polaroid6) == 6) {
var myTween29:Tween = new Tween(polaroid6, "x", Regular.easeOut, 63, 720, 1, true);
container.setChildIndex(polaroid6, 6);
}
if (container.getChildIndex(polaroid7) == 1) {
var myTween30:Tween = new Tween(polaroid7, "x", Regular.easeOut, 55, 60, 1, true);
container.setChildIndex(polaroid7,1);
}
if (container.getChildIndex(polaroid7) == 2) {
var myTween31:Tween = new Tween(polaroid7, "x", Regular.easeOut, 55, 180, 1, true);
container.setChildIndex(polaroid7,2);
}
if (container.getChildIndex(polaroid7) == 3) {
var myTween32:Tween = new Tween(polaroid7, "x", Regular.easeOut, 55, 320, 1, true);
container.setChildIndex(polaroid7,3);
}
if (container.getChildIndex(polaroid7) == 4) {
var myTween33:Tween = new Tween(polaroid7, "x", Regular.easeOut, 55, 460, 1, true);
container.setChildIndex(polaroid7,4);
}
if (container.getChildIndex(polaroid7) == 5) {
var myTween34:Tween = new Tween(polaroid7, "x", Regular.easeOut, 55, 595, 1, true);
container.setChildIndex(polaroid7, 5);
}
if (container.getChildIndex(polaroid7) ==6) {
var myTween35:Tween = new Tween(polaroid7, "x", Regular.easeOut, 55, 720, 1, true);
container.setChildIndex(polaroid7,6);
}
container.setChildIndex(square,0);
square.visible = true;


}

View Replies !    View Related
InputText Focus - Safari & Firefox Only
http://starcam.com/cam

On this page there is a login form at the bottom left.

1) Type some text in the username field.

2) Drag-Select this text (from right to left) so that it is highlighted - but DO NOT release the mouse over the swf - keep dragging off of the swf (to the left of the text field).

3) Now move your mouse across the swf and back out to the left again...and you will see that the swf thinks you have never released the mouse.

It seems obvious that a swf running in Firefox or Safari is not detecting "onRelease" events outside of the swf (while IE Does this just fine).

My only thought is to capture onRelease events from js and pass into the swf...but jeez - what a pain for something so simple....for something that should just work.

Has anyone else come across this maddening behavior?
Any thoughts on a resolution?

View Replies !    View Related
Caching Problems On Safari And Firefox But Not IE
We've just outsourced our online calculators, linking to SWF files on the developer's web site however these files only really work on PC/MAC IE. On Mac Safari or Mac/PC FireFox they load the first time but to get them to load again requires emptying the cache of the browser. Can anyone explain what might be going on here as the developer can't.

http://www.apimagazine.com.au/calcul...ing_power.html

Thanks!

View Replies !    View Related
FireFox, Safari And Internet Explorer
Hi to everyone,

I have hust finished my site but only Firefox will display it. Internet Explorer just gives me a blak screen, as does Safari.

Anyone now the reason why? Im guessing this is a common question.

Thanks

Karl Hurrell
[url]http://www.radial-design.co.uk[/url]

View Replies !    View Related
Bugs With LoadMovie In Firefox And Safari
Hello everybody
im getin some weird bugs with some dynamic loaded images actionscript, briefly this is how should be work:

i have a simple loadMovie code to load some jpg´s into one clip called "loader" and after loaded i use width and height of loaded image to resize an outline for this image, heres my code

first frame, load the jpg

stop();
// load jpg, all vars (_root.im, _root.cat) are defined correctly before gettin here
loader.loadMovie("images/foto/med/"+_root.cat+"/"+_root.im+".jpg");
// function to get some kind of preload indicator
this.onEnterFrame = function () {
var totalk = this.loader.getBytesTotal()/1024;
var loadedk = this.loader.getBytesLoaded()/1024;
var percent = Math.round((loadedk/totalk)*100);
if (this.loader.getBytesTotal() !== this.loader.getBytesLoaded()) {
percent_text.text = percent + "%";
}
// once its done, it plays and clear function
else {
play();
delete this.onEnterFrame;
}
}

second frame, get size of loaded jpg to resize another movieclip that works as an outline for the image.
vars (_root.bar_w & _root.bar_h) refers to new width and height for use with another function that resize my movieclip based on getting the size of the image previously loaded.

i´ve used this code:
_root.bar_w=_root.main.image.form.loader._width+30
_root.bar_h=_root.main.image.form.loader._height+30

all works fine here, TESTED LOCALLY on IE7 and Firefox2 on PC & MAC
trouble comes when i go online and testing with Firefox2 on PC and IE, Firefox and Safari on MAC. It loads the image ok, but it just doesnt resize my outline movieclip to fit the image dynamically loaded, all seem like variables for the new size get lost somewhere.

any ideas

View Replies !    View Related
Flash "breaks" In Firefox, Not Safari Or IE
Viewing a client's site's sub pages (http://www.prismkites.com/) in Firefox (on both Mac and PC) results in a breaking down of what I'm assuming is HTML, which creates horizontal white bands across the page on either side of the flash element. Testing this site in Safari and IE, the site displayed correctly.

Anyone know why only Firefox would be displaying this incorrectly? Below are links to the site:

http://www.prismkites.com/ - displays correctly
http://www.prismkites.com/stunt_intro.html - produces white bands

Thanks!

* I came into this project after it was already live. Unfortunately, I don't have a lot of technical information to provide about the site.

View Replies !    View Related
Firefox And Safari Won't Load External JPGs
PLEASE HELP ME!!!

BACKGROUND: My SWF loads external JPGs that are located in an "images" subfolder. My SWF loads the external images properly when viewed in IE.

PROBLEM: BUT, the images fail to load when viewed in Firefox and Safari . I ran a test and found that Firefox and Safari are failing to load external images when the images are in a subfolder. The external images WILL, however, load properly if they are in the same folder as the SWF.

PROJECT:
http://mcneillyconsulting.viewwork.c...sellfolio.html

Can anyone indicate what I can do to get Firefox and Safari to load external images that are in a subfolder?

View Replies !    View Related
[F8] Buttons Work OK In Opera, But Not In Safari/Firefox (Mac)
Hi,
I have a Flash site that uses a preloader swf, which references a ''splash-screen' - and these load OK, however the buttons on that 'splash-screen' in either Safari or Firefox (Mac) fail to work - clicking on any of them fails to load the referenced swf - even though all swf's are loose in the same directory on the server - BUT everything works OK in Opera...
Duzz any1 have any general advice as to what may be the problem with these 2 browsers? I understand there are some glitches with Flash 8 Player in Firefox, so I have the Flash 9 player installed instead...
I used Sitegrinder to create a shell for this Flash site - but since the site works OK in Opera, MediaLab have referred me to the forums to find out what I need to do...
I think there may also be some issues in IE for Windows - as one of the buttons on the splash-screen isn't visible, and the rollovers on others are behaving weirdly...
:P
Here's the URL: www.ripegraphicdesign.com.au
Any advice is greatly appreciated...

View Replies !    View Related
Issues Streaming MP3s In OSX Safari & Firefox
Hi,

i'm on OSX 10.4.8 PPC, flashplayer9, latest safari and firefox. I wrote a simple MP3 player from scratch that loads and plays MP3 files via loadSound(). I'm not using the FlashServer thingy. The player basically works, but the devil is in the details and these details drive me mad, and google isnt helping me so far in finding in answer. The player is here:

http://michael-ebert.org/recent.html

click one of the textbuttons on the left to start a track.

Safari Issues:

1) When I start streaming another track while the current track is still being streamed, Safari does comply but issues an error message in the bottom info bar, and lets me know via the "Activity Viewer" that "Plug-in was cancelled". I couldn't find any actionscript that prevents this message from coming up. I thought that writing myMP3.stop() or such before issueing another loadSound() might help, but it doesnt. Is there no way in actionscript to "softly" abort the current stream and not upset Safari? Or is it just a Safari issue, as Firefox doesn't seem to care, or maybe just doesn't display this kindof message.

2) Once a track has been fully downloaded (as acknowledged by myMP3.onLoad()), it seems to reside in the browser cache and therefore does not actually get streamed again. So if I wait for track 1 to be fully downloaded then click track 2, and right back on track 1, obviously the script that displays the progress bar doesnt work anymore: It stays on whatever percentage it was left at from track 2. I guess the reason is that this script relies on checking the getBytesLoaded, which are not updated aynmore as the file is being played from the browser cache. Is that correct? Is there a way in actionscript (or else) to force a re-download instead of playback from the cache? I am aware i might just set flags for every mp3 that has been fully downloaded so far, and make sure that in those cases the progress bar is just set to full by default ... but this won't help me in Firefox, see below.

Firefox issue:

3) The cache issue, similar to Safari but worse. Whereas Safari seems to "forget" the mp3's it had cached previously once the page is reloaded and starts streaming again, Firefox plays back from cache even efter refreshing the page. This means it doesnt even make sense to set flags for what's been downloaded already, as those flags will of course be reset on refreshing the page, whereas the MP3s are still paying back from the cache. And I have no way of knowing about that via actionscript. Or do i?

Another general thing:

4) Is there a rough estimate what the maximum size of an MP3 that will be streamed should be? I keep reading that too big a MP3 can cause trouble, but I don't know why that is or what "too big" is.

phew, so much for now. thanks for your time, any help greatly appreciated.

m.

View Replies !    View Related
Extneral Swfs Won't Load Firefox/Safari
i have a swf that loads external swfs, it worked for over a year, now it's broken, i've tried so many things to solve this with still no luck. in Firefox it loads the main timeline but not the 2nd movie. In Safari it doesn't even load the timeline swf (the activity monitor says forbidden, i can't find any info anywhere on what that means) it still works perfectly in Opera and IE 8/7, these are things i've tried:

i've tried changing relative paths to absoulte paths
i've added to htaccess log file flash/shockwave
re-exported as version 8
changed export settings to local and then to network
added secuity code to allow all
used swfobject and then removed
all files in same folder as index page
= all actions had no effect on the problem
originally created in flash 8, now in CS3 (flash 9) exported as 8 & tried 9 with AS2

it works perfectly in all browser when viewing the page locally. thanks for any ideas, would really appreciate your insight or thoughts, as i've been trying for weeks to figure this one out, russ

View Replies !    View Related
CSS Problem Fine In IE/Safari Horrible In Netscape/Firefox
here's the site: www.brainvise.com/testing
specifically: www.brainvise.com/testing/home.html

It works in IE and Safari, but I can't seem to get it to work in Firefox or Netscape (at least on a mac). On these, it displays a humongous bottom margin of white. I'm thinking it's a css problem, but I've tried a bunch of different combinations. Does anyone have any ideas?

View Replies !    View Related
Question - FLV's Play Fine In IE, But Not Firefox, Safari Or Opera -Why?
Hi I really hope someone can help on this... my flash developer's all but given up and I have no clue how to fix this problem.

I've made a series of trailers available on my site (www.WorldCinemaOnline.com), and encoded them using flash video.

The issue is that i'm having problems getting these trailers to work in any other browser apart from Internet Explorer... A typical example of where the problem can be found is at: http://www.worldcinemaonline.com/fil...-Le-Monde.html

In Internet Explorer, when you press 'play' the video player fades in, begins buffering, and starts to play back as expected.

In every other browser I have tried, however, (Safari, Opera & Firefox) the video player fades in, looks like it's about to buffer - and then nothing happens.

Am I missing something really obvious here that causes the player, or my code to be incompatible with other browsers?

If anyone can help it'd be very much appreciated & there's a good few free films in there if someone manages to come up with the answer. )

Thanks!
Pierre

View Replies !    View Related
FLVPlayback Component Freezing In The Browsers(IE, Safari, Firefox)
Hey all you Angels,

I am in an urgent help!

We have designed a FLV player that uses FLVPlayback component.It has following parts:
It reads an servers.XML file to know:
* the name and location of the FLV video. The FLV video is located on a FCS (Flash Communication Server).
* The name and the location of the skin to be used by FLVPlayback Compnent.
* Name and location of an additonal external caption.XML file that contains the information about FLV. Code will read data from this external file and display as cation metdata in the textarea below the FLVPlayback component.

The player works perfectly fine with IE at 2080 kbps, but do not work at all for Firefox or safari. Even for IE at lower bandwidth(208 kbps) it gives the problem.

The swf file representing the player is embedded in html page. When we open the html, the player works fine, but when we exit the Browser Window( through red cross on right corner), the Window seems to close but on the Status Bar , the html and Browser is still running. I have to terminate the brower from the Task manager to close it.

Problem is consistent across env mentioned below;

Test Environment: Flash 7, 8 , 9
IIS 2003
AS 2.0
Tool: Adobe CS3 Professional

View Replies !    View Related
Does The Math.Random() Work Differently In Firefox And Safari?
Hello,

I was wondering if anyone can help me with a problem I'm running into using the math.random(). I'm using Flash CS3 and created a very simple script to select random frames in a simple movie. It works as expected in the CS3 environment and in Safari but it doesn't work correctly in Firefox or in the DotNetNuke module I am using. Here is the code:

i = Math.ceil(Math.random() * 3);
gotoAndPlay("Image"+i);

I would appreciate any help you can provide.

View Replies !    View Related
XML Doesnt Load In Firefox And Safari Half The Time
Im using the open source coverflow from http://www.weberdesignlabs.com/blog/?p=11 half the time in firefox, and safari the xml data doesnt load I cant figure out why I have a example of the issue on my site getahugetank.com I have full source code and know how to program as2 as3 just not sure why this would happen only sometimes in certain browsers. Its most likely to happen the first time you pull the site up on a mac.





























Edited: 07/27/2008 at 08:12:29 PM by slacker07

View Replies !    View Related
Mp3 Streaming Causing Mac Firefox, Safari Browsers To Lock Up.
Hello,

We are having a very strange and detrimental problem on our site.

We have a very high-traffic/bandwidth site that is written primarily in Ruby on Rails and Flash 8. It's a music site that features a flash player that plays Mp3's and is a very major part of our site.

The site works fine on windows but, on the latest versions of Mac Firefox and Safari, once you try to play an Mp3 on the flash player the browser completely locks up so bad you can't even open the browser again w/ out having to restart the computer after having to force quit the browser. THIS ONLY HAPPENS WHEN BOTH FIREFOX AND SAFARI ARE OPEN AT THE SAME TIME. I also don't even get the usual flash error message that a "script is taking too long".

Has anyone seen a similar problem w/ playing Mp3's on the latest Firefox and Safari browsers?

Thanks for all and any help!

Clem C

View Replies !    View Related
Preloader Not Working In IE, Works Great In Safari And Firefox.
FLASH MX/1.0
I am wondering if anyone knows why this preloader does not work in Internet Explorer but works great in Safari and Firefox? I got the the preloader script from this tutorial:
http://www.kirupa.com/developer/mx/p...epreloader.htm

This is pretty much the only script used:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}

Is there something missing that would make it work in IE?
Thanks in advance for any ideas.
BTW, here is the link to the site I am working on, you can test it in different browsers and see for yourself:
http://www.tmdphotography.com/packer...0site7-vid.swf

View Replies !    View Related
Flash Is Not Shown In Safari Or Firefox 3 But Is Shown In Ie6
hello guys
I would appreciate if any of you could tell me any suggestion to fix this flash object I have on the top left square of this site www.arreglaordenador.com
It turns out that there is another bigger flash object which is gray and black and appears only at the presentation. This second flash object is shown well in ie6, safari and firefox. But why the other flash object, the one on the top left cornet of the page is just shown in ie6 but not in safari or firefox 3?
Thanks in advance

View Replies !    View Related
[MX04] Problem W/ Publishing .html Works In Safari, But Not Firefox
Hi y'all. My published file won't work in Firefox. Here are attachments of what it looks like and of the settings. It seems that the site works fine in both Safari AND Firefox if I set to "Match Movie", but I want the site to be centered on the page. So I set it to "Percent: 100x100, No Scale", which works in Safari (but not in Firefox). Any ideas?
thx-
ConfusedNewbie

View Replies !    View Related
Safari 1.2/Flash Problem Loading Dynamic JPGs
My client's site was created in Flash MX and dynamically loads JPGs. On first hit, the site loads fine. On second visit to the site, the site hangs up, and no JPGs load. The only way to get it to load is to empty the cache each time. Worse, sometimes it just doesn't load at all...even after emptying cache and restarting Safari. This is extremely distressing, as the majority of my client's clients use Safari 1.2. Help please!

BTW, I thought it was perhaps a caching issue, so I added a "no cache" PHP code to the site, and still, no change. FYI, the current page up is WITHOUT the php code.

This problem only exists in Safari 1.2. (not Safari 1.0, IE or Netscape).

Any info would be greatly appreciated.

URL: http://www.kslphoto.com


Thank you.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved