Need help understanding domino effect code of different designer

I hope someone can help me to decrypt this code. I'm a web designer, but I'm working with HTML, PHP, JavaScript, ActionScript not so much. I have a new customer, and they already had a website designed entirely in Flash. Now, they want only some parts of it and the rest in HTML. The problem is that I don't know much about ActionScript and I'm having a hard time finding ways to do what I want.

See the Web site uses the ripple effect to make images and text as if you were putting your finger in the water - it follows the mouse. So, I want to take 3 small Flash movies off this huge. But when I do, the ripple effect no longer works. Here is the code of the action:

import flash.display.BitmapData;

var map1:BitmapData = new BitmapData (900, 600, true, 0xFF0000);

this.createEmptyMovieClip ("bmp1", 10);
bmp1.attachBitmap (map1, 0, "auto", true);

blur of var = new flash.filters.BlurFilter (8,8,5);

mapPoint var = new flash.geom.Point (0,0);
var dmfr = new flash.filters.DisplacementMapFilter(map1,mapPoint,1,1,-30,-30,"clamp",0,1);

this.createEmptyMovieClip ("cont1", 200);
Cont1._visible = false;

bmp1.filters = [blur];

bmp1._visible = false;

onMouseMove = function()
{
var d = cont1.getNextHighestDepth ();
MC1 var = cont1.attachMovie ("circle", "c" + d, d);
MC1._x = this ._xmouse;
MC1._y = this ._ymouse;
MC1.cacheAsBitmap = true;
};

water_effect.onEnterFrame = function()
{
Map1.draw (Cont1);
Map1.draw (bmp1);
This.filters = [dmfr];
};

I know I need to change L2 - 900 for all that width and 600 to whatever the height, but that's all I understand.

If anyone can help, let me know as soon as POSSIBLE. I don't want you to do a job, just maybe at least point me in the right direction.

Here are these separate clips:

www.kglad.com/Files/water_effect.zip

Tags: Adobe Animate

