Interesting Find with the Flash Detection kit from adobe

  • dhonsvick
  • Beginner
  • Beginner
  • No Avatar
  • Joined: May 27, 2007
  • Posts: 49
  • Status: Offline

Post August 24th, 2007, 9:18 am

Hello,

I just wanted to post this little nugget as it took me hours to figure out.
While doing Full page flash templates with the Adobe Flash detection Object Internet exploder and All other browsers recieve different code ... duh. But what does this mean. I hadnt realized that Order Matters! With the Embed Tag, if you Specify "scale" after "salign" the aslign attribute is ignored.

So this would be great in Internet Exploder....But bad in all other browsers
Code: [ Select ]
AC_FL_RunContent(
            "src", "/Main-full",
                        "salign","lt",
            "scale","noscale",
            "width", "100%",
            "height", "800",
            "align", "middle",
            "id", "tes",
            "quality", "high",
            "bgcolor", "#ffffff",
             "name", "test",
            "allowScriptAccess","sameDomain",
            "type", "application/x-shockwave-flash",
            "pluginspage", "http://www.adobe.com/go/getflashplayer"
    );
  1. AC_FL_RunContent(
  2.             "src", "/Main-full",
  3.                         "salign","lt",
  4.             "scale","noscale",
  5.             "width", "100%",
  6.             "height", "800",
  7.             "align", "middle",
  8.             "id", "tes",
  9.             "quality", "high",
  10.             "bgcolor", "#ffffff",
  11.              "name", "test",
  12.             "allowScriptAccess","sameDomain",
  13.             "type", "application/x-shockwave-flash",
  14.             "pluginspage", "http://www.adobe.com/go/getflashplayer"
  15.     );


And this would work well

Code: [ Select ]
AC_FL_RunContent(
            "src", "/Main-full",
                        "scale","noscale",
                        "salign","lt",
            "width", "100%",
            "height", "800",
            "align", "middle",
            "id", "tes",
            "quality", "high",
            "bgcolor", "#ffffff",
             "name", "test",
            "allowScriptAccess","sameDomain",
            "type", "application/x-shockwave-flash",
            "pluginspage", "http://www.adobe.com/go/getflashplayer"
    );
  1. AC_FL_RunContent(
  2.             "src", "/Main-full",
  3.                         "scale","noscale",
  4.                         "salign","lt",
  5.             "width", "100%",
  6.             "height", "800",
  7.             "align", "middle",
  8.             "id", "tes",
  9.             "quality", "high",
  10.             "bgcolor", "#ffffff",
  11.              "name", "test",
  12.             "allowScriptAccess","sameDomain",
  13.             "type", "application/x-shockwave-flash",
  14.             "pluginspage", "http://www.adobe.com/go/getflashplayer"
  15.     );


You all probably knew this ... but I am posting this in hopes it saves others grief as well as making this info available to me at a later time after I format my brain.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 24th, 2007, 9:18 am

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post August 24th, 2007, 9:38 am

good tip. Thanks
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 52 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.