login
Forgot?
Login with Facebook

Don't have an account? Register one now!

ActionScript 3 Menu in Flash CS4

Bids 
8
Avg Bid
N/A
CLOSED
  • Project ID:

    547808
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

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.

________________________________________________________________________
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.

Skills required:

Flash

Additional Files:

flashindex.fla Board.as

Project posted by:

avengineer United States
(1 Reviews)

Last seen:

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


Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids. You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

All Bids ()