Adding links to "empty  clip" menu

I have this menu, that auto-henerates.
How do I include the url I want on "on click?"
thanks
menuholder = createEmptyMovieClip("menuholder", -1);
menuholder._x = centerx;
menuitems = [];
labels = ["Animation", "Art", "Automobile", "Concept",
"Consulting", "Cosm", "Coul", "Design", "Illus", "Institutionnel",
"Interface", "Multimedia", "Packaging", "Print", "Proto",
"Supports", "Transports", "Web"];
miheight = 20;
miborder = 1;
starty = centery-((labels.length-1)*(miheight+miborder))/2;
for (var i = 0; i<labels.length; i++) {
var menuitem = menuholder.attachMovie("menuitem", "menu"+i,
i);
menuitem._y = starty+i*(miheight+miborder);
menuitem.id = i;
menuitem.label = labels
menuitem.onRollOver = function() {
_root.selected = this;
menuitems.push(menuitem);
onEnterFrame = function ()
var height = 0;
for (var i = 0; i<labels.length; i++)
var xxm = menuitems._xmouse;
var yym = menuitems
._ymouse;
//trace (menuitems.label + " xx : "+ xxm + "yy :" +
yym);
var ym = Math.sqrt(xxm*xxm+yym*yym);
//if (ym<50) {
if ((Math.abs(yym)<(miheight+15)) &&
((xxm>-(miheight+15))&&(xxm <150))){
ym = Math.min(ym,50);
menuitems
._yscale = menuitems._xscale += ((200-ym)-menuitems
._xscale)/3;}
else {
menuitems._yscale = menuitems
._xscale += (100-menuitems._xscale)/3;}
height += menuitems
.height;}
height += (labels.length-1)*miborder;
var ypos = Math.round(centery-height/2);
for (var i = 0; i<labels.length; i++) {
ypos +=
menuitems[i-1]._height/2+miborder+menuitems._height/2;menuitems
._y = ypos;}

I think you need to do the following:
var newRow:Object = {};
companyList.addItem(newRow);
companyList[companyList.length - 1].pkey =
companyList[0].pkey;
companyList[companyList.length - 1].name =
companyList[0].name';

