Finally worked it out. When you build the flex app it gives you
several files history.js, history.css and AC_OETags.js i added all of
these and it seemed to have removed the problem. This css file is
what is used to remove it in other browsers.
#ie_historyFrame { width: 0px; height: 0px; display:none }
#firefox_anchorDiv { width: 0px; height: 0px; display:none }
#safari_formDiv { width: 0px; height: 0px; display:none }
#safari_rememberDiv { width: 0px; height: 0px; display:none }
On May 9, 11:56 am, PrinceRC <[email protected]> wrote:
> I removed the history.js file from my head scripts. and it removed the
> problem but then i get a js error telling me that 'broswerhistory' is
> undefined.
>
> On May 9, 6:19 am, "Aran Rhee" <[email protected]> wrote:
>
>
>
> > So when you use firebug etc to look at the DOM of your page, what CSS values
> > do you have for :
>
> > 1) You flash <object> tag
> > 2) Any wrapper div which is controlling the size / layout of the swf
>
> > I suggest you go back to basics and use something like the swfobject code
> > generator to make a basic page (to demonstrate there are no issues with your
> > specific flash file), and then build up the page to be your full site.
>
> >http://www.bobbyvandersluis.com/swfobject/generator/index.html
>
> > A link to your live page will also help others see exactly how you have put
> > the page together to offer possible solutions.
>
> > Aran
>
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On
>
> > Behalf Of PrinceRC
> > Sent: Saturday, 9 May 2009 12:22 PM
> > To: SWFObject
> > Subject: Re: Strange box in bottom left hand corner - Dynamic Publishing
>
> > I have gone through the faq. The only way i can get rid of the box is
> > by setting the overflow to hidden. which doesn't work on my website as
> > i have alot of content. Any ideas why it would produce a random text
> > box? It doesn't appear when i exclude swfobject
>
> > On May 9, 12:34 am, "Aran Rhee" <[email protected]> wrote:
> > > Looks like a CSS issue. As you are using 100% embed, make sure you read up
> > > on FAQ #1. There are code examples to look at too.
>
> > > SWFObject just replaces the target div with your swf file. How the page
> > lays
> > > out is up to the browser and CSS.
>
> > > Aran
>
> > > -----Original Message-----
> > > From: [email protected] [mailto:[email protected]] On
>
> > > Behalf Of PrinceRC
> > > Sent: Saturday, 9 May 2009 7:41 AM
> > > To: SWFObject
> > > Subject: Strange box in bottom left hand corner - Dynamic Publishing
>
> > > Im using the dynamically publishing method to display my flex content
> > > on my page. In result i am seeing a large box in the bottom left hand
> > > corner of my screen, in ie6/ie7, safari and crome.
>
> > > Heres a screen shot
>
> > >http://stage.idesiremusic.co.uk/largebox.jpg
>
> > > Heres my code
>
> > > <script type="text/javascript" src="/js/swfobject.js"></script>
> > > <script type="text/javascript" src="/js/FABridge.js"></
> > > script>
> > > <script type="text/javascript" src="/js/history.js"></
> > > script>
>
> > > <script type="text/javascript">
> > > var flashvars = {};
> > > flashvars.ServerUrl = "***"
> > > flashvars.WebService = "****"
> > > flashvars.BasketId = "***"
> > > flashvars.Date = "***"
> > > var params = {};
> > > params.play = "true";
> > > params.loop = "false"
> > > params.quality = "high";
> > > params.allowscriptaccess = "sameDomain";
> > > var attributes = {};
> > > attributes.id = "PlaylistPlayer";
> > > attributes.name = "PlaylistPlayer";
>
> > > swfobject.embedSWF("/flash/PlaylistPlayer.swf",
> > > "myPlayercontent", "100%", "100%", "9.0.0", "/flash/
> > > expressInstall.swf", flashvars, params, attributes);
> > > swfobject.addLoadEvent(loadEventHandler);
>
> > > function loadEventHandler()
> > > { BrowserHistory.flexApplication = swfobject.getObjectById
> > > ("PlaylistPlayer"); }
>
> > > </script>
>
> > > Any ideas?- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---