Flash sprites user response

When integrating Flash with Director - I have always in the
past done the
following:
on (rollOver) {
getURL ("lingo:cursor 280");
on (rollOut) {
getURL ("lingo:cursor 0");
on (release) {
getURL("event: gotoQ3PDF");
I have always done the above as flash objects do not respond
to mouse
events - on rollOver and rollOut the basic, single lingo
command to change
the cursor, then on release I am executing an event (to
perform multiple
lingo commands) restoring cursor, goto frame/marker, etc...
Has anything changed recently where you can do anytype of
"global"
command/script the does this across the board or does it
still have to be
hand-coded for each button in flash?? Our London office is
doing some
elements for us (in the US) for a CD project where there is a
number of
buttons in multiple flash movies....
Thanks in advance!!!

Thanks Rob --
Dir MX2004 (w/flash 8 asset/xtra update) - Flash 8
Excellent! Yes -multiple buttons (menu's) within individuals
swf's
Much better approach - as I am currently manually scripting
individual
events for each button - on(release)...
Appreciate it!
Michael
"Rob Dillon - Adobe Community Expert"
<[email protected]> wrote in
message
news:[email protected]...
> What version of Director and what version of Flash are
you working with?
>
> There is a Flash cursor behavior in the Director Library
that will
> handle the cursor change in Director, so you don't have
to use getURL
> for that part.
>
> What sort of action do you want to perform with these
Flash buttons?
> From you example it looks like you want some simple
navigation control
> in Director. Is each button a unique Flash .swf? Or do
you have a number
> of buttons in one Flash .swf? If each button is
separate, then you could
> just write a behavior as if the Flash sprite was any
other button.
>
> If you have multiple buttons in any given .swf then
you'll have to send
> out a message from the .swf to initiate an action. There
is a
> mouseOverButton property for Flash members, but it can
only tell if the
> cursor is over a button, not a particular button.
>
> To give you flexibility and maybe simplify things, you
could use a
> getURL function in a behavior and set up a naming
convention for your
> Flash buttons. For instance, if you have four buttons in
a Flash .swf,
> name their instances sequentially, "one", "two", etc.
then you can write
> a simple actionscript function for the .swf:
>
> var buttonArray:Array = new Array(one,two,three,four);
>
> for (i in buttonArray) {
> buttonArray
.onRelease = function() {
> getURL(this);
> }
> }
>
> this will send the name of the button instance that was
clicked on to
> the Director movie.
>
> Then you can just place a behavior like this on the
Flash sprite:
>
> on getURL me,data
> if data contains "one" then ....
> end
>
> or use a case statement to parse out the string that was
sent from the
> Flash .swf.
>
> This might at least simplify the Flash development
process.
>
> --
> Rob
> _______
> Rob Dillon
> Adobe Community Expert
>
http://www.ddg-designs.com
> 412-243-9119
>
>
http://www.macromedia.com/software/trial/

Similar Messages

  • Load flash cast member in the root of flash sprite (is possible?)

    load flash cast member in the root of flash sprite, is
    possible?

    i explain better, the user must download the projector from
    internet and i
    want protect the swf files include these in one exe
    application
    this is what my client want
    tnanks
    "Rob Dillon - Adobe Community Expert"
    <[email protected]> ha
    scritto nel messaggio
    news:[email protected]..
    > I'm not sure when or where you would need this
    functionality. If you are
    > creating a projector, then how are you distributing it?
    If you are using
    > a CD, then it doesn't matter how many files you have.
    >
    > If you want to bundle everything together for a
    download, then just use
    > an installer.
    >
    > --
    > Rob
    > _______
    > Rob Dillon
    > Adobe Community Expert
    >
    http://www.ddg-designs.com
    > 412-243-9119
    >
    >
    http://www.macromedia.com/software/trial/

  • WebI Report using BW Query (Getting Error for User Response Function)

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    hi Nisniki,
    take a look here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    Ingo

  • SAP PI Sender Mail Adapter error : Unexpected User response

    Hello ,
              I developed a scenario which requires Sender mail Adapter to connect a Third party system to PI, by going thro the links .
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    and PDFs in SDN.
    When configured the sender mail adapter using POP Mail Server,faced the following error:gave the correct URL and Login credentials.
    +" exception caught during processing mail message; java.io.IOException: unexpected user response; read -ERR Command is not valid in this state."+
    Then used IMAP for the same mail server : error:
    "exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state."
    Tried with another Mail server :
    "exception caught during processing mail message; java.net.ConnectException: Connection timed out".
    Can you please help, what be the cause? how to rectify it?

    Hi
    There might be an connectivity issue from PI server to mail server. Please check with your BASIS to resolve the issue.,
    Regards
    Ramg

  • Based on the user response need to calculate measures in universe

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

  • Flash sprite in Director: slow, slow!

    It's not a new problem but maybe there's a new solution?...
    I have a Flash game in a Director projector. The Flash games
    works fine by itself (not embedded in Director), but inside
    Director, everything runs much slower. Is there any ways to speed
    things up?
    Thanks
    Serge

    Yea Flash tends to run a bit slower in director, be sure the
    default
    direct to stage flash member property is set.
    Mx 2004 has an updated flash xtra that runs a little more
    effeciently,
    with an option to run multiple flash sprites in the same
    memory space.
    There's a downloadable director update for flash 8.0

  • Flash sprite has to be visible (from YOU !) in authoring mode to   work !

    If this can help (and if you can confirm !).
    I already went through the trouble that you can't put a Flash
    sprite off
    stage otherwise you loose control over it (you have to keep
    one pixel on
    stage), but this is more tricky :
    I suddenly had my Flash sprites working only in projector
    mode and I
    discovered that lower right corner of the stage was not
    visible (stage
    window was resized), which is where I hide my Flash sprites.
    As soon as
    I could see the corner, problem was gone in authoring mode !
    PJ

    Why not make your FlashSprite invisible?
    Or change it's z-index and put it behind everything
    else?

  • Calculation based on user response

    I have a report with 2 columns based on the data in the first column i need to perform either sum or average for the next column
    C   July
    c1 value1
    c2 value2
    c3 value3
    c4 value4
    c5 value5
    c6 value6
    If(Match(UserResponse("M1:");"c1") OR Match(UserResponse("M1:");"c2") OR Match(UserResponse("M1:");"c3") OR Match(UserResponse("M1:");"c4");Sum([Jul]);Average([Jul]) )
    Value1,2,3,4 aggregation is sum but for c5,c6 also it is giving sum value but not average but i want the aggregation for value 5 and value 6 as avearge

    For example take efashion unv
    My requirement is if user selects california or newyork the aggregation on sales revenue should be average and sum on the other two states.
    Code:
    =If(UserResponse("State:")="California" Or UserResponse("State:")="New york" ) Then Average([Sales Revenue]) Else Sum([Sales Revenue])
    this formula is not working , iam getting blank rows under sales revenue column
    Is there something to do user response function because it returns values as california;new york;massachusetts;texas
    could you please post the correct formula
    State Sales Revenue
    California
    New York
    Massachusetts
    Texas
    Edited by: pullabh on May 25, 2010 6:35 PM

  • Unable to Navigate Organization in "Maintenance Super User" Responsibility (Eam Self Service Pages)

    Dear friends,
    Iam learning Oracle EAM module, now i had a problem that i couldn't able to find EM1 Organziation in the LOV, though i have done Organziation access also, based on the Oracle support.
    Solution from Oracle Support
    ======================
    Unable to Navigate in 'Maintenance Super User' Responsibility (EAM Self Service pages) (Doc ID 1053400.1)
    If you have the Organizations LOV empty, then you need to go to (Navigation) -Inventory (responsibility) > Setup > Organizations > Organizations  Access. Here you need to define a new line for each organization you want to access from the EAM SS responsibility.
    Kindly respond on this issue.
    Thanks
    Shruthi

    Try to compare the menu that you have created with Functional Administartor menu structure. It may help to debug your problem.
    Thanks,
    Mitiksha

  • Month filter between two ranges based on user response inIDT

    Hi,
    I am working on SAP BO4.0.I have a requirement of creating a month filter on a date which will be between two ranges.The first range is the user response and the second range will be 6 months added to that user response.For eg:-If a user enters 1 as the response for month prompt then the date will be filtered between 1 and (1+6)=7.The database used is SAP HANA.
    Please let me know if further clarifications are required.
    Any help on this will be appreciated.
    Thanks in advance.

    Hi Riddhi ,
    afaik this is not doable in UDT/IDT .Only thing we can make is to run the report for last month by using magic dates concept.
    Check below logic if it helps.
    For a requirement to run a report for  fiscal year starting date to last month if nothing selected .
    @Select(Time\Yr-Mth Key)  between@Prompt('From Date','A','Time\Month / Year',mono,primary_key,,{'JUL 2013'}) and   
    (case when @Prompt('To Date','A','Time\Month / Year',mono,primary_key,,{'JAN 1999'})='JAN 1999' then to_char(add_months(sysdate,-1),'YYYYMM')  
    else  
    @Prompt('To Date','A','Time\Month / Year',mono,primary_key,,{'JAN 1999'}) end)
    This is on Oracle Database.
    When you run webi report
    From Date : JUL 2013 (fiscal year start date)
    To date : JAN 1999( without changing this you can refresh the report for last month , else it'll refresh for selected month)

  • I-beam cursor in flash sprites

    I'm having a problem with the I-beam cursor dissapearing in
    text fields in flash sprites. I'm using Director MX and flash MX. I
    see that this problem is fixed in the latest version of Director,
    but my client requries WinNT4 support, so I'm stuck using MX. Is
    there any way I can fix this, or at least minimise it?

    sussed it. i'd dimmed the screen brightness with 3rd party prog. Shades.
    colour change of cursor was affected by that, turning cursor white. whack the brightness up and all becomes normal again.
    hope that helps someone.

  • User response function() for Date Prompt

    Hi Experts,
    I have the requirement to show the date enterted in the prompt in the column of the webi report.
    I used the User response function e.g. =(UserResponse("Report Date").
    Now I am getting the value as 5/14/2014 12:00:00 AM. I dont want to see the time stamp with the date and aslo i want to change the format of the
    date to - yymmdd like 140514.
    Please provide your inputs.
    Thanks,
    Abhimanyu Sharma.

    Hi Arjit,
    I closed the thread.
    Can you please help in the below issue :
    I have two columns in the BEX report:
    1. "Local Count" which is restricted with Multiple Single Value variable "ZIN_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    2. "Out Count " which is restricted with Multiple Single Value variable "ZOUT_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    I put value 100 in prompt ZIN_CITY and 200 in ZOUT_CITY when i run this query in BOBJ WEbi.
    But i am getting the error - Not able to retrieve data. i checked in the backend and data is present and also Bex query is working fine.
    IF i change the property of variable to Single value then it is working fine in WEBi.
    Also i tried another method - irresprctive of setting the prompt in BEx on Nav attr 0ROUTE__0ROUTEID, i created the prompt in BOBJ WEBi, but LOVs (list of values)are not coming in the prompt.
    Please suggest on this?

  • Oracle financials end user responsibility in implementation project

    Could any body tell me the Oracle financials end user responsibility in implementation project

    SO what is the variance in the responsibilities for Functional consultant and Key user in implementation or support project.
    =========================================================================================
    See in implementation project, the resource who is performing the implementation needs access to all the forms i.e. setup, transaction forms etc.
    Also within an implementation project, there may be resources who are not associated with set, hence they responsibility will have only transactiion forms or inquiry forms.
    =======================================================================================================
    In Support project, the following may be valid users associated with the functions:
    the Invoice entry folk who keys in the invoice needs access to Invoice form only.
    Similarly The invoice inquiry folk who needs to inquire the invoice will need to have access to Invoice Inquiry form only.
    Similarly a person who is incharge of the overall control within a support project will have access to all the forms, functions, menu etc.
    =================================================================================
    Hope this helps.
    Thanks and Regards
    Manish Jain.

  • Projects super user responsibility

    hi
    i have a problem:
    In e-business suite 12.1.1 , In projects super user responsibility when I want to open JSP forms like :
    Team Role Details Workbook and Overcommitted Resource Hours Workbook and Scheduled Resource Hours Workbook This error take place :
    Not Found
    The requested URL /discoverer/viewer was not found on this server.
    Attention : in required steps of set up for PJR mentioned Implement Oracle Discoverer is required , does this error related to implementing Oracle Discoverer or not .

    Pl do not post duplicates - The requested URL /discoverer/viewer was not found on this server

  • How to cusomize in Flash: components User Interface Button?

    Flash Componants> User Interface> Button
    How to cusomize components?
    The button works, but where is the code that is making it work?

    Connect recorded session on workig with flash components https://admin.adobe.acrobat.com/_a295153/p49752948/?launcher=false&fcsContent=true&pbMode= normal
    Using the Button component http://www.adobe.com/devnet/flash/quickstart/button_component_as3/
    Simple to modify the UI is to double click on the button and modify its skin in different states as per ur requirements

Maybe you are looking for

  • Create an index on a huge table

    hi gurus I am going to create an index on a very large table(194GB) with the temporary tablespace size is 80G. I am afraid that during the index creation the temporary tablespace is not enouth to hold the data needed to create the index,because i onl

  • I just bought a 300gb 10k Raptor, (2) 1TB Black Cavier, GTX 285 & Snow Leo

    What is the best sequence and path to getting everything up and running perfectly? Should I clone the drive then do an snow leopard upgrade to the new hd. Or should I do a fresh install of Leopard on the new hd (Raptor) then do the snow upgrade? I ha

  • Select query with pivot

    Hi All, I have written a query as belows: but I dont get the output as desired. This is a with query -  I need the query output in a single record so I have pivoted the first query spl. The second set of query stk gives me the stock. My requirement i

  • VDA Updation Problem,

    Dear Experts,, I have an issue regarding Variable Deraness Allowance. My Client is going to implement Variable Dearness Allowance for the first time. Totally there are 311 employees.They belong to differenet Allowance Groupings. So i maintained all t

  • My Ipod WiFi shows the Ip Adress and Subent Mask but the router will not show when it says I'm connected

    When I try opening Safari it says cannot connect because not connect even though I am connected. When I go into the settings my Ip Adress and Subnet Mask show up but the router or DNS. I have tried resotring,resetting and forgetting the network but n