Similar Messages

  • [svn:fx-trunk] 11661: If an item is added to an empty ListBase and requireSelection=true, then select it.

    Revision: 11661
    Author:   [email protected]
    Date:     2009-11-11 10:48:10 -0800 (Wed, 11 Nov 2009)
    Log Message:
    If an item is added to an empty ListBase and requireSelection=true, then select it.
    QE notes: Mustalla tests/gumbo/components/List pass
    Doc notes:
    Bugs: sdk-24100
    Reviewer: Ryan
    Tests run:
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-24100
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as

    includeInLayout="{choicesTilelist.selectedItem.productoptiona != '' }"
    would work..which one is the data provider for the tilelist??? XML or the array collection???
    you can do
    includeInLayout="{data. productoptiona !=''}"      wat ever is the logic behind it...
    if you post more code that can help us to imagine more clearly...

  • Added Link at messageLovInput through personalizaton and getting error

    Hi Friends,
    While creating work order in eAM, Material Requirements secon is there, there we can find Item messagelovinput field. My clients wants to check Item details while selecting the item (long desc, on hand quantity etc..). For getting this functionality developed one custom page with item details and calling that page using link at item lov.
    1) added link at results table of Item lov and given at destination URI as follows
    OA.jsp?page=/xxnwc/oracle/apps/eam/workorder/webui/XXNWCItemDetailsPG&addBreadCrumb=Y&org_id={@OrganizationId}&inv_id={@InventoryItemId}.
    Issue
    1) open Item lov click on go --> we will get item in results table --> click on item details link --> open new custom page
    2) click on quick select at item then getting error like as follos
    Error: Cannot Display Page
    You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's
    navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Please let me know how to resolve this issue.
    For replicating issue you can go
    Responsibility: Maintenance Super User > Work Orders tab> then go to “Material Requirements” section. > add link to Item lov
    Thanks in Advance,
    Hanimi.

    I'm a great fan of problems magically fixing themselves ... always breathe a sigh of relief if that happens during a troubleshoot.
    I was wondering about trouble with a piece of album art initially. But if that was afoot we'd expect the synch to be always dying on the same song (or songs from the same album).
    Perhaps it's just that the USB connection is getting grumpy during a *really long* sync. If that's what is going on, we could be able to make some progress by moving the music across in smaller batches.
    Switch the iPod over to manually managing content. Select a chunk of songs ... say, about 1.5 GB-worth, and copy them over.
    Does that complete successfully? If so, select another batch of about 1.5 GB, and copy them over, and so on until you've got the songs on. Once you've done that, you can switch her back to your preferred auto-sync settings.
    Any better luck getting stuff on in stages like that?

  • Adding links in dreamweaver accordion

    Hey Guys,
    I'm having trouble adding links inside my dreamweaver
    accordion menu. Basically they don't display at all? Does anyone
    know why?
    Thanks
    Shell

    Let's see your code, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "shelleyfish" <[email protected]> wrote in
    message
    news:g6cf49$3v1$[email protected]..
    > Hey Guys,
    >
    > I'm having trouble adding links inside my dreamweaver
    accordion menu.
    > Basically they don't display at all? Does anyone know
    why?
    > Thanks
    >
    > Shell

  • TS3276 An email sent from my iMac has a button linked to a clip hosted on Vimeo. When received, the link functions on iMac and iPad, but opens a window of app icons on iPhone and iPod touch. Any ideas what's wrong?

    An email sent from my iMac has a button linked to a clip hosted on Vimeo. When received, the link functions on iMac and iPad, but opens a window of app icons on iPhone and iPod touch. Any ideas what's wrong?

    For anyone else reading this thread, it is worth knowing that sometimes an email is, or can be, corrupted thereby jamming the works. The solution above is good, but I just wanted to suggest another one.
    If the problem arises, go to an online mail access service, such as Mail2Web.com and login to you mail account there and delete the offending message.
    Problem solved.
    And George, as this is all entirely voluntary, whinging about no takers may not endear people to you. Besides which, a few minutes of searching on Google would have found you a number of solutions.

  • How do I designate an e-mail to use to "send a link" from the File menu?

    When I have a web page open that I want to send to someone through my e-mail, I try to use "Send Link" in the File menu. When I click on it, nothing seems to happen. How do I link that command with my e-mail account?

    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • How do you link two audio clips to one video clip?

    Hi guys,
    I want to think multiple audio clips to one video clip and aint know how to do it! I found this page on Adobe knowledge base:-
    http://livedocs.adobe.com/en_US/PremierePro/3.0/help.html?content=WS1c9bc5c2e465a58a91cf0b 1038518aef7-7f40.html
    It says you can do it but I don't think it explains how? Can anyone provide me with the simple steps required to link two audio clips to one video clip? Many thanks.

    Do you mean manual syncing? I've been reading this thread about workaround, which aren't working for me: http://forums.creativecow.net/thread/344/21236
    But the question they are asking is the same one I am asking. Isn't this a typical situation, having multiple mics for one camera? For example, if someone filmed a concert with one camera but used both the camera audio, and ambient mic, and a mix from the board, then that would be 3 audio tracks with 1 video track. I'm in a similar situation, and I'm finding it hard to believe that FCPX isn't equipped to edit this way. There must be some way to get one video clip (with reference audio) to sync with four audio tracks.

  • How to link the main site menu to an anchor on a subpage?

    How to link the main site menu (masterpage) to an anchor possition on a subpage? Is that possible. I would like the the contact menu to link to specific anchors  location contact FAQ hours. The way I do it now. I have to create seperate html pages, I would rather do it on one page. Thanks
    http://beta.tmj-sleep.ca/index.html

    Hello,
    To link a website Menu to anchors on any page in the website, you need to create a manual menu using the Menu Widget. You can change Menu to a manual Menu by clicking on the white arrow in Blue Circle which comes up at the top right of the Menu (Menu properties) and select the Menu type as Manual. Please have a look at the screenshot below :
    Now you can add change/add the text there and when you select the text/menu item then from the Hyperlink drpdown at the top in the toolbar, you can select the name of the anchor on any page of your website.
    Anchors are listed in Hyperlink dropdown in this format - Page Name:Anchor Name.
    Hope this helps.
    Regards,
    Sachin

  • Where is the Just added link in iTunes 10.7

    Updated to iTunes 10.7, where is the Just Added link hiddden, It was there last week.

    The "recent releases" is all that seems to be available now. Whether the old "just added" section will ever reappear, no one here can say. You can express your desire for that section via Apple's feedback page, if you wish:
    http://www.apple.com/feedback/itunesapp.html
    It's been removed before and then reinstated, so it's possible they'll bring it back.
    Regards.

  • Link in a DVD menu to link to text files such as Word, Adobe PDF's ect

    Hello All
    Is there anyway to put a link in a DVD menu to link to text files such as Word, Adobe PDF's etc that are burned into the DVD?
    Hope someone can help me out.

    Is there anyway to put a link in a DVD menu to link
    to text files such as Word, Adobe PDF's etc that are
    burned into the DVD?
    Actually, you CAN'T with iDVD. You CAN put a variety of content into the DVD-ROM area, but that isn't accessable from any menu in an iDVD created DVD.
    If you use DVD Studio Pro, you have some ability to add the kind of links you ask about.
    F Shippey

  • Linking two video clips together

    I cannot find the way, how to link two video clips together so, that when moving one, the linked clip follows.
    Is there a way of doing that?
    The manual gives nothing with words: "linking video clips".
    Message was edited by: TRST

    You can't link video clips to each other. You can nest them. Put the two clips in a sequence the way you want them. Put the sequence with the two clips inside your master sequence. They will act as a single clip. That's the only way.

  • Create Data Link missing from tools menu in Labview 8.5

    I've updated to Labview 8.5 and cannot locate the "Create Data Link" under the "Tools" menu. What happened to it ?

    The "Create Data Link" is available in LabVIEW 8.5, and is found under "Tools" on the toolbar.  Make sure that you have the Database Connectivity Toolset installed correctly.  Please let me know if this helps, thanks!

  • Art used in ID documents used to display in the links panel. Now links is empty.

    Photoshop art used in ID documents used to display in the links panel in IN_CS6 on a mac. Now links is empty.
    Where did the links list go???

    Are you sure the art is linked and not pasted? Can you select it, right click and choose edit original? If you can and the links panel is empty you probably need to trash the prefs: Replace Your Preferences

  • Yahoo link in the Personalize Menu not working

    Hi,
       When I click the 'Yahoo Account' link in the Personalize Menu ( of EP6.0)  it throws an error ( 'Yahoo! connection failed. Please verify the server ID and Password').
       I am aware that our Portal is configured inside the DMZ zone and an out siude internet vconnection is not made from Portal.
       Can anybody know where can I canfigure so the 'Yahoo Account link' works for me for the Portal(EP 6)
      Thanks
    Arunabha

    Incase we don't want to modify the sap standard role EU_ROLE , can we copy into a custom role?
    If we don't want to do that either, can we have aq meaningful message instead of 'Server ID etc missing' so that this doesn't confuse the users.
    Thanks
    ARUNABHA

  • Looking for a 'view link target source' context menu item

    I'm looking for a 'view link target source' context menu item.
    I often open listings of servers' directories; they can include direct links to code files (*.py , *.pl, etc). When I click them directly, I'm asked to open them with an external editor which is not what I want to do; I want to view those files source inside of Firefox. I currently have to
    # right-click those links,
    # copy link location,
    # type "view-source:" in the Location bar,
    # paste the copied URL,
    # click Go.
    This gets time-consuming with the large amount of URLs I need to open.
    It's not a native feature for Firefox and a search at [http://addons.mozilla.org AMO] didn't come up with anything useful, for me at least.

    Hello,
    particularly, I performed the following steps:
    1. I created a SC in the local repository, which matches the SC of the track.
    2. I moved the exisiting DCs to the SC created in step 1.
    3. Now, I created new DCs in the SC in the track.
    4. I deleted all .project files from the local DCs.
    5. I copied all source files from the local DCs to the new track DCs.
    6. I checked-in these changes to the track.
    Kind regards
    Alexander

