Project Detail

ActionScript 3.0 : Dynamic Menu Modification  

ActionScript 3.0 : Dynamic Menu Modification is project number 547773
posted at GetAFreelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status: Closed
(Cancelled by Service Buyer)

Selected Providers: -

Budget: $30-250

Created: 11/10/2009 at 16:48 EST

Bid Count: 0

Average Bid:
-

11/11/2009 at 16:48 EST

Project Creator: avengineer View PM Post PM
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (1 reviews)

Bid On This Project
 

Description

I have a year of actionscript 3 under my belt, but this is a little much for me: There is a flash file that I am trying to edit, generated by XML content. The stage in Flash CD4 is empty, save for an actions layer that has functions and links to other script(s).as files. I have included relevant files to the actions I need done, but you will have to rename "board - Copy.as" to "board.as".

________________________________________________________________________
Current Behavior:
There is a floating horizontal 3D Menu bar that is dynamically created from XMLX.xml that determines four things for each entry (see example below). Depending on the style of submenu selected, you get various dynamic sub-sub menu/content. Style 15 & 25 generate vertical bars of submenu options.

Example: THis would show a menu bar with three menu items, "NEWS" "VIDEOS" and "FOLIO". The f="" is the name of the xml file to search for when loading submenu content. the p="" determines the type of submenu to load (three types, 15 is a folio, 25 is a video, and 35 is news/info).

*EXAMPLE INSIDE XMLX.XML*
<Menu id="menu">
<dat f="news" p="35" colorA="B1EB3F" colorB="2A90A6">news</dat>
<dat f="videos" p="25" colorA="E5D3AA" colorB="F22D1B">videos</dat>
<dat f="folio" p="15" colorA="9E927C" colorB="E5D3AA">folio</dat>
</Menu>

*EXAMPLE INSIDE VIDEOS.XML (SAME AS IN FOLIO XMLs)*
<Mashup>
<Data>
<dat text="Tilte1" color="90C70C">
<Thumbs>
<dat thumb="dat/Images/Folio/thumb1.jpg" title="Tilte1" des="voluptatem accusantium" flvPath="dat/Videos/video.flv"/>
<dat thumb="dat/Images/Folio/thumb2.jpg" title="Tilte2" des="accusantium" flvPath="dat/Videos/video.flv"/>
</Thumbs>
</dat>
<!-- More Options for <dat text="" color=""><Thumbs><dat /><dat /></Thumbs></dat> -->
</Data>
</Mashup>
__________________________________________________________________________
WHAT I AM LOOKING FOR

I am looking for a new p="" option that will generate vertical menu options dynamically (just like 15 & 25), but when clicking on the submenu item(s) it goes to a dynamic URL based on input in an XML file.


*EXAMPLE INSIDE XMLX.XML*
<Menu id="menu">
<dat f="links" p="45" colorA="333333" colorB="FF0000">links</dat>
<dat f="news" p="35" colorA="B1EB3F" colorB="2A90A6">news</dat>
<dat f="videos" p="25" colorA="E5D3AA" colorB="F22D1B">videos</dat>
<dat f="folio" p="15" colorA="9E927C" colorB="E5D3AA">folio</dat>
</Menu>

*EXAMPLE INSIDE LINKS.XML*
<Mashup>
<Data>
<dat text="SiteLink1" color="90C70C" link="http://www.sitenumber1.com" />
<dat text="SiteLink2" color="90C70C" link="http://www.sitenumber2.com" />
<dat text="SiteLink3" color="90C70C" link="http://www.sitenumber3.com" />
<dat text="SiteLink4" color="90C70C" link="http://www.sitenumber4.com" />
<dat text="SiteLink5" color="90C70C" link="http://www.sitenumber5.com" />
</Data>
</Mashup>

... and the function that does the submenu click...

public function _prsFnc() {
if (_rot._mPrsB) {
return;
}
if (!_bol) {
_rot._cZmd = true;
_alphF();
Tweener.addTween(_rot.view.camera.target, {x:_actvMnu.x,y:_obj.y,time:0.7, transition:"easeOutCubic"});
Tweener.addTween(_rot.view.camera, { x:_actvMnu.x, y:_obj.y, z:_obj.z - 1000, zoom:10, time:0.7, transition:"easeOutCubic", onComplete:function() {;
_rot._stgQltyF(true);
}});
_rot._sbNmb = _ir;
_rot._sbNmbx = _i;
_bol = true;
} else {
_rot._dsplyFlo();
}
}
_________________________________________________________________________
I happen to know it shouldn't take long for someone that actually knows ActionScript 3.0, but it's just out of reach for me.


Additional files submitted:
Board+-+Copy.as

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

    There are currently no visible bids.

    Bid on this Project