Similar Questions

  • Need help understanding syntax

    Hello
    I need help to understand the syntax.
     
    PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean); 
    What is PPARAMImpl?

    I know 'am' is a variable. And with pageContext.getApplicationModule (webBean), we try to get the name of AM for this page, then why do we need to add (PPARAMImpl) (webBean) pageContext.getApplicationModule before?
     
    For example in plsql , apps.testpkg.mainproc(param1,param2) 
    means 
    schema.packagename.procedurename(parameter1,parameter2). 
    
    So can you explain "PPRAMImpl am = (PPRAMImpl)pageContext.getApplicationModule(webBean)" in that manner? 
     
    pageContext.getParameter(EVENT_PARAM)) 
    
    What is this ? 
    What are the possible values for EVENT_PARAM ? 
    And by the way, I need help on setting a default value for any of my search parameters in a search box.
    Correct me if I'm wrong, that's what I thought
    1 EOImpl have setters and getters for this attribute. So call to the setter in controller and set value, if this is right, then I don't know how to right the code, can you give me some example code?
    or
    2. get the name of the view object, then set the value for it. as viewobject.setattribute (' name of att ', att value'), if this is right, then I don't know how the code right, you can give me a code example?

    Thank you
    Sri.

    Hello

    N ° EC are not equal.

    pageContext.getApplicationModule (webBean) return type AM OAApplicationModule.

    It would be nice if your am variable is of type OAApplicationModule:
    OAApplicationModule m = pageContext.getApplicationModule (webBean) / / would be nice.

    But as you use type PPRAMImpl, you need to type-casting that externally by using:
    Am = (PPRAMImpl) pageContext.getApplicationModule (webBean) PPRAMImpl;

    If you are not yet clear, then consult any book of java or google for internal & external type in java cast.

    Sushant-

  • Just upgraded to Ultimate, need help of activation, wants to produce different IDS?

    I've just upgraded to Ultimate, need help of activation, wants the different product ID?

    If upgraded using Anytime Upgrade, which means that the product key is already entered, the only thing you need to do is to activate by phone.

    Activate Windows 7 on this computer:
    http://Windows.Microsoft.com/en-us/Windows7/activate-Windows-7-on-this-computer

  • Need help with parallax effect - Adobe MUSE and Safari

    Hey there,

    I need help.

    I did a parallax effect on my www.bloxmix.depage.

    Firefox, Opera and Chrome are working very well.

    Safari works worst.

    Try and see.

    Can someone help to solve my problem?

    Thank you community

    Hi Karl,

    Given that the site works fine at my end, I guess the problem is with your local browser. Could you please try it on another computer and see if it works fine here or not?

    - Abhishek Maurya

  • need help with the error code 150:30

    need help to find out what error code 150:30 is and how to fix it

    See the following topics:

    Error 150:30 - error "Licensing has stopped working". Mac OS:

    http://helpx.Adobe.com/x-productkb/global/error-licensing-stopped-Mac-OS.html

  • Need help understanding create new network / different subnets for 2nd VM NIC

    I am newer to Vmware and not quite sure that the best way to accomplish the task.  I have a couple of hosts of ESX 4.0 update 1, each host has several physical network connected to the LAN interface cards and iSCSI, vCenter with about 10 mV and each VM has only a single virtual NETWORK adapter for LAN.

    I need to install a new virtual machine with a special application that must be double virtual NICed.  1 NETWORK card must be on the private LAN (e.g. 192.168.10.x) and NIC2 must have a public IP (e.g. 4.2.2.x).  I was going to give NIC2 a private address and NAT through our Cisco PIX firewall, but I am told that causes problems with the application and it must have a public IP address on NIC2.  I now host a card physical NETWORK connected to public physical switch outside the firewall (so I can give him a pub addess).

    I have a physical NETWORK card I booked for this on the Vmware host.  How can I create virtual switch separate from the local LAN, associated with the physical NIC to the virtual switch, assign a range of IP addresses that are associated to the public IP address works (if that's what I do)?  From there on, I think that we would give the real public IP to vNIC2 during the installation of the OS.

    Thanks for any help you can offer.

    Steve

    Welcome to the forums.

    You can add an additional vSwitch and assign the 2nd physical NIC as the uplink. All the networks is done through the vSphere client configuration tab. In the virtual machine settings just add an extra vNIC and connetct for the new vSwitch.

    You should have a look through the information on http://www.vmware.com/technical-resources/virtual-networking/

  • Need help to update the code to be AS3 compatible...

    RTS and programmers in the AS3/Flash community,

    First of all, thanks in advance for any help and advice that you can offer. I'm completely out of my depth here...

    I'm a bit new to Flash. I know enough to get me into trouble, which is pretty much exactly what I did. I am the Department of design together for a small industrial rental company and we just decided to do a series of online ads. I used Flash MX back 3-4 years ago and he knew enough to make simple movies and add actions to buttons, etc so I felt sufficiently comfortable help out by creating these ads.

    Well, to my surprise, when I was doing ads and went to add in some code i was provided by the specifications of the site we do advertising, it is possible to add actions to objects in AS3.

    And this is where I come to you for help, I have no idea how to change this code, which seems to have been written for Flash MX and earlier, to be applied to a button, to work in Flash CS4 / ActionScript 3.

    Here's the code I received:

    on (release) {}

    If (clickTAG.substr (0,5) == ' http: ' | clickTAG.substr (0.6) == ' https: ') {}

    getURL (clickTAG, _blank);

    }

    }

    Based on some fairly basic Googling, I learned enough to create a very simply the button action to visit a URL, but the site we want to advertise on will not use this method.

    I could get help, if this is possible?

    Thanks again for everything understand

    Brandon

    There is no need necessarily modify the code to AS3.  You can simply change your publication settings Flash to use AS2 than AS3 and the code that show you will be able to be used in the way you are familiar.  AS3 has drawn a line in the sand and put an end to the (undesirable) practice to place the code on the objects.

  • Need help: understanding of the Session Variables

    Greetings-

    Maybe I'm just not understand how function of session variables and
    I hope that someone here can help me to do so.

    I am trying to establish an auto-dialing for a client process report
    so when a person displays an online report, a number of declaration is
    generated and stored in a variable session and when information
    is submitted, download number of report and the additional information provided
    a database. Everything seems to work as expected, except for this.

    I use an application.cfm file to define the session management and to create a
    Report number and set this number to a session variable.

    When the person opens the report form page, there is a teaching section
    for their study, followed by a 'Proceed' button to go to the next section of the
    page.

    When they click on the "Continue" button, is when the number of report which is held in a
    session variable (application.cfm) should insert in a hidden for later form field
    upload, which seems to happen.

    Now for the part that I don't understand. I thought that both a session
    had not expired, the session variable would remain in use and so if
    the report page has been updated (reloaded) of the same session would be variable
    be used.

    What I feel, is that whenever the report page is to be regenerated,
    a new report number is loaded in the session variable. I'm not
    understand how to work the session variables? Am I missing some criticism
    piece of coding or point here?

    I have included below the structure of folders and files used in the process
    for review.

    Thanks in advance for any help to do this work.

    Leonard B

    ===============================================
    ===============================================

    Folder structure
    area/reports
    -area/reports/input /.

    Files
    -domain/reports.cfm <-Entry Point for dealing with the
    --domain/reports/application.cfm
    --domain/reports/input/report_form.cfm

    ====================
    application.cfm

    < name cfapplication sessionmanagement = "yes" ' LanceApp"=
    SessionTimeout = "#CreateTimeSpan (0,0,20,0)" # ""
    applicationtimeout = "#CreateTimeSpan (0,0,2,0) #" >

    < cfset DSN = "datasource" >

    < name cfquery = "getnumber" datasource = "#DSN #" >
    SELECT report_number
    OF report_numbers
    < / cfquery >

    < cfset Session.report_number = #getnumber.report_number # >

    < cfif getnumber.recordcount IS 0 >
    < name cfquery = "insertnumber" datasource = "#DSN #" >
    INSERT INTO report_numbers (report_number) VALUES (1)
    < / cfquery >
    < cfelse >
    < / cfif >

    < name cfquery = "updatenumber" datasource = "#DSN #" >
    UPDATE report_numbers
    SET report_number = report_number + 1
    < / cfquery >

    ====================
    report_form.cfm

    < cfparam name = "Button" default = 'Start' >

    < cfif #Button # is 'Start' >

    < action = "report_numbers.cfm cfform" method = "post" enctype = "multipart/form-data" > "
    < input type = "submit" name = "Button" value = "Proceed" / >
    < / cfform >

    < cfelseif #Button # is "Proceed" >

    < div style = "padding: 5px 5px 15px 50px" >
    #Session.report_number # < cfoutput > < / cfoutput > < / div >

    < / cfif >

    Quote:
    Posted by: Leonard B
    Hi Dan,.
    Thanks for the answer, let me clarify what is the goal. This process of numbering
    is a public service organization. The goal is not to create a primary key.
    but to establish a process of sequential numbering to fill online reports that
    can be reset to zero at the beginning of each year.

    I'm certainly open-minded for doing things in a more easy way and if you have a
    easier, I'm all ears or should I say all eyes. However, with the requirement of
    reset the process back to zero, I couldn't get to any other way of
    treatment of the task at hand.

    Thank you

    Leonard B

    "In this case he would stil be easier to run the following code" number "just before you insert your data. What you have said so far, it's the only time where you really need it.

    But if you want to stick with the application.cfm approach, there is a difference in what you say you do and what your code is showing. You say "I checked to see if the session variable has been set and he has been.", but I don't see any if/else logic in the part of your application.cfm code where you set the variable. Remember, the code runs on each page, including request refreshes.

  • Need help with the error Code 80244019 Windows Update

    From: Doug

    I get code 80244019 whenever I try to use Windows Update. I tried to change the DWORD in regedit nothing helps... Norton has recently found and 'resolved' trojan.zlob in 128 files in the registry, 21 cases (10 of which were in system32) and 1 browser cache. Whenever I try to use IE to go to http://windowsupdate.microsoft.com I am redirected to msn.com.

    Any advice or solutions would be welcome.

    From: PA bear [MS MVP]

    Chances are that ZLOB was not completely removed and she was accompanied by infections Vundo and SDBot variant, all protected by a rootkit infection. You are going to need specialized assistance to clean this machine,

    Unexplained computer behavior may be caused by deceptive software

    http://support.Microsoft.com/kb/827315

    Run a check of /thorough/ for hijackware, including post your hijackthis on a proper forum log.

    Verification / help with Hijackware

    http://aumha.org/a/parasite.htm

    http://aumha.org/a/quickfix.htm

    http://aumha.NET/viewtopic.php?t=5878

    http://wiki.CastleCops.com/Malware_Removal_and_Prevention:_Introduction

    http://MVPs.org/winhelp2002/unwanted.htm

    http://inetexplorer.MVPs.org/data/prevention.htm

    http://inetexplorer.MVPs.org/tshoot.html

    http://www.MVPs.org/sramesh2k/Malware_Defence.htm

    http://defendingyourmachine2.blogspot.com/

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    When all else fails, HijackThis v2.0.2

    (http://aumha.org/downloads/hijackthis.exe) is the tool to use.

    It will help you to identify and remove any hijackware/spyware with

    assistance of an expert.  * Post your log to

    http://aumha.NET/viewforum.php?f=30,

    http://forums.Spybot.info/forumdisplay.php?f=22,

    http://CastleCops.com/forum67.html, or other appropriate review bodies

    by an expert in the field, not here.* *.

    If the procedures look too complex - and there is no shame in admitting

    isn't your cup of tea - take the local machine, good reputation and

    independent computer repair shop (i.e., not BigBoxStoreUSA).

    --

    ~ Robear Dyer (PA Bear)

    Another response of the community of Windows Vista discussion groups

  • Need help to request a code signing key

    Hello

    Unfortunately, a forum search has not revealed anything and since I can't find any way to report problems with the site of the developer of the RIM, so... here go us:

    As a first time dev, I just downloaded the SDK and emulator, the I tried to go through the "getting started" doc As a first step, it says:

    "Request permission to sign BlackBerry Tablet OS applications by completing the web form at
    http://developer.blackberry.com/native/beta/signingkey . After your application is accepted, youreceive two CSJ registration files by email. One file allows you to configure your keystore to sign
    applications; the other file allows you to create debug tokens. Each file arrives in a separate emailwith information about the purpose of the file attached."
    

    Well that's where I'm stuck already: after completing this form, when I hit the submit button, all I get is:

    Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in
    /opt/sites/native/app/libs/sanitize.php on line 451
    Cannot redirect! Headers have already been sent!
    

    So apparently some PHP - guy didn't properly test its code of form validation.

    Saddest:

    The link only I could find reviews of the website was. to http://us.blackberry.com/contact/ (mailto link [email protected]). And send a report to this address just resulted in a response canned (useless), saying that the mail was not delivered, and I should find an alternative care option (followed by several products related links).

    Well: I don't have a problem with products like software development kits, software, peripheral... my prob is the RIM site itself!

    So I hope that some members of the staff on BOARD reads this and can direct me to the appropriate Department...

    Clueless

    -Fritz

    Hi people,

    We are aware of the issue and helping them to solve.  Must be addressed very soon.  In the meantime, you can order keys directly here https://www.blackberry.com/SignedKeys/

    shape is slightly different but its attached to the same system of back-end and you will get the same keys

  • WLC2106 - need help understanding wired ports

    At this point, I am really confused about how the WLC traffic bridges.

    When I have my WLC 1 port connected to my wired LAN and the WLC 8 port connected to a 1121, the web interface can see the AP, but endpoint on my local network cannot ping the 1121.  Why is this?  If I connect directly the 1121 to my switch, I can ping without any problem.

    In addition, it seems to affect my wireless LANs to a VLAN different, I need to create a virtual interface for each VLAN on the WLC.  This seems to be a waste of IP addresses, because I want only the WLC for bridge traffic to VLANs and do not have any kind of proxy or routing.  Is it possible to assign a WLAN to a VLAN without creating a virtual interface to this VLAN?

    Hello Larry,.

    answer your questions:

    (1) for the directly AP ping does not, this is due to the bug

    CSCsj33229    Impossible to ping AP directly connected to a controller 2106

    Conditions:

    Access points that are directly related to the 2100 series
    controller ports may not work correctly in a variety
    means:

    -systems on the cable network may not be able to ping to the APs

    -access points may be unable to obtain a DHCP address from an external
    DHCP server

    -l'AP may have communication problems in LWAPP or CAPWAP
    with the WLC, which could result in resetting tunnel

    -If the AP is in RAP mode, it will be unable to bridge LAN
    Packages

    -telnet or ssh to the AP won't work

    Workaround solution:

    Plug the WLC to a switch and the switch access points.

    Note that this bug is due design as WLC 2106 is not full switched ports

    (2) to networks VIRTUAL, that you want to assign you must do one of the following:

    (A) use dynamic interfaces with assign an IP address on the WLC.

    (B) If you don't want to assing with IP interfaces, you can configure the AP as H-REAP.

    and under WLAN-> > advance help REAP H local switching.

    then add REAP: mapping VLAN corresponding to each WLAN (this can be done of wireless-> > access point-> > H-ERAP TAB).

    Note: in the solution 2 - B, the AP must be connected to the trunk port.

    Kind regards

    Talal

    =======

    Please note the answers that you find useful and mark as answer - when is it :-) - so that others can easily find

  • Need help with the error code 15

    who can help e withthis Setup error

    Exit code: 15

    Please see specific errors below for troubleshooting. For example, ERROR: DW051...

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 2 error (s)

    ERROR: DW051: {A4ED5E53-7AA0-11E1-BF04-B2D4D4A5360E}

    : Error Media DB: 12

    -------------------------------------------------------------------------------------

    [Branched out to new discussion... Please start your own discussion for a different error...] MOD]

    Hi Johnnoyt12,

    In addition to what John suggested also see link below:

    Installation and launch log errors | Adobe Creative Suite 6, Adobe Creative Suite 5.5, Adobe Creative Suite 5

  • need help to write sql code

    Hi all

    I need to write a sql that retrieves data from the status table and check for this time in the ESHIFT table if the flag was or not. If is there, then it will keep the record as it is Furthermore, there

    did not understand at the time the flag was N suppose ESHIFT table has one record where you N 13:00:01-13:30 then the status register which is 13:00-13:59 min 59 s, we should get 13:00 - 13: records of 00:00 1 and 2 of 13:30:01-13:59 min 59 s

    create table ESHIFT (From_date date, date, to_date, flag varchar2 (2));

    insert into ESHIFT values (' 1 February 12 09:00 ", February 1, 12 13:20 ', 'Y');

    insert into ESHIFT values (' 1 February 12 13:20:01 ", 1 February 12 13:30 ',' don't);

    insert into ESHIFT values (' 1 February 12 13:30:01 ", February 1, 12 16:00 ', 'Y');

    SELECT * from eshift;

    create table status (date of From_date, to_date date, status number);

    insert into values of status (1 February 12 11:00 ', February 1, 12 12:00 ', 1);

    insert into values of status (1 February 12 12:00:01 ', February 1, 12 12:20 ', 2);

    insert into status values ("1 February 12 12:20:01", 1 February 12 12:59:59 ', 1);

    insert into status values ("1 February 12 13:00", February 1, 12 13:59:59 ', 1);

    insert into status values ("1 February 12 14:00", February 1, 12 14:59:59 ', 2);

    SELECT * STATUS;

    In the case above should get sql

    1 FEBRUARY 12 11:00 1ST FEBRUARY 12 12:00 1

    FEBRUARY 1ST, 12 12:00 1ST FEBRUARY 12 12:20 2

    FEBRUARY 1ST, 12 12:20:01, 1 FEBRUARY 12 12:59:59 1

    FEBRUARY 1ST, 12 13:00 1ST FEBRUARY 12 13:20 1

    FEBRUARY 1ST, 12 13:30 1 FEBRUARY 12 13:59:59 1

    FEBRUARY 1ST, 12 14:00 1 FEBRUARY 12 14:59:59 2

    It will be really great if someone can help me how I can get the desired result.

    Thank you very much in advance.

    Please provide instructions creating table and data. It makes it so much easier to answer.

    I think you want:

    Select (s.from_date, e.from_date) greatest from_date, less (s.to_date, e.to_date) to_date, s.status

    s status e eshift join on s.from_date < e.to_date="" and="" s.to_date=""> e.from_date and e.flag = 'Y '.

    order by 1

  • I really need help for after effects cs5

    Can someone help me with this please. My once effects cs5 gives me this problem it hangs on initialization of the engine type. I wasn't like this last year but this year it appeared this way please help I have a major project of College ends please . I've updated to the latest version but problem still appear. I have also uninstall and used clean Script / utility but still no change. If someone out there could me sitting with this problem God bless

    You have a "bad". Remove all the fonts which you do not currently need and added recently, then try again. If necessary, remove all the fonts down to only the default fonts of operating system, and then selectively add additional fonts only when you really need it.

    Mylenium

  • Need help please with effects

    Hi, I made a nice wavy effect on the title of the text I did a music video. The title remains for the duration of the song. At the present time however it stops waving to half way through the song. I don't know why this is the case can someone help? Thank you

    I see what you mean. I did a 00 08; 00; 00 title and applied to wave. TO 00. 02; 08; 00 it stopped "deformation".

    At that time, I did a Ctrl-k to shorten the title to the CTI. I removed the wave Warp effect and then he forms base to the next part of the title. I couldn't tell where stopped and another started. If you can see any sort of 'pause' in the distortion, you can do a fade on the Cup. If you wish, you may need to repeat this procedure to get the length you want.

    Once arrived at the point where it stops for you, use the left/right arrows to get to the first image where the effect ends and cut there.

    I never saw this before, but then added never this effect to nothing more that about 20 seconds in duration - it seems just short of gas and stops. Interesting.

    Good luck

    Hunt

Maybe you are looking for