Maybe you are looking for

  • Can I use Time Machine for Subversion?

    I need a free, simple way to back up files in a programming project so that I can archive older files and roll back to them if needed. -I am working by myself. -I want to manually decide when to back up. -I expect to submit multiple days worth of bac

  • Insert/Retrieve chinese character into/from MS Access

    Hi all, I want to know if there is concrete answer for the problem of maintaining chinese character in MS Access using jdbc/odbc. I have searched the forum but seems there is no working solution, am I correct? I am writing a db maintenace program in

  • Qestion Regaring SRM InfoProvider: ITM_DELIV_DATE

    Hi All, I'm hoping to get some help here: 0DSDEL_DATK (Requested Deliver Date.  This is a field in BW) is in DEC format while the source infoobject from SRM, ITM_DELIV_DATE, is in DATS format (yyyymmdd).  The infoobject ITM_DELIV_DATE (in SRM) is ass

  • Self service - request for groups - OIM

    I would like to allow end-user to request groups from end-user interface? I would appreciate your guidance... Out of the box only resources are available for request.

  • I took my 16 gb SD card out of my Galaxy S3 and it will not work in my S4...

    Just wondering why my SD card will not work in my new phone... Its very frustrating. I took it out of my S3 last night, and put it directly into my new S4 and it wont mount.. I put in a different card and it worked fine@ .. Any way to retrieve all my