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




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



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 07-31-2007, 06:12 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash Over Menu In Firefox Issue. Looks Perfect In IE.
have the Opencube Menu system above the flash application. It works in IE, but in Firefox, the menu dropdown items appear behind the Flash.

I have tried both:
<param name="wmode" value="transparent">

and

a negative z-index on a div surrounding the flash app.

any other suggestions???

also, the page is being served up by Lotus Notes
The Flash App was created using version 8.

Expandable Flash Banner
I have never done an expandable flash banner before? An example is here: http://demo1.checkm8.com/checkm8/pag...543a0dcd73649f

The main problem I am having is how do I get that expandable piece to show through like that? If someone could point me in the right direction, I could easily finish the rest and stop having migraines lol

Expandable Flash Banner Problem
Hi Guys,

I am trying to create a flash banner that resizes to the width of the viewers screen... I have managed to do this by setting the scale to exact fit in Dreamweaver. However, I would like the logo (represented by the grey box) to stay a fixed size, say 200x50. Does anyone know how i could do this?

The link is here



cheers.

Expandable Flash Banner Problem
Hi Guys,

I am trying to create a flash banner that resizes to the width of the viewers screen... I have managed to do this by setting the scale to exact fit in Dreamweaver. However, I would like the logo (represented by the grey box) to stay a fixed size, say 200x50. Does anyone know how i could do this?

The link is here

cheers.

Expandable Flash Banner/Skyscraper
Hi there,

I've created an expandable skyscraper using 2 swf-files and some javascript in the html file to trigger the expandable part when doing a mouse-over.

However, I now need to convert this into 1 swf-file only and send this (without html-part) to the publisher.

Does anyone have a tipp on how to best/easiest do this? e.g. can the stage-size be changed from 120x600 to 300x600 in one movie when the mouse-over initiates the expandable part?

Any hints or links to possible tutorials would be much appreciated.

cheers,
kiwiAMS

[CS3] Making A Flash Banner Ad Expandable Over Content
does anybody know how to make a flash banner ad expand over content?

example: http://cdn.eyewonder.com/100125/adWd...2726_Demo.html

if i have two different fla files - one unexpanded fla and an expanded fla - how would i make this work on a webpage?

Expandable Banner
Hi,

Could somebody help me to make an expandable banner in flash mx?

Thanks

Expandable Banner
Hi,

Is there anyone that can help me make a Expandable banner like this Discover banner in this link:


http://www.eyeblaster.com/WebSite/ne...ine_Launch.htm

THANK YOU!!!

Banner Expandable
Hi ! there how can we make expandable banner as we see some times in yahoo.rediff.
IT expands as page is downloaded-palys animation and goes back to its defined position

Cheers

Sabs

Expandable Banner/Ad
Hi! Im doing an expandable banner, but Im having trouble with the clickTAG's,

the file contains a movieclip in _root and in that clip there are 3 frames with 3 buttons in each frame with the codes listed at the bottom in them.

The clickTAG's work when i use _root on the clickTag (getURL(_root.clickTAG,"_blank")
but according to my custumor im not allowed to use _root.

Anyone that might know how I can solve this problem??
Would really appiciate it!!




//-----------------------------Button 1

on (rollOver) {
gotoAndPlay(2);

}

on (release) {
getURL(clickTAG,"_blank");
}

//---------------------------Button 2

on (rollOut) {
gotoAndPlay(3);

}

on (release) {

getURL(clickTAG,"_blank");
}


//-------------------------------------------Button 3

on (rollOver) {
gotoAndPlay(1);
}

on (release) {
getURL(clickTAG,"_blank");
}

Expandable Banner Help
i need to make a flash expandable banner from 780x585 to 728x90 in size.
i have been researching online. but i am still confused
which method to use. if i make the swf transparent wont the expanded size make the layout of the html page go off? or do i go with floating it with div tags? someone please help me or direct me to a link on expandable banner

Expandable Banner?
Hi guys,

I've made my own expandable banner, and I can put it on to an HTML page so it overlaps the content. My only problem is that the area it expands to, which is initially invisible, stops my HTML working i.e. you can't click on links etc... because their is flash overlaying it.

I found this on these forums:
http://www.actionscript.org/forums/s....php3?t=158696

But, it's the same thing whereby content is not interactive below the expandable banner.

Can anyone help me please?

Thanks!
Matt

