Re: Problems with my initial map application
- Thank you!
I've been trying to work this out for ages.
--- In firstname.lastname@example.org, Ashif Sayani <ashifsayani@...> wrote:
> I had this problem and I solved it by setting the SWFDOMID to my
> application's swf name. This tells the as2map.swf who to communicate
> back to.
> private const SWFDOMID:String = "main";
> Double check this.
> On 21-Jun-07, at 4:29 PM, John Robinson wrote:
> > Is that you who also posted to the flex coders list? I saw this
> > rectangle a few times myself but don't know what causes it. Try
> > putting it in something other than a canvas (if that's what you're
> > doing...) and see if that works?
> > If you don't have any luck I'll send you the files I have that seem
> > to be working.
> > John Robinson - Flash/Flex Developer at large
> > Blog: http://jrobinsonmedia.wordpress.com
> > On Jun 21, 2007, at 4:03 PM, peter_kissa wrote:
> >> Hello,
> >> I am having to setup my initial Flex Yahoo Map application... :(
> >> What I get is a small rectangle (probably 10x10pixels) in my browser
> >> after I try "Run" my first Flex app in the Flex Builder2...
> >> I simply followed the instructions in the section "Building a Maps
> >> Application - Yahoo! Developer Network" - went over and double
> >> checked
> >> all my steps several times. I still do not get anything showing up,
> >> except this "neat" rectangle...
> >> I tried to debug "my" code and what I found out is that in the
> >> Binding.as script I get "Error# 1009: Cannot access a property or
> >> method of a null object reference."
> >> Does anyone have any idea what I have done wrong or where to look for
> >> root of this problem?
> >> Thanks,
> >> Peter