Adding second function

This is a noob question. Here is my current code. Clicking on
the button plays the video in the player, so far so good. I would
like for an image to appear beside the player as well, preferably
it would fade in. I just don't know where and what code to add so
the image appears. Please help!
trace("img="+voi);
voi.addEventListener(MouseEvent.CLICK, pm);
function pm(e) {
trace("pm");
video.play("
http://www.imaktion.com/videos/fatima.flv")

I tried the following code and it seems to work, although I
haven't been able to integrate the fade in, but for now this is
fine.
thanks, for your help!
voi.addEventListener(MouseEvent.CLICK, pm);
function pm(e) {
trace("pm");
video.play("
http://www.imaktion.com/videos/voisins.flv")
var imageRequest:URLRequest = new URLRequest("
http://www.imaktion.com/images/dvds_3d/voisins-web-3d.png");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
imageLoader.y = 200;
imageLoader.x = 530;

Similar Messages

  • Question on adding one function to a submenu

    hi,dear all.
    I added one function to a menu.
    my question is I can find it from the forms navigator page but why I can not find it from the initial navigation web page ??
    thanks in advance.

    What is the application release?
    I added one function to a menu.
    my question is I can find it from the forms navigator page but why I can not find it from the initial navigation web page ??Please mention the steps and the navigation path you follow to reproduce the issue.
    Thanks,
    Hussein

  • "Date/Time To Seconds" Function does not respond to "fractiona​l second" input

    The "Date/Time To Seconds" function (contained in the Fuctions\Programming\Timing - Palette) does not respond to the "fractional second" input (see attached example).
    Reimar Spohr
    Attachments:
    Date-Time To Seconds VI Example.png ‏18 KB

    Instead of creating a new post, you should have posted this in the original thread, where people already tried to help you. Please keep the discussion in that thread.

  • Error adding partner function

    I am a newbie. I am trying to configure SD on my IDES.
    I am at the point of adding partner function (Z9) to the partner procedure (ZAG)
    but I am getting an error message:
    "Partner function Z9 cannot be used for partner procedures"
    I cannot find the answer in google.  please help.
    [click for image|http://i1181.photobucket.com/albums/x421/darkmatter1/196235/pfunction.jpg]

    Hi Anwar,
    Please check the parner function-account group and partner determination  procedure-account groups are assigned properly or not from
    SD >> basic functions >> partner determination >> set up partner determination >> Set Up Partner Determination for Customer Master,sales doc. header etc. which type partner determination you want to maintain if you want to maintain them for customer.
    In that screen, you need to maintain (Z9) to the partner procedure (ZAG) after doing Partner Determination Procedure Assignment and Account Groups - Function Assignment.
    I hope these will solve your problem.
    Regards,

  • Adding subtitle functionality to my custom flv player

    Hey all,
    I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.
    I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.
    I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.
    Can anybody help me as I just can't find anything on the internet.
    Any advice is welcome!
    Thanks
    egr103

    Well the problem is that I can't find any tutorials or help about getting a subtitle toggle button into my custom flv player, an example of which can be found here: http://idl.newport.ac.uk/dev/customplayer.html
    I don't like using the FLVPlayback component built into flash as it is too clunky but at the moment that is the only way I can get subtitles to toggle on and off (using the FLVPlaybackCaption component).
    Ideally I would like to use an XML file to do the subtitles. Any ideas?

  • Adding a function once a scrollpane has loaded

    Hi
    I have a scrollpane but need to put the scrollbar on the left. I've used the code:
    _root.scrollPane.vScroller._x = 0;
    This only works once the scrollpane has loaded. Could anyone help me with setting up a function/listener? I'm useless with listeners so any help would be appreciated. I've tried on(complete) with no success. I've also heard an "added" event listener may be the answer, but I've not managed to succesfully set that up.
    Thanks
    Simon

    in as3 you should use the added event and then position using the verticalScrollBar property of your scroll pane:
    sp.addEventListener(Event.ADDED,f);
    function f(e:Event){
    sp.verticalScrollBar.x=0;
    oops.  wrong forum.  delay by some time and then change your scrollpane's vScroller (or vSB) property.  if you're loading content into your scrollpane you can use the complete event.

  • Seconds() function issue on Quad Core CPU

    Hello,
    I am noticing some timing issues using Seconds() function on a Quad Core computer. The optional boolean in Seconds() is True (by default). 
    With Core 2 Duo CPUs, the seconds() function is reporting elapsed time (since TestStand startup) correctly. However, I noticed on a Quad Core CPU that the seconds(True) function reports ~0.5s every 1 second. In other words, seconds() elapsed is incorrectly reported. Has anyone observed such issue?
    When the boolean parameter is set to False [i.e. Seconds(False)], there is no problem observed on Quad Core CPU.

    Howdy Troy,
    I don't have a quad core to duplicate your issue, but it sounds plausible. Since this is an older version of TestStand that was developed before multicores went mainstream, this very well may be expected behavior.
    You might instead call directly into the Windows API using kernel32.dll--particularly one of these functions:
    GetSystemTime
    GetSystemTimes (for multicore)
    GetTickCount
    External Link: MSDN: Time Functions (Windows)
    Judging from the nature of your question, I think GetTickCount would suit you best.
    I hope this helps!
    Warm regards,
    pBerg

  • Adding a function module into a SQ01 Query

    Hi ABAP Gurus,
    I was trying to extract few dates from TSEGE Table, by linking the VTTK - HANDLE. We are trying to look at maintaining dates of shipment that were not previously used in our company.
    When I tried extracting the dates from TSEGE, they come as timestamped UTC. I was told to use the function module IB_CONVERT_FROM_TIMESTAMP with CET in a query by an external consultant we use for our services. I am familiar with creating simple queries in SQVI and convert them to SQ01, also I know to create queries in SQ01 itself. But do not know how to add a function module into an SQ01 Query.
    After checking a few threads, I realise that I should be creating a field and entering the code of the function module.
    Is there any way, anybody could instruct me in simple terms how do I go about adding a function module.
    Your help will be greatly appreciated.
    Thanks in advance!

    Dear Jogeswara,
    I have after reading a few threads, understood this small code and changed to my specification
    To convert UTC Start time from TSEGE
    CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
      EXPORTING
        I_TIMESTAMP = TSEGE-EVEN_TSTFR
        I_TZONE = CET
      IMPORTING
        e_datlo = date
        e_timlo = time
    To convert UTC Start End from TSEGE
    CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
      EXPORTING
        i_timestamp = TSEGE-EVEN_TSTTO
        i_tzone = CET
      IMPORTING
        e_datlo = date
        e_timlo = time
    I hope the above codes are correct. If yes, I have a doubt: TSEGE-EVEN_TSTFR & TSEGE-EVEN_TSTTO have different time in the same field, "Actual" & "Forecast", which is determined by TSEGE-EVEN_VERTY wherein 1 is Actual and 0 is Forecast. Is this something I would have to put in the code, or something that would work in the query "Selection Fields"?
    Thanks again!

  • Illustrator Freezing When Adding Second 3d Revolve

    Hi,
    I've been using Illustrator for almost 48 hours now in an effort to make a 3d logo for my next website and everything has been going fine until I try to add a second 3d revolve effect to a globe containing letters. Whenever I do this Illustrator stops responding at multiple points during the process and freezes permenantly when I click ok and the loading bar for "rendering artwork" is halfway through.
    I've tried making Illustrator a high priority process in Windows Task Manager, but that does not help. I don't have many other programs running and the ones that are (Firefox, FileZilla, Notepad) don't use up much system memory. When frozen Illustrator only takes up 50-60% of the CPU and about 600MB of memory.
    I am running Illustrator CS5 on a Windows 7 PC:
    Processor: Pentium(R) Dual-Core CPU E5700 3GHz
    RAM: 4 GB
    The desired end result I am looking for is nearly identical to the following image, but with the name of my site instead of "breaking news":
    http://www.clipartof.com/portfolio/stockillustrations/illustration/3d-black-red-and-silver -breaking-news-globe-212078.html
    Is Illustrator capable of making such an image?

    ...I try to add a second 3d revolve effect to a globe containing letters. Whenever I do this Illustrator stops responding...
    It would not be at all surprising for a double-application of 3D Effect to cause it to perform at such a crawl as to make you think it crashed--or to actually make it crash. You're misunderstanding AI's 3D Effect.
    Do not apply multiple applications of 3D Effect to the same object. Even if it didn't hang, the results would not be what you expect. For example: Forget about the orbiting text; I'll get to that in a minute. Suppose you just have a 3-character word, "Not", converted to paths. The paths are filled, and unstroked, as they should be. You apply 3D Extrude with no bevel. 3D Effect builds a 3D model of that, and then renders it as a group of flat, 2D paths. So far, so good.
    But now you apply 3D Extrude again. By doing that, you've just told Illustrator to apply 3D Extrude to each of those flat 2D paths that make up the rendering of the first extrusion. You are not adding a combination of two 3D transformations, one being the extrusion and the other being a rotation. Even if it did finish rendering, the result would be a hideous mess, not at all what you are expecting it to be.
    Your example looks simple, and it would be for any full-featured 3D modeler, and even for Adobe Dimensions, which is what AI's 3D Effect is based on. But AI's 3D Effect is a very dumbed-down subset of that functionality. It is merely AI's long belated answer to the cheezy simple headline extrusions that are common in every cheap drawing program, and even in Office applications. It's technically better than those in ways particular to vector drawing in a Bezier drawing environment, but it's still really just intended for the simplest 3D transformations: Simple extrusions, lathes, and planar rotations of a headline or image; and a limited ability to map artwork onto the resulting surfaces.
    Your example requires each text character outline to be extruded (which 3D Effect can do), while also orienting each of those extrusions individually and differently within the same 3D coordinate system (which it can't).
    You could very tedously fake the construct you are trying to build by actually extruding and rotating each and every character outline individually, then simply arranging and stacking them on the page so as to merely look like it is one model. But you simply cannot have multiple objects at different XYZ orientations in a slingle model in AI's 3D Effect. That's the debilitating limitation that anyone familiar with its predicessor, Adobe Dimensions, have been complaining about in this forum ever since 3D Effect appeared.
    JET

  • Migration assistant added second user did not merge data: iTunes

    I set up my new mac at the store then came home and connected my OLD iMac to the new via Firewire. I used Migration Assistant, and the migration took about 90 minutes. When it was done I had two parallel usernames; my old username with the old desktop look and stuff and the new computer's username I set up with the clerk at the Mac Store. Now I have two separate users on my computer, complete with two separate iTunes. When I look in the finder under Macintosh HD/Users, I see an icon for the new user (the little house) and a folder labeled with the old username but it has a red "negative" circle over it (like a push icon on an iPhone, but with a minus sign in the middle), plus a Shared folder.
    The weird thing is that all the documents and stuff merged, but I have to go to the old user to use iTunes. My old computer did also have 2 users (why? I have no idea) and it brought the iTunes library I did not use in, but not the massive library I do use in. I teach a fitness class and have about 100 unique playlists and ALOT of music on that thing - but the wrong library was brought in. Now I have to switch back to the old user to use iTunes and that just seems silly. I have tried 'add to library" to try to bring the stuff over but it can't see into the other user I guess.
    Any suggestions? It is so frustrating that my whole library is there but I can't access it on the new user after spending all that money.
    Thanks!

    Read here on why a second user was added and how to remedy.
    http://web.me.com/pondini/AppleTips/SetupAsst.html
    Regards,
    Captfred

  • "The Connection to Microsoft Exchange is unavailable" when adding second Exchange account to Outlook 2013

    I have a problem that I've found to be typical, just haven't found anything that describes my exact problem.
    I'm having trouble adding a second Exchange 2010 server account to Outlook 2013 in one of the computers of the domain. Outlook 2013 will complain with "The Connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete
    this action".
    I've Googled and found many threads with the same error... however most of those seem to be either a problem with the server, or the Global Catalog in Active Directory, or the "connection method" (I've tried all found solutions to no avail).
    This is not the case, since the first account is added with absolutely no problem. It can send and receive and I can delete the outlook profile and recreate it and it'll give no problems. I have this problem only when adding a second account.
    This is a fresh Windows 8.1 install with an up-to-date Outlook 2013. I have other computers in the same domain and network, with the same setup (Win 8.1 + Outlook 2013) configured with two exchange accounts with no problem.
    There are no connectivity problems, I can access that same account through OWA and in other computers on the network... the Global Catalog seems to be fine (shows two active DCs, which is correct).
    I've tried deleting and recreating the outlook profiles, repairing the outlook installation, even deleting all outlook files in AppData and letting it recreate them, with no success.
    Any hints of what could be going on?
    Before I speak, I have something important to say.

    Hi Javier,
    Thank you for the update.
    I have tested on my lab and get following result.
    Lab: Exchange 2010, CAS Array (CAS01+CAS02), MBX01, DC
    Type Server Field
    Check name result
    Changed Server Field
    CAS01.domain.com
    Yes
    CASArray.domain.com
    CASArray.domain.com
    Yes
    CASArray.domain.com
    DC.domain.com
    Yes
    CASArray.domain.com
    MBX01.domain.com
    No
    "The Connection to Microsoft Exchange is unavailable"
    Based on my knowledge, the reason why inputing DC FQDN in the Server Field fixes this issue is that Outlook performs AD Lookup and finds the account configuration from AD, then back the CAS Array FQDN in the Server Field  instead of DC FQDN.
    Exchange 2010 is different from Exchange 2013, if you are using Exchange 2013, we need to input MailboxServerGUID.domain.com into Server Field.
    If there is anything I’ve misunderstood, please don’t hesitate to let me know.
    Thanks,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Getting Runtime error while adding Second page in Smartform.

    I added 2 pages in smartform. When I worked with single page. smartform working properly. Now I added one more page(i.e Second page) I am getting runtime error.  ("The current ABAP/4 program encountered an unexpected
    situation".   A RAISE statement in the program "SAPLSTXBC" raised the exception
    condition "ERROR".)   When I debug this standard program Something width problem getting on line number 110. Both width not matched so program raising exception. Can you please tell me to solve this problem what changes will I do in my smartform?

    Please let me know the details of each page.
    Error can occur in these cases.
    1) You copied the first page to second. and later you change the width of second page
    2) You created the second page and there is template in second page. each column width is not matching with the total width of the template.
    3) windows width is greater than the page width
    Please have a look.
    Regards,
    Nikhil
    Edited by: Nikhil V Kumar on Jul 27, 2010 12:16 PM

  • Time Capsule No Longer Backs Up First Computer After Adding Second Computer

    I'm new to this forum and I apologize if this has been answered elsewhere.
    I have a 1 TB TC. I used it to begin backups on my MacBook Pro (OS 10.5.6). I did the first backup on 1/4/09 and, up until today, it has been working very well, with hourly backups, as it is supposed to. Today, I added my wife's PowerBook (also 10.5.6). After the first backup (by ethernet link), it now performs hourly backups on hers. On my MacBook, however, it reports "preparing to backup" for hours, with nothing happening. Again, everything was fine on my computer, until I added the second one.
    Any idea what might be happening?
    Thanks,
    Marty Hewlett

    Problem is solved. It turns out that I had three events that occurred, only one of which caused my problem. As you suggested, adding a second computer had nothing to do with it. A second, unrelated issue had to do with my Cannon scanner driver. An old driver version was producing the Console readout about vendor and device. The real issue was that I had experienced a screen freeze and had to to a forced restart. That likely produced the "deep transversal" discussed in the link to which you referred. In any case, waiting an appropriate length of time finally produced the back up. Everything seems normal at this point. Thanks for the help.
    Marty

  • Best / most popular software or scripts for adding search function to website?

    I'm trying to find a good piece of software or script for implementing a site search function into our website.  I am relatively knowledgeable in Dreamweaver and can write CSS and XHTML at the fairly intermediate to advanced level, as well as work with JavaScript and js files, but I don't really know much ASP or "by hand" Java coding.  Their are so many scripts and software out there for adding a site search that it's hard to sort through and narrow down.  I was hoping to find reviews of the popular ones or "top 10 lists" of some sort that would help me pinpoint a good one, but can't find anything like that.  These are the primary needs of the website:
    --Has under 50 searchable pages that won't change much and probably won't exceed 50. There are product part numbers and descriptions for some 250-300 part numbers, spread across only 24 of those pages.  The remaining pages are important but no part numbers-- About Us, News, Where to Buy, History, Featured Products, etc.  The product pages are very much like an online store but we don't sell directly on the site (only thru distributors/reps).
    --We are trying to keep the price under about $50, or use a free solution
    --The pages are all static XHTML+CSS pages, but our server can run ASP (we have another website for one of our other product line divisions, on the same server, with many more products beyond 1000, which was programmed completely in ASP by an outside company about 4 years ago).  We self-host both sites.
    --Our server can't run PHP
    --The search capabilities need only be rather basic-- a keyword search with a results page that uses the same design template as the rest of the site.  It would be nice, but not mandatory, to have a search filter and/or a drop down menu to enable selectively searching only certain parts of the site, or only product/part number search vs. general search, etc. (but again, not mandatory).
    --I do have a sitemap page already on it, if that matters or helps
    Some of the ones I've found so far that looked the most promising include:  Zoom Search Engine (http://www.wrensoft.com/zoom/), Site Search Pro (http://www.site-search-pro.com/), and FX Site Search which is a DW Extension I found in the exchange (http://www.felixone.it/extensions/prod/mxssen.asp)-- (that one looks possibly technically challenging or requiring more ASP skill, though)
    Forgive me if there is a better area to post this, if so let me know.

    For a static site, your options are:
    Google ~  http://www.google.com/sitesearch/
    Freefind ~ http://www.freefind.com/
    Zoom from Wrensoft ~ http://www.wrensoft.com/zoom/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Error adding new function in order template

    Hi,
    When i am trying to add a new function to order Template under /contolData/Functions/ form data dictonary
    I am getting error :
    Element with same name exist.The following nodes can not be added to the order.
    (no namespace):/ControlData/Functions/MyNewFunction
    (no namespace):/ControlData/Functions/MyNewFunction/componentKey
    Thanks
    Harman

    Hi Harman,
    You might need to be more specific before I can help you. What have you done, and which step you run into the error? I supopse you have created a new "function" Order Component, and created the required Control Data nodes in Data Dictionary (what have you added?), right? So, when you go into the Order Template tab of the new Order Component (which would be empty since it was newly created), and you try to "select from Dictionary" the corresponding ControlData for the function (e.g. /ControlData/Functions/MyNewFunction), that such an error occurs?
    Have you assigned a process for this Order Component? Studio does not allow adding control data to it unless a process is assigned.
    Btw, you should define a namespace for your Order Components (and other orchestration entities). The OSM server uses namespace to locate these entities among cartridges.
    Cheers,
    Daniel Ho
    Product Management -- OSM

Maybe you are looking for