[osflash] tag.addFlashVar?

!!blue zoblue at gmail.com
Fri Nov 10 16:46:08 EST 2006


Yes, I thought about that and soon as you sent this email it clicked in my
head. Thank you so much (again)! :D

On 11/10/06, Rich Rodecker <flashape at gmail.com> wrote:
>
> thats probably due to whatever code you are using to open the link.  The
> way you have it now, you will have a variable on _root named "clickTAG",
> which the value of would be " http://www.google.com".  So you would need
> to do something like:
>
> getURL(_root.clickTAG, "_blank");
>
> On 11/10/06, !!blue <zoblue at gmail.com> wrote:
> >
> > Hey! that worked! The link in a new window comes up as http://my test
> > link/undefined which is really weird but I think I've got enough legs to
> > walk on to troubleshoot this bad boy.
> >
> > Thanks so much and enjoy the weekend!
> >
> > On 11/10/06, Rich Rodecker < flashape at gmail.com> wrote:
> > >
> > > try this then:
> > >
> > > tag.setFlashvars('lcId='+uid+'&clickTAG=http://www.google.com/'<http://www.google.com/%27>
> > > );
> > >
> > > looks like you forgot the '=' in your first atttempt, and you had some
> > > extra quotation marks in there.
> > >
> > >
> > > On 11/10/06, !!blue < zoblue at gmail.com> wrote:
> > > >
> > > > Rich, thanks for the reply. I just tried that line of code and it
> > > > didn't work, Mozilla gives me JavaScript errors saying:
> > > > "tag.addFlashVar is not a function"
> > > >
> > > > The swf won't load at all in IE. I can't seem to be able to use
> > > > "addFlashVar", "addFlashVars" nor another line of " setFlashvars."
> > > > Do I need to somehow edit the JavaScriptFlashGateway.js file?
> > > > http://test.slackbarshinger.com/ulab602/test/<http://test.slackbarshinger.com/ulab602/test/JavaScriptFlashGateway.js>
> > > > J<http://test.slackbarshinger.com/ulab602/test/JavaScriptFlashGateway.js>avaScriptFlashGateway.js<http://test.slackbarshinger.com/ulab602/test/JavaScriptFlashGateway.js>
> > > >
> > > > thanks all!
> > > >
> > > > On 11/10/06, Rich Rodecker < flashape at gmail.com> wrote:
> > > > >
> > > > > try this:
> > > > >
> > > > > tag.addFlashVar('lcId', uid);
> > > > > tag.addFlashVar ('clickTAG', 'www.gogle.com');
> > > > >
> > > > >
> > > > > On 11/10/06, !!blue <zoblue at gmail.com> wrote:
> > > > >
> > > > > > Hi all, just wonderin' if anyone is able to shed some light on
> > > > > > my
> > > > > > question below...
> > > > > >
> > > > > > enjoy the weekend!
> > > > > >
> > > > > > On 11/6/06, !!blue <zoblue at gmail.com> wrote:
> > > > > > > Hi all, first time on this list and I've tried using Google to
> > > > > > search
> > > > > > > through the archives for "addFlashVar" with no luck. Hopefully
> > > > > > someone
> > > > > > > can help :)
> > > > > > >
> > > > > > > I'm using the Flash JavaScript Integration Kit to create a
> > > > > > flash
> > > > > > > banner much like the example page here:
> > > > > > > http://www.roguish.com/experiments/javascripttoflash/javascript_to_flash_mouse_coords.html
> > > > > >
> > > > > > >
> > > > > > > The mouse tracks successfully on the banner itself as you can
> > > > > > see from
> > > > > > > my rough test page:
> > > > > > > http://test.slackbarshinger.com/ulab602/test/horizontal.html
> > > > > > >
> > > > > > > I'm running into a bump in the road where I'm trying to send a
> > > > > > button
> > > > > > > in the SWF a clickTAG variable and I'm not sure where to add
> > > > > > it (see:
> > > > > > > "Building Macromedia Flash Banners with Tracking Capabilities"
> > > > > > >
> > > > > > http://www.adobe.com/resources/richmedia/tracking/designers_guide/).
> > > > > > >
> > > > > > > I've tried each of the following in the html js code and none
> > > > > > of them works:
> > > > > > > ----------------------------------------
> > > > > > > tag.setFlashvars('lcId='+uid+'&'+'clickTAG'+'
> > > > > > http://www.google.com/' <http://www.google.com/%27>);
> > > > > > > OR
> > > > > > > tag.addFlashVar ('clickTAG','http://www.google.com/'<http://www.google.com/%27>);
> > > > > > > OR
> > > > > > > tag.addVariable('clickTAG','http://www.google.com/'<http://www.google.com/%27>
> > > > > > );
> > > > > > > ----------------------------------------
> > > > > > >
> > > > > > > The second two give me JavaScript errors that say they are not
> > > > > >
> > > > > > > "functions." Does anyone know how I can accomplish adding a
> > > > > > clickTAG
> > > > > > > variable to the code so the tracking works on the banner? Hope
> > > > > > I'm
> > > > > > > making sense!
> > > > > > >
> > > > > > > thanks!
> > > > > > > Zulema
> > > > > > >
> > > > > > > --
> > > > > > > !!blue
> > > > > > > website: http://blog.zoblue.com/
> > > > > > > browser: http://getfirefox.com/
> > > > > >
> > > > > >
> > >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20061110/93aec1e8/attachment-0001.htm


More information about the osflash mailing list