Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Dynamic Flash Header

Rate this topic:

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

AuthorMessages
Dooley
Posts:1



10/12/2008 4: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Ύ]
var portalname:String = valuesΎ]
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.

Forums >DotNetNuke Support >Tips-And-Tricks > Dynamic Flash Header



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DotNetNuke CSS Menu 3.3.4 (single use)

Item codeCSSNM33SU
AuthorJohn Mitchell
Base Price$25.00
Product Information 
DotNetNuke CSS NavMenu 3.3.4 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 Performance for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$25.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

AuthorNina Meiers
Price$49.00
Product Information 
XDAmarina (CSS & Flash Skin)

AuthorNina Meiers
Price$49.00
Product Information