Sign In  |  Register
 
 
DotNetNuke Support Forums
Dynamic Flash Header
Last Post 12 Oct 2008 04:16 PM by Dooley. 0 Replies.
Printer Friendly
Sort:
PrevPrevNextNext
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Dooley
New Member
New Member
Send Private Message
Posts:1

--
12 Oct 2008 04:16 PM  

I've been developing a flash header for my dnn skin and I've hit a bit of a snag.
Basically I want to build a for loop to generate my menu on the fly, but I can't seem to find the property for the tabs array.
Rather, I've found a couple, but I'm not sure how to throw it through a 'FlashVars' mark up.

To put it simply, I'd like to either import the array directly into flash or convert the array to a string and just rebuild the array in flash.  It's exactly as JavaScript but I've actually had no luck discerning which variable from dnn to use.
I'm also having trouble figuring out how I can do this in one shot in a FlashVars param tag.

In case anybody is curious about how I've done this so far:

HTML:
type="application/x-shockwave-flash" data="<%= SkinPath %>/flashfile.swf" width="###" height="###">
var tabid:Number = values[0];
var portalname:String = values[0];
etc...etc...

So what I'm literally doing is defining the ASP variable through the markup because I can't call it in Flash.  The variables get listed, then busted apart to an Array in Actionscript.  Arrays support arrays, so I've tried using derivitives of code I've searched up around the net, but I'm not an ASP nut, so chopshopping things like <%= CType(PortalSettings.DesktopTabs(0),DotNetNuke.Entities.Tabs.TabInfo).TabName %> may or may not be the answer, but I don't know.

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.


Active Forums 4.1
Visit our Store for great DotNetNuke Modules and Skins
DotNetNuke CSS Menu 3.4.6 (single use)

Item codeCSSNM33SU
AuthorJohn Mitchell
Base Price$39.00
Product Information 
DotNetNuke CSS NavMenu 3.4.6 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
DotNetNuke Performance Caching & Compression - PageBlaster 3.4.5 - Professional Edition

AuthorJohn Mitchell
Base Price$59.00
Product Information