This content has been marked as final.
Show 11 replies
-
1. Behaviors+Firefox = Problems?
gold987987987 Dec 4, 2006 1:51 PM (in response to gold987987987)Come on now folks, any ideas? I can't be the only one trying to do this.
I found this Click Here and it helped but I'm still getting the same problems. Works in IE but not in Firefox.
Please help. -
2. Re: Behaviors+Firefox = Problems?
sir20171 Jan 25, 2007 7:48 AM (in response to gold987987987)Found this in another forum so figured I'd post. Was hoping to be able to target movies with the main timeline but unfortunately you can't do that.
If you're having problems getting the Control Flash behavior to work in Firefox, find this line of code:
var obj=MM_findObj(objStr);
and add this code on the line after it:
if (obj && obj[1]) obj=obj[1];
After making this addition, the MM_controlShockwave function should look like this:
function MM_controlShockwave(objStr,x,cmdName,frameNum) { //v3.0
var obj=MM_findObj(objStr);
if (obj && obj[1]) obj=obj[1];
if (obj) eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
} -
3. Re: Behaviors+Firefox = Problems?
ajax_webdesign Aug 24, 2007 4:47 AM (in response to gold987987987)I have changed the code but the connection between swf and js does not work - any idea?
thanks -
4. Re: Behaviors+Firefox = Problems?
Newsgroup_User Aug 24, 2007 5:00 AM (in response to gold987987987)Can you please post the symptom description again for the benefit of those
using NNTP for the forums? Your previous thread is old enough that it has
disappeared for my cache.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"ajax_webdesign" <webforumsuser@macromedia.com> wrote in message
news:famgh3$qis$1@forums.macromedia.com...
>I have changed the code but the connection between swf and js does not
>work - any idea?
>
> thanks
-
5. Re: Behaviors+Firefox = Problems?
ajax_webdesign Aug 26, 2007 12:08 PM (in response to Newsgroup_User)Hi Murray, many thanks for your reply
That is my problem:
I have put one long swf animation in the website because I could not solve the problem of exchanging swf animations (different swf file called by detailregion) in one div and playing them using flash control from behaviors. They played only once. So I decided to put one long animation and jump from frame to frame to play effects that I want.
It works but only in ie. In ff "jumping" doesn't work
I use this code to control swf (generated by DW) that is the same as you suggested. It is the same in version for ie and ff:
function MM_controlShockwave(objStr,x,cmdName,frameNum) { //v4.0
var obj=MM_findObj(objStr);
if (obj && obj[1]) obj=obj[1];
if (obj) eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
}
The embeded swf looks like that:
<div id="slideshow">
<script type="text/javascript">
AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','nam e','all','width','1024','height','300','id','all','title','','src','all','quality','high', 'pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockw aveFlash','wmode','transparent','swliveconnect','true','movie','all ' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1024" height="300" id="all" title="">
<param name="movie" value="all.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="all.swf" width="1024" height="300" quality="high" pluginspage=" http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" name="all" swliveconnect="true"></embed>
</object>
</noscript>
<div id="kwadrat"></div>
<div id="poziom" ><img src="images/poziom.jpg" /></div>
<div id="pion" spry:detailregion="personel"><img src="{fotka1}" /></div>
</div>
the yellow part is not important I think but maybe it does something?
One more - I used swishmax to build animation and exported swf file in default parameters that is SWF6
I would be very grateful if you ould find the solution of above
Thank you in advance - Jacek -
6. Re: Behaviors+Firefox = Problems?
Newsgroup_User Aug 27, 2007 5:29 AM (in response to Newsgroup_User)And the link to the page?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"ajax_webdesign" <webforumsuser@macromedia.com> wrote in message
news:fasj3b$k5k$1@forums.macromedia.com...
> Hi Murray, many thanks for your reply
>
-
7. Re: Behaviors+Firefox = Problems?
ajax_webdesign Aug 27, 2007 9:52 AM (in response to Newsgroup_User)Of course:
http://localhost/testowa_maggie/test__5.php
this is extracted just this case
Thanx a lot - Jacek -
8. Re: Behaviors+Firefox = Problems?
Newsgroup_User Aug 27, 2007 9:54 AM (in response to Newsgroup_User)Uhh - that's a link to your computer. You would need to upload the page
somewhere and give us that link.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"ajax_webdesign" <webforumsuser@macromedia.com> wrote in message
news:fauvgn$af1$1@forums.macromedia.com...
> Of course:
> http://localhost/testowa_maggie/test__5.php
> this is extracted just this case
>
> Thanx a lot - Jacek
-
9. Re: Behaviors+Firefox = Problems?
ajax_webdesign Aug 27, 2007 9:55 AM (in response to Newsgroup_User)Hi again,
I am sorry link is of course different: http://www.kielczewska.pl/testowa_maggie/test__5.php
regards Jacek -
10. Re: Behaviors+Firefox = Problems?
Newsgroup_User Aug 27, 2007 1:03 PM (in response to Newsgroup_User)Wow.
First, you don't want to do this -
<li onclick= "MM_controlShockwave('0','','GotoFrame','{timeline}');
MM_controlShockwave('0','','Play'); skin.set('{css}'); return
false">{linia}</li>
Events and behaviors should be applied to links not to list elements. So
this (and similar) should be like this -
<li?<a href="#" onclick=
"MM_controlShockwave('0','','GotoFrame','{timeline}');
MM_controlShockwave('0','','Play'); skin.set('{css}'); return
false">{linia}</li>
But, since I don't do Flash, I'm pretty baffled by the rest of your post. I
just cannot figure out why you are doing what you are doing. Sorry....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"ajax_webdesign" <webforumsuser@macromedia.com> wrote in message
news:fauvmt$ao0$1@forums.macromedia.com...
> Hi again,
> I am sorry link is of course different:
> http://www.kielczewska.pl/testowa_maggie/test__5.php
>
> regards Jacek
-
11. Re: Behaviors+Firefox = Problems?
ajax_webdesign Aug 27, 2007 2:26 PM (in response to Newsgroup_User)Thank you a lot,
I have change the code (a href) but unfortunately it did not remove the swf control problem.
Let me explain a little my concept. The idea is to change the content of detail region in more spectacular way. The site in the address I have sent is the example where flash film unhide the new content after reloading detail region. Behavior linked to "onclick" should fire the flash animation starting at certain frame taken from {timeline} field of xml dataset. This is all what I want. The only problem is that due to unknown (by me) reason it does not work in FF. If you use IE to see the site www.kielczewska.pl/test_maggie/test__5.php it behave different than in FF.
thanks, and dont bother if the flash cases are not your target. I appriciate your help
regards - jacek