Expandable Banner?
Anyone know how to make or have an example fla of an expandable banner? I'm sure you guys have probably seen them before - you roll over it and the banner expands at the bottom to show more content for the banner.

Can someone help me out, I'm at a loss. Thanks.

Expandable Banner Ads?
Howdy folks. I've been trying to figure out a way to make those expandable banner ads you see around the web sometimes. You know, a normal sized banner but when you rollover it, the bottom drops down over the HTML web page content to reveal more info?

Does anyone know how this is done exactly, or know of a good tutorial for making one? I've been searching all over but can't really find anything helpfup :(

Expandable Banner Can't Collapse
I'm creating an expandable banner in flash. It expands automatically when the cursor is inside the banner area and collapse when the cursor is outside the banner area.

Here's the problem. The movie area is equalto the expanded size so after the banner expands, the whole stage is covered by the banner. When the user rool out of the banner area, he's no longer inside the flash movie area, therefore the actionscript doesn't work. That means once the banner is expanded, it stays that way.

I hope somebody can help me with this.

Thanks in advance

Expandable Banner With Video
Anyone have any information (tutorials, links) on how to make an expandable banner like this:

http://www.klipmart.com/sincity.html

Thanks in advance.

[F8] Expandable (footprint On) Banner Ad?
http://www.pointroll.com/PointRoll/AdDemo/Yahoo!Demos/Remax_728x90_fallcampaignyd12.asp

Hi!

I need to create a "Rich Media (Expandable pop-up)" ad for use on Yahoo. --See the sample ad at the URL above (and roll your cursor over the "Buy, Sell", or "Search Property" buttons when they finally show up in the banner ad).

See how it expands beyond the banner's original footprint? I understand Flash well enough, (but have only a rudimentary understanding of Action Scripting) and can create the basic Flash file but have no idea how this expandable area is to be constructed or addressed.

Is the expanded area a separate swf file?

Is this something Yahoo will do if I supply two swf files with a button linking the first to the second?

Is there any special scripting involved?

Can anyone help?

Thanks,

Max

Expandable Expandible Banner Ad
Hi,

I have been in the print world for a while and flash has changed quite a bit.

I am interested in learning about rich media and expandable banner ads.

Can someone please give me a push in the right direction?

Thanks!

Expandable Banner Has Me Confused
I was just wondering if any one would be able to help me out with getting an expandable banner on my web page.

See I want to know how to create an expandable banner on my web page. So that way when some one mouses over the banner it expands from a 250x250 square to a 500x250 rectangle. The reason is I want it to be interactive to view the video file that I want them to preview.

Would any one be able to help me out? or let me know where to look to find this out. Please.

ClickTag / Expandable Banner Code
I'm having problems with the following code and need to merge the 2 following code together. Could anyone help with this?

on(rollOver) {
getURL("javascript:expandCreative('ContainerDivID' );");
gotoAndStop(2);
}

on(rollOut) {
getURL("javascript:collapseCreative('ContainerDivI D');");
gotoAndStop(1);
}

-----------------------------------------------------------

on (release) {
if (clickTag.substr(0,5) == "http:") {
getURL(clickTag, "_blank");
}
}

-----------------------------------------------------------

Need the 2 following as above into one working code.

Thanks,
Steve

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.

How To Create A Rollover Expandable Panel From A Banner?
hi,

I need actionscript help on how to create a rollover expandable panel from a banner, so when i roll my mouse over the banner, an expandable panel of information would drop down and unfold.

thanx much,
ss

Expandable Banner Problem Rollover Buttons
I have an expandable banner which has a video player in its expanded state, during this state I have a button that covers the entire stage with a rollout that causes it to collapse. Then on a layer above that the play pause and volume controls as buttons.

Whenever I rollover these video buttons it collapses the banner, so they become useless.

I tried putting expand functions as rollover on the video controls however this causes the video to restart.

I've attached the fla, any help would be appreciated.

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.

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!!

[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>

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!!

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">

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.

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.

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.

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!

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

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

Script Working Perfect On IE And Not Firefox
Can someone please tell me what is th eproblem with this script?
It works perfect on IE but on Firefox it doesn;t load the jpg.

Check the example http://db-art.110mb.com/indexo.html

It's an altered tweaked version of kirupa's thumbnail gallery.

Here is the code that load's jpgs in mc IMG_MC:
function loadIt() {
this.onEnterFrame = function() {
_root.fader.alphaTo(100,0.4,"easeOutBounce");
_root.fader._alpha = 100;
if (_root.fader._alpha = 100) {
_root.IMG_MC2.loadMovie(image[p],1);
this.onEnterFrame = function() {
filesize = _root.IMG_MC2.getBytesTotal();
loaded = _root.IMG_MC2.getBytesLoaded();
_root.preloader.alphaTo(100,0.1,"linear");
_root.preloader.xScaleTo(100,0.1,"linear");
percent = 100*(loaded/filesize);
if (loaded != filesize) {
_root.preloader.bar._xscale = percent;
_root.preloader.percent_txt.text = int(percent)+"%";
} else {
_root.preloader.alphaTo(0,0.8,"linear");
_root.preloader.xScaleTo(0,0.8,"easeInBounce");
curImg = new flash.display.BitmapData(1280,1024,false,0x00fffff f);
_root.IMG_MC.attachBitmap(curImg, 0, "never", true);
curImg.draw(_root.IMG_MC2);
_root.fader.alphaTo(0,0.5,"linear");
_root.IMG_MC2.unloadMovie();
delete this.onEnterFrame;
}
};
}
};
}

Flash Banner Not Looping In Firefox
I have a problem with flash banner on my website - www.inter-serbia.net , as in Internet Explorer it loops normally, but in Firefox it plays just once, and I have to right click/play to start the looping.
I am not in possibility to contact the maker of the banner, so please help me with this.

Flash Safari Issue
If i am opening any popup in my application and then i logout from parent window or main screen, then if i again go to login screen there i am not been able enter username or password and my login screen is made in flash.

This case works fine in IE but this is not working in safari.

If i close safri and then try to login then its working.

Flash And Safari Issue
I've created a flash file which starts with 3 large buttons which take you to a different frame label on the main timeline. Each label contains a movie which contains various images and text.

The buttons work perfectly fine in IE7, however in firefox (pc) and on safari the third button decides to take me to the wrong section in the timeline. BUT this only happens when you click on the upper edge of the button.

Clicking anywhere else on the button is fine, it's just the top edge.

I've checked the FLA file and there's nothing odd going on as it works fine when the .SWF is run on my pc.

Any ideas why this would happen?

Safari (MAC) Flash Issue
Hi there, I have a flash website - http://www.empty.com.br - and lately I have been recieving some negative feedback from Safari users.
Anyone knows what can be made to fix this issue?

thanks!

Gabriel.

XML Flash Banner Doesn't Work In Firefox
hey everyone,
I'm using a simple Flash based / XML banner that doesn't appear to be working in Firefox. I know that I've uploaded the correct files because it works in IE 6 and Safari for some reason. It also appears to be working in Firefox when viewing it locally and when viewing the demo online from where I got the code. I didn't alter the code so I'm stumped as to why this is not working. Any insight to this?? Thanks!!

PS. I'm using Flash Player 9 for all browsers. Also, I've tried changing the path of the image source, etc. but nothing appears to work.

XML Flash Banner Doesn't Work In Firefox
hey everyone,
I'm using a simple Flash based / XML banner that doesn't appear to be working in Firefox. I know that I've uploaded the correct files because it works in IE 6 and Safari for some reason. It also appears to be working in Firefox when viewing it locally and when viewing the demo online from where I got the code. I didn't alter the code so I'm stumped. Any insight to this?? Thanks!!

PS. I've checked out other threads in this forum and found many have had the same problem. I've tried changing the path of the image source, etc. but nothing appears to work.

Issue With Safari And Flash Movies
Hi, does anyone know if/what the issue is with flash movies and safari?
for some reason embeded movies dont play anymore. if you click on the play button it just progress's one frame instead of playing them all.
its fine in internet explorer.
it happens on this site:
http://www.nexuslondon.com/
for instance.

please help!

Weird Issue With A Web Flash Nav Header And Safari/Macs *PLEASE HELP*
Recently a weird bug has presented itself in regards to a site I manage and design. Here it is:

http://www.jeffhardingmusic.com

For some reason the Flash Header will not load in Macs (either in IE for Mac or Safari) The presentation was exported from Flash MX 2004, and works fin in PC's. This is a recent development, the site was working properly, then I updated the site and it began to not load.

Is there any weird bugs when it involves swfs v.6&7?

What could be causing this problem?

Thanks all
JF

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?

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

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!!!

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

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!

Copyright © 2005-08 www.BigResource.com, All rights reserved