Yeah thanks... I just did that as a work around... But am still wondering if there is any cleaner way to handle this :D
On May 4, 11:32 am, MorningZ <morni...@gmail.com> wrote: > Hmm.. without more code to show, that doesn't make much sense... but > anyways > > doing something like > > var M7 = {}; //"Global" variable accessible to all > > $(document).ready(function() { > > M7.function = myFunction() { > > }; > > }); > > You can now say call: > > M7.myFunction(); from anywhere on the page *after* $(document).ready > () fires > > On May 4, 12:18 am, Mech7 <chris.de....@gmail.com> wrote: > > > Because there is a property.. which another function sets for a login > > panel, which changes the height...(in html) I am resizing the flash > > object accordingly. So i need access to this aswell.. > > > On May 4, 11:07 am, MorningZ <morni...@gmail.com> wrote: > > > > why aren't you putting "myFunction" outside of ".ready()"? > > > > On May 4, 12:06 am, Mech7 <chris.de....@gmail.com> wrote: > > > > > I have a function within the > > > > > $(document).ready(function() { > > > > > function myFunction(){ > > > > > } > > > > > )); > > > > > But I want to call it from Flash? What name should I use? > > > > jQuery.myFunction does not seem to work..