Interesting Find with the Flash Detection kit from adobe

  • dhonsvick
  • Beginner
  • Beginner
  • dhonsvick
  • Posts: 49

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

good tip. Thanks

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 15 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.