Re: [Flashcoders] Re: Dynamically resize Flash

2009-01-20 Thread confustic...@gmail.com
@Joel: Thanks for letting us know. It's good to know that using a mixture of
the two methods works as well.

@Romu: I saw your post on the developer's site! I found that (similar to
Joel, I guess) if I used only the HACK_MARGIN_BOTTOM (ie, not using
HACK_IE_REPARENT or HACK_UNIQUE_ID), the IE errors no longer occured. I
didn't investigate it further than that, but seems to work fine on
IE6/IE7/FF3 on WinXP and Safari on the Mac (sorry, not sure of versions). In
regards to why I'd use the browser scrollbar over a Flash scrollbar, it's
because my SWF with expandable vertical content is only a small portion of
an otherwise HTML page.

@allandt: I came across swffit in my googlations which seems expressly for
handling 100% width and height http://swffit.millermedeiros.com/example.html
In conclusion, BrowserCanvas rocks. It does exactly what I need it to. If
frustration saved is measured in "percentage of molars you would've ground
down, if not for ...", I think this measures at least 0.5mol. Many thanks to
Noel Billig.

Cheers,
CB.



On Tue, Jan 20, 2009 at 2:29 PM, Joel Stransky wrote:

> I fixed my issue for those who care. I consists of a mix of the first two
> examples posted in this thread. I placed my flashcontent div inside a
> container div. The width and height passed to swfobject are both 100% and
> the container div is set to the intended width and height. I then passed
> the
> container id to BrowserCanvas instead of the flashcontent id as well as
> passing an empty array for the browser hacks param.
>
> Your canvas object allows you to set width and height separately but still
> updates both dimensions when either setter is called. For some reason this
> causes FF for mac to consider the other dimension as 0. The fix for this
> was
> setting both properties everytime even if one never changes.
>
> On Mon, Jan 19, 2009 at 2:05 PM, Joel Stransky  >wrote:
>
> > Hmm, I'm using BrowserCanvas in my current project and having zero issues
> > aside from it breaking swfaddress in IE7. Otherwise works fine in Safari
> and
> > FF for mac and IE6/FF for windows.
> >
> >
> > On Mon, Jan 19, 2009 at 10:27 AM, allandt bik-elliott (thefieldcomic.com
> )
> >  wrote:
> >
> >> isn't there a bit of wierdness in firefox where, if you want it to be
> 100%
> >> width / height of the window, you need to add it to the css and apply it
> >> to
> >> the swfobject targetted div?
> >>
> >> On Mon, Jan 19, 2009 at 1:56 PM, Romuald Quantin <
> >> soundstep.mail...@googlemail.com> wrote:
> >>
> >> > I sent to the BrowserCanvas developer the IE error months ago, I guess
> >> he
> >> > didn't find a solution if he didn't update his library.
> >> >
> >> > I've been asked for this some months ago but we've ended up to build a
> >> > flash scrollbar instead... if I may ask, what makes you choose a
> browser
> >> > scrollbar for a flash content? Because in my case, having something
> >> solid
> >> > without cross-browsing issue made me build a flash scrollbar.
> >> >
> >> > Romu
> >> > www.soundstep.com
> >> >
> >> >
> >> >
> >> > confustic...@gmail.com wrote:
> >> >
> >> >> Sorry List.
> >> >>
> >> >> I really am all kinds of idiot. What I said below about BrowserCanvas
> >> is
> >> >> incorrect. It takes the containerId as a parameter ... which was
> >> >> immediately
> >> >> obvious from reading the documentation! Apologies. Now, to work out
> >> what's
> >> >> causing the IE error ...
> >> >>
> >> >> I am still interested in any comments regarding the Mustard Lab
> Resize
> >> >> Flash
> >> >> with SWFObject issue though.
> >> >>
> >> >> Humbly,
> >> >>
> >> >> CB.
> >> >>
> >> >> On Mon, Jan 19, 2009 at 1:53 PM, confustic...@gmail.com <
> >> >> confustic...@gmail.com> wrote:
> >> >>
> >> >>
> >> >>
> >> >>> Hi List,
> >> >>>
> >> >>> Does anyone have a bulletproof method for dynamically resizing your
> >> SWFs
> >> >>> from within the SWF? eg, if you have SWFs which have expandable
> >> vertical
> >> >>> content that sit within the flow of an HTML page. Something like
> this:
> >> >>> http://2mdc.com/resizableFlash/
> >> >>>
> >> >>> I have tried doesnotcompute's lovely BrowserCanvas (
> >> >>>
> >> >>>
> >>
> http://www.dncompute.com/blog/2008/06/23/browsercanvas-the-worlds-easiest-way-to-dynamically-resize-flash.html
> >> )
> >> >>> and
> >> >>> found that it only works for 1 SWF per page. (It always resizes the
> >> first
> >> >>> SWF, no matter which SWF needs resizing.)
> >> >>>
> >> >>> I have also tried the wonderful Mustard Lab Resize Flash technique (
> >> >>> http://www.mustardlab.com/developer/flash/objectresize/) - however,
> >> to
> >> >>> my
> >> >>> surprise I couldn't get it working with properly SWFObject in IE6
> and
> >> >>> Safari. It works fine in FF and IE7. I found that, while the
> >> containing
> >> >>> DIV
> >> >>> was resized appropriately, the Flash height (set to 100%) was not
> >> filling
> >> >>> up
> >> >>> the DIV. I'm still not sure why this is; it works if the SWF is
> placed
> >> on
> >> >>> t

[Flashcoders] [JOB] Flash Developer, Delray, FL | 75-90k

2009-01-20 Thread Beau Gould (OSS)
Local candidates preferred; however, candidates considering relocating
at own expense considered as well.

My Delray Beach, FL client is a well-funded and rapidly growing company
that is developing revolutionary consumer electronics for the digital
home, including IP media phones and set-top boxes. 

The Flash Developer will be responsible for developing Flash
applications that run on next-generation media tablets. These
applications will include casual games, utilities, media browsers,
information access services, as well as user interfaces. 

You should have a very strong knowledge of Flash and ActionScript
programming, not just Flash animation or graphic design. You should also
be familiar with the Adobe CS3/CS4 development environment. 

Video and audio streaming experience or Flash game development
experience is a plus. Graphical design skills and a working knowledge of
Adobe Photoshop are also helpful. 

To be considered, please submit your resume and/or portfolio along with
your salary requirements to beau @ open-source-staffing.com 

Thank you, 
Beau Gould 

http://groups.yahoo.com/group/flashflexjobs 
http://www.linkedin.com/groups?gid=990627 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] multiple class definition in package

2009-01-20 Thread allandt bik-elliott (thefieldcomic.com)
no - you'll only have access to the first class

the only way you can put 2 classes in the same file is if you are setting up
a singleton as the second class will be available to (only) the first class

a

On Tue, Jan 20, 2009 at 12:05 PM, laurent  wrote:

> Hi,
>
> Flash CS3 can't find a class definition that is in a FirstClass.as file,
> package some.folders which contains public class FirstClass extends
> MovieClip,
> followed by a second public class SecondClass extends Moviclip.
>
> my main movie is defined as the FirstClass, then I go a movieclip in my
> library that I want to link to the SecondClass defined in same file.
> It's not possible to do such thing ? I must have two separate .as file
> named like the class I want to link ?
>
> thx
> L
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] multiple class definition in package

2009-01-20 Thread laurent

Hi,

Flash CS3 can't find a class definition that is in a FirstClass.as file,
package some.folders which contains public class FirstClass extends 
MovieClip,

followed by a second public class SecondClass extends Moviclip.

my main movie is defined as the FirstClass, then I go a movieclip in my 
library that I want to link to the SecondClass defined in same file.
It's not possible to do such thing ? I must have two separate .as file 
named like the class I want to link ?


thx
L

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders