Help with Custom Signature Bulding

Can someone help me with this. I want to build a customized for the particular http string signature trigger.

http://150.50.15.110/MyApp?Data=01234567890&user=Joe

The goal is whenever the data attribute value is a 11 digit or more, it must trigger. Otherwise it should not. You must also use RequestRegex only. It is a laboratory of labops, but I've never had it work even with their solution. Every time I try to match a? (i.e-?) It does not work in the custom signature. When to use one. + It works.

I used the custom string to operate

[gG] [eE] [tT] [\x20]/[mM][yY][aA][pP].+DATA=. {11}, \&USER

Every time I replace the. + be with? or------? [+ or -?] or [-?] + or (-?) or (-?) + it does not work. I'm missing something. I spent over 40 hours and finally gave up.

I use s97 4.1 (4) and a 4215. My computer is running in a Bug.

Fires in the following regular expression:

[gG] [eE] [tT] [\x20]/[mM][yY][aA][pP][pP][\?] DATA =. {11}, \&USER

Your regex is missing from the second "P".

-Jason

Tags: Cisco Security

Similar Questions

  • Need help with custom dialog box

    I created a custom help dialog box. The problem is that 5 buttons do not properly fit in my manager of horizontal field on some blackberry devices. How can I make own? I tried to use my own custom buttons that allow me to specify their width and height, but I'm unable to get the width of the dialog box, so I can't determine how wide should be buttons.

    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.container.HorizontalFieldManager;
    
    public class HelpDialog extends Dialog
    {
        static int ButtonPressed;
        HorizontalFieldManager hfmChoices = new HorizontalFieldManager();
        ButtonField cmdFirst = new ButtonField("|<")
        {
            protected boolean navigationClick(int status, int time)
            {
                ButtonPressed = 0;
                close();
                return true;
            }
        };
        ButtonField cmdPrev = new ButtonField("<")
        {
            protected boolean navigationClick(int status, int time)
            {
                ButtonPressed = 1;
                close();
                return true;
            }
        };
        ButtonField cmdNext = new ButtonField(">")
        {
            protected boolean navigationClick(int status, int time)
            {
                ButtonPressed = 2;
                close();
                return true;
            }
        };
        ButtonField cmdLast = new ButtonField(">|")
        {
            protected boolean navigationClick(int status, int time)
            {
                ButtonPressed = 3;
                close();
                return true;
            }
        };
        ButtonField cmdClose = new ButtonField("Close")
        {
            protected boolean navigationClick(int status, int time)
            {
                close();
                return true;
            }
        };
    
        public HelpDialog(String message, int page, int maxPages)
        {
            super("Help (Page: " + page + " of " + maxPages + ")\n\n" + message + "\n", null, null, -1, null, 0);
            ButtonPressed = -1;
            if (page <= 1)
            {
                cmdFirst.setEnabled(false);
                cmdPrev.setEnabled(false);
            }
            if (page >= maxPages)
            {
                cmdNext.setEnabled(false);
                cmdLast.setEnabled(false);
            }
            hfmChoices.add(cmdFirst);
            hfmChoices.add(cmdPrev);
            hfmChoices.add(cmdNext);
            hfmChoices.add(cmdLast);
            hfmChoices.add(cmdClose);
            add(hfmChoices);
        }
    }
    

    Thank you

    Most people have no need a close button, they expect the ESC to do it for them.

    That said, I disagree with this statement:

    "I think that the only good way to use managers other than the AbsoluteFieldManager, is to use them at all."

    Designing a user experience that works well on multiple devices is difficult, and I don't think that has a size fits all approach work.  In addition, I don't have the time to create formats for specific screens for each device type, and although this will not happen now, I didn't have to rework screen designs every time that a new device came out.  I think that it is possible to create a common user interface experience given the size of the screen, and whether it is touch.  If you want to read my thoughts on this, have a look at the tutorial of the user interface you will find here:

    http://supportforums.BlackBerry.com/T5/Java-development/tutorials-for-new-developers-part-1/m-p/1621...

  • Need help with Custom Field Layout - getting wirer height value

    In the BB Simulator, I get a strange value placed in in my field layout() method custom. The width is 320, which is correct, but the height is 1073741823 and it takes 240 or less. In this test, my custom field is the only field in the Manager, so I expect to 240.

    I tried two different simulators - BB curve and the 8800. I use JDE 4.5.0 in Eclipse 3.4.1. This is the code for my method of layout:

    Protected Sub layout (int width, int height) {}
    s long = getStyle().
    If ((s & USE_ALL_WIDTH)! = USE_ALL_WIDTH) {}
    width = Math.min (width, getPreferredWidth());
    }
    If ((s & USE_ALL_HEIGHT)! = USE_ALL_HEIGHT) {}
    height = Math.min (height, getPreferredHeight());
    }
    setExtent (width, height);
    model.setExtent (width, height);
    Model.Scroll (0, 0);
    }

    I expect the value of the screen height, or less, if the domain is configured correctly.

    I'm upgrading my custom field in a VerticalField Manager with the following attributes:

    Super (VerticalFieldManager.USE_ALL_WIDTH
    | VerticalFieldManager.USE_ALL_HEIGHT
    | VerticalFieldManager.FIELD_HCENTER | VerticalFieldManager.FIELD_VCENTER);

    Is this a bug in the Simulator, or I understand the API correctly? Is there a way to 'reset' the Simulator - I tried to get out of Eclipse and restart Windows, but I always get the same value.

    Thank you!

    Mark

    A VerticalFieldManager comes, I think, with default VERTICAL_SCROLL.  If you do not want to scroll through this particular Manager, add VerticalFieldManager.NO_VERTICAL_SCROLL to your forests of style and it will be laid out with only the height and the actual width.

    Also, since you setExtent() by yourself, USE_ALL_HEIGHT and USE_ALL_WIDTH are redundant, I think.

    Hope that helps,

    Arkady.

  • Help with customer 501 pix for the configuration of a site...

    Hello everyone, I am trying to set up a customer vpn site and after a few days

    I'm at the end of the roll.

    I'd appreciate ANY help or trick here.

    I tried to set up the config via CLI and PDM, all to nothing does not.

    Although the VPN client log shows the invalid password, I am convinced that the groupname password is correct.

    I use the Cisco VPN Client 5.0.07.0290 v.

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

    Here is HS worm of the PIX:

    Cisco PIX Firewall Version 6.3 (5)
    Cisco PIX Device Manager Version 3.0 (4)

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

    Here's my sh run w / passwords removed:

    pixfirewall # sh run
    : Saved
    :
    6.3 (5) PIX version
    interface ethernet0 10baset
    interface ethernet1 100full
    ethernet0 nameif outside security0
    nameif ethernet1 inside the security100
    activate the encrypted password to something
    that something encrypted passwd
    pixfirewall hostname
    domain ciscopix.com
    fixup protocol dns-length maximum 512
    fixup protocol ftp 21
    fixup protocol h323 h225 1720
    fixup protocol h323 ras 1718-1719
    fixup protocol http 80
    fixup protocol they 389
    fixup protocol rsh 514
    fixup protocol rtsp 554
    fixup protocol sip 5060
    fixup protocol sip udp 5060
    fixup protocol 2000 skinny
    fixup protocol smtp 25
    fixup protocol sqlnet 1521
    fixup protocol tftp 69
    names of
    access-list ping_acl allow icmp a whole
    permit 192.168.1.0 ip access list inside_outbound_nat0_acl 255.255.255.0 192.168
    . 50.48 255.255.255.248
    outside_cryptomap_dyn_20 ip access list allow any 192.168.50.48 255.255.255.248

    pager lines 24
    Outside 1500 MTU
    Within 1500 MTU
    IP address outside pppoe setroute
    IP address inside 192.168.1.1 255.255.255.0
    alarm action IP verification of information
    alarm action attack IP audit
    IP local pool vpnpool 192.168.50.50 - 192.168.50.55
    history of PDM activate
    ARP timeout 14400
    Global interface 10 (external)
    NAT (inside) 0-list of access inside_outbound_nat0_acl
    NAT (inside) 10 0.0.0.0 0.0.0.0 0 0
    Access-group ping_acl in interface outside
    Timeout xlate 03:00
    Timeout conn 01:00 half-closed 0:10:00 udp 0: CPP 02:00 0:10:00 01:00 h225
    H323 timeout 0:05:00 mgcp 0: sip from 05:00 0:30:00 sip_media 0:02:00
    Sip timeout - disconnect 0:02:00 prompt Protocol sip-0: 03:00
    Timeout, uauth 0:05:00 absolute
    GANYMEDE + Protocol Ganymede + AAA-server
    AAA-server GANYMEDE + 3 max-failed-attempts
    AAA-server GANYMEDE + deadtime 10
    RADIUS Protocol RADIUS AAA server
    AAA-server RADIUS 3 max-failed-attempts
    AAA-RADIUS deadtime 10 Server
    AAA-server local LOCAL Protocol
    Enable http server
    http 192.168.1.0 255.255.255.0 inside
    No snmp server location
    No snmp Server contact
    SNMP-Server Community public
    No trap to activate snmp Server
    enable floodguard
    Permitted connection ipsec sysopt
    Crypto ipsec transform-set ESP-3DES-MD5-esp-3des esp-md5-hmac
    Dynamic crypto map outside_dyn_map 20 match address outside_cryptomap_dyn_20
    Crypto-map dynamic outside_dyn_map 20 the transform-set ESP-3DES-MD5 value
    map outside_map 65535-isakmp ipsec crypto dynamic outside_dyn_map
    outside_map interface card crypto outside
    ISAKMP allows outside
    part of pre authentication ISAKMP policy 20
    ISAKMP policy 20 3des encryption
    ISAKMP policy 20 md5 hash
    20 2 ISAKMP policy group
    ISAKMP duration strategy of life 20 86400
    vpngroup address vpnpool pool vpnaccessgroup
    vpngroup dns 192.168.1.1 Server vpnaccessgroup 192.168.1.11
    vpngroup wins 192.168.1.1 vpnaccessgroup-Server
    vpngroup vpnaccessgroup by default-field local.com
    vpngroup idle 1800 vpnaccessgroup-time
    something vpnaccessgroup vpngroup password
    Telnet 192.168.1.0 255.255.255.0 inside
    Telnet timeout 60
    SSH 192.168.1.0 255.255.255.0 inside
    SSH timeout 5
    Console timeout 0
    VPDN group pppoe_group request dialout pppoe
    VPDN group pppoe_group localname someone
    VPDN group ppp authentication pap pppoe_group
    VPDN username someone something
    dhcpd address 192.168.1.100 - 192.168.1.110 inside
    dhcpd dns 206.248.154.22 206.248.154.170
    dhcpd lease 3600
    dhcpd ping_timeout 750
    dhcpd outside auto_config
    dhcpd allow inside
    Terminal width 80
    Cryptochecksum:307fab2d0e3c5a82cebf9c76b9d7952a
    : end

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

    Here is the log of pix in trying to connect with the client vpn cisco w / real IPs removed:

    crypto_isakmp_process_block:src: [cisco vpn client IP here], dest: [cisco PIX IP here] spt:64897 TPD:
    500
    Exchange OAK_AG
    ISAKMP (0): treatment ITS payload. Message ID = 0

    ISAKMP (0): audit ISAKMP transform 1 against 20 priority policy
    ISAKMP: encryption AES - CBC
    ISAKMP: hash SHA
    ISAKMP: default group 2
    ISAKMP: long-acting prior auth (init)
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 256
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform 2 against priority policy 20
    ISAKMP: encryption AES - CBC
    ISAKMP: MD5 hash
    ISAKMP: default group 2
    ISAKMP: long-acting prior auth (init)
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 256
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform 3 against priority policy 20
    ISAKMP: encryption AES - CBC
    ISAKMP: hash SHA
    ISAKMP: default group 2
    ISAKMP: preshared auth
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 256
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform 4 against 20 priority policy
    ISAKMP: encryption AES - CBC
    ISAKMP: MD5 hash
    ISAKMP: default group 2
    ISAKMP: preshared auth
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 256
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform 5 against priority policy 20
    ISAKMP: encryption AES - CBC
    ISAKMP: hash SHA
    ISAKMP: default group 2
    ISAKMP: long-acting prior auth (init)
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 128
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform against the policy of priority 20 6
    ISAKMP: encryption AES - CBC
    ISAKMP: MD5 hash
    ISAKMP: default group 2
    ISAKMP: long-acting prior auth (init)
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 128
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform against the policy of priority 20 7
    ISAKMP: encryption AES - CBC
    ISAKMP: hash SHA
    ISAKMP: default group 2
    ISAKMP: preshared auth
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 128
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform 8 against priority policy 20
    ISAKMP: encryption AES - CBC
    ISAKMP: MD5 hash
    ISAKMP: default group 2
    ISAKMP: preshared auth
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP: keylength 128
    ISAKMP (0): atts are not acceptable. Next payload is 3
    ISAKMP (0): audit ISAKMP transform 9 against priority policy 20
    ISAKMP: 3DES-CBC encryption
    ISAKMP: hash SHA
    ISAKMP: default group 2
    ISAKMP: long-acting prior auth (init)
    ISAKMP: type of life in seconds
    ISAKMP: lifespan (IPV) 0x0 0 x 20 0xc4 0x9b
    ISAKMP (0): atts are not acceptable.
    crypto_isakmp_process_block:src:src: [cisco vpn client IP here], dest: [cisco pix IP here] spt:64897 TPD:
    500
    ISAKMP: error msg not encrypted
    crypto_isakmp_process_block:src: [cisco vpn client IP here], dest: [cisco pix IP here] spt:64897 TPD:
    500
    ISAKMP: error msg not encrypted
    pixfirewall #.

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

    Here is the log of the vpn client:

    363 16:07:58.953 01/07/10 Sev = Info/4 CM / 0 x 63100002
    Start the login process

    364 16:07:58.953 01/07/10 Sev = Info/4 CM / 0 x 63100004
    Establish a secure connection

    365 16:07:58.953 01/07/10 Sev = Info/4 CM / 0 x 63100024
    Attempt to connect with the server '[cisco pix IP here]. "

    366 16:07:58.953 01/07/10 Sev = Info/4 IKE / 0 x 63000001
    From IKE Phase 1 negotiation

    367 16:07:58.969 01/07/10 Sev = Info/4 IKE / 0 x 63000013
    SEND to > ISAKMP OAK AG (SA, KE, NO, ID, VID (Xauth), VID (dpd), VID (Frag), VID(Nat-T), VID (Unity)) [cisco pix IP here]

    368 16:07:59.078 01/07/10 Sev = Info/4 IPSEC / 0 x 63700008
    IPSec driver started successfully

    369 07/01/10 Sev 16:07:59.078 = Info/4 IPSEC / 0 x 63700014
    Remove all keys

    370 16:08:00.110 01/07/10 Sev = Info/4 IKE / 0 x 63000014
    RECEIVING< isakmp="" oak="" ag="" (sa,="" vid(xauth),="" vid(dpd),="" vid(unity),="" vid(?),="" ke,="" id,="" non,="" hash)="" from="" [cisco="" pix="" ip="">

    371 16:08:00.110 01/07/10 Sev = WARNING/3 IKE/0xE3000057
    The HASH payload received cannot be verified

    372 16:08:00.110 01/07/10 Sev = WARNING/2 IKE/0xE300007E
    Failed the hash check... may be configured with password invalid group.

    373 16:08:00.110 01/07/10 Sev = WARNING/2 IKE/0xE300009B
    Impossible to authenticate peers (Navigator: 915)

    374 16:08:00.110 01/07/10 Sev = Info/4 IKE / 0 x 63000013
    SEND to > ISAKMP OAK INFO (NOTIFY: INVALID_HASH_INFO) [cisco pix IP here]

    375 16:08:00.110 01/07/10 Sev = Info/4 IKE / 0 x 63000013
    SEND to > ISAKMP OAK INFO (NOTIFY: AUTH_FAILED) [cisco pix IP here]

    376 16:08:00.110 01/07/10 Sev = WARNING/2 IKE/0xE30000A7
    SW unexpected error during the processing of negotiator aggressive Mode:(Navigator:2263)

    377 16:08:00.110 01/07/10 Sev = Info/4 IKE / 0 x 63000017
    Marking of IKE SA delete (I_Cookie = A152D516B07D9659 R_Cookie = 5F4B55C38C0A40F4) reason = DEL_REASON_IKE_NEG_FAILED

    378 16:08:01.078 01/07/10 Sev = Info/4 IKE/0x6300004B
    IKE negotiation to throw HIS (I_Cookie = A152D516B07D9659 R_Cookie = 5F4B55C38C0A40F4) reason = DEL_REASON_IKE_NEG_FAILED

    379 16:08:01.078 01/07/10 Sev = Info/4 CM / 0 x 63100014
    Could not establish the Phase 1 SA with the server "[cisco pix IP here]" due to the "DEL_REASON_IKE_NEG_FAILED".

    380 16:08:01.078 01/07/10 Sev = Info/4 IKE / 0 x 63000001
    Signal received IKE to complete the VPN connection

    381 16:08:01.078 01/07/10 Sev = Info/4 IPSEC / 0 x 63700014
    Remove all keys

    382 16:08:01.078 01/07/10 Sev = Info/4 IPSEC / 0 x 63700014
    Remove all keys

    383 16:08:01.078 01/07/10 Sev = Info/4 IPSEC / 0 x 63700014
    Remove all keys

    384 16:08:01.078 01/07/10 Sev = Info/4 IPSEC/0x6370000A
    IPSec driver successfully stopped

    Mmmm... What version of vpn client do you use?

    If you use the last being, it looks like you might have it downgrade to a version older than the version of your PIX is old enough.

  • Need help with custom script to rename the layers

    Hello world.

    I need help to write a custom script (because I suck at it) that will allow me to go through all the layers and sous-calques for a specific name ('X') and give it a new specific name ('Y').

    I have had success using the script below, but it does not work on any text layers names where the text layer was previously particularly well-known in 'X' and now changed needs.

    Any help is greatly appreciated.

    * Note: this script was originally used to find any layer with 'Copy' in its name and remove with anything after (to correct the problem of duplication of layers by adding this text).

    This is why the function is named removeCopy. It works for renaming layers also - just not a layer of text unfortunately.

    #target illustrator

    function removeCopy() {}
    If (app.documents.length == 0) return;
    var app.activeDocument = docRef;
    recurseLayers (docRef.layers);
    }
    removeCopy();
    function recurseLayers (objArray) {}
    for (var i = 0; i < objArray.length; i ++) {}
    ObjArr [i] .name = ObjArr [i].name.replace (/ \s*current name\s*\d*/, 'new name');
    If (objArray [i] .layers) recurseLayers (. layers.length > 0 ObjArr [i]);
    }
    }

    I finally found something after searching forums for a week. My confusion was related to the way Illustrator treats real layers against text/path/object "layers." Instead of layers, I had to use the pageItems in the script. The code below works. Thanks to Gustavo for his answer in another thread and Carlos I thank you for this looking too good! You're great to be ready to help models do more advanced things with Illustrator.

    var doc = app.activeDocument;
    var items = doc.pageItems;
    for (var g = 0; g)
        elements [g] .name = elements [g].name.replace ('Century Schoolbook text line', ' MonogramText: Century Schoolbook ");
    };
    App.Redraw ();
  • Help with custom radio buttons.

    Before you go all Rube Goldburg thought that I post for a quick reality check.

    Basically, I have a test with several different configurations of coupon and I try to give users an advanced interface to select one they use. Using radio buttons seems the way to go and I inserted my custom images but I have only be able to select by clicking on the buttons. I want the user to be able to click on the image. Unless I'm missing something, I have this feeling that I have to create the four complete custom Boolean buttons with States of 4-6 and then write the code to do that alone is never on at the same time?

    Joint-

    You can change the appearance and the size of the used option button and overlay them on your chart, and then set the transparent parameter. So it looks like they're clicking on custom image but they are clicking on the invisible button on the top of the image.

    But it might be easier to use a ring of photo,

    Photo ring can be changed at runtime to add selections. Where the radio button enum cannot.

  • Help with email signature blackBerry Smartphones

    Hello, I need help!  How can I customize my signature of e-mail for emails from my blackberry storm? It drives me nuts having to type in all the time. She does not have the standard sent from the blackberry line, I just want to add to this.

    Welcome to the forums.

    Visit this link: How to edit the message "sent from my Blackberry...". » ?

  • Need help with custom roles

    Hello

    Ive been charged with leading a small project... Here's the scenario:

    We have 25 shared Lun connected to each host in a cluster. The LUNS are labeled & lt; The names of LUN & gt; _Windows or Linux.

    What I want to do a role where only the team the team of linux or windows only would see their LUNS and not other teams lun.

    Is it possible... ??

    Thank you in advance.

    Navigate to the folder create, click permissions and ADD to assign the role to the folder.

    You can use custom (expand all topics and select you want) role, and no (default) access

    If you have found this information useful, please consider awarding points to 'Correct' or 'Useful'*.

  • help with custom calculation / boxes

    Hello.

    I'm trying to link the boxes for a total of overall points as follows:

    Question1 [] yes [] no

    Question2 [] yes [] no

    1 point if either 'Yes' is selected. (Max 1 point only)

    Question3 [] yes [] no

    Question4 [] yes [] no

    2 points in total for each '' Yes. '' (Maximum 4 points)

    I set each box to a value of exports of 1.

    I have a score box "box2".

    // first section questions
    // set vars
    var points = this.getField("YesOne").value + this.getField("YesTwo").value;
    // if then
    if ((points > 0)) {this.getField("box2").value = 1} 
    else {this.getField("box2").value = 0};
    

    I got stuck on the first part, because it doesn't work as I said above, any help would be appreciated.

    I am trying to post the actual PDF, but I can't find a way to put it in this ad...

    Thank you!

    Here is an example with all 3 approaches and the display of the value of each field:

    Boxes amount

  • Help with custom forms report

    Hello

    I recently created a new custom in British Colombia web form which seems to work very well.

    My problem is that when I go to custom reports, in the filter criteria I don't see my new form under the "custom shape CRM filter". All my other forms however appear here.

    Am I missing just a little?

    Thanks for the help!

    Yor form does not have all the custom fields, this is why he is not in that

    drop-down menu. You can use the filter cases cases where the case

    object is the name of the online form.

    See you soon,.

    Mario

    www.twoblokeswithapostie.com

  • Need help with custom class main event to a class not related.

    Hey guys,.

    I am new to Flash and not very well with OOP.  I did it pretty far with google and hidden, but I was pulling my hair on this problem for a day and everything I try get an error or just simply don't touch the listener.

    I'm trying to get my main class to send an event customized to an unrelated class called BigIcon.  The rest of the code works fine, it's just the addEventListener and dispatchEvent method that does not work.

    I put in the codes below.  Let me know if something else is needed to solve the problems.  Thank you!

    Main.As

    package 
    {
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
    
    
        public class Main extends MovieClip
        {
            var iconLayer_mc:MovieClip = new MovieClip();
    
            public function Main()
            {
                Spin_btn.addEventListener(MouseEvent.CLICK,fl_MouseClickHandler);
    
                addChildAt(iconLayer_mc,0);
                placeIcons();
            }
    
            function placeIcons():void
            {
                var i:int;
                var j:int;
    
                for (i = 0; i < 4; i++)
                {
                    for (j = 0; j < 5; j++)
                    {
                        //iconString_array has the names of illustrator objects that have been converted to MovieClips and are in the library.
                        var placedIcon_mc:BigIcon = new BigIcon(iconString_array[i][j],i,j);
                        iconLayer_mc.addChild(placedIcon_mc);
                    }
                }
            }
    
            function fl_MouseClickHandler(event:MouseEvent):void
            {
                dispatchEvent(new Event("twitchupEvent",true));
            }
        }
    }
    

    BigIcon.as

    package 
    {
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.utils.getDefinitionByName;
    
        public class BigIcon extends MovieClip
        {
            private var iconImage_str:String;
            private var iconRow_int:int;
            private var iconColumn_int:int;
    
            public function BigIcon(iconImage_arg:String, iconRow_arg:int, iconColumn_arg:int)
            {
                iconImage_str = iconImage_arg;
                iconRow_int = iconRow_arg;
                iconColumn_int = iconColumn_arg;
    
                this.addEventListener(Event.ADDED_TO_STAGE, Setup);
    
            }
    
            function Setup(e:Event)
            {
    
                this.y = iconRow_int;
                this.x = iconColumn_int;
    
                var ClassReference:Class = getDefinitionByName(iconImage_str) as Class;
                var thisIcon_mc:MovieClip = new ClassReference;
                this.addChild(thisIcon_mc);
    
                addEventListener("twitchupEvent", twitchUp);
            }
    
            function twitchUp(e:Event)
            {
                this.y +=  10;
            }
        }
    }
    

    This could be a bit abstract to understand, but think about what you assign event listeners to when you implement the.

    When you want to have a function to respond to a button that is clicked, what do you attribute the event listener to?  She is assigned to the object that generated the event, the button.

    In your case the main class generates the event.

    You could take a different route with this, where if all your BigIcon objects were stored in a table in the main class, you could loop through that array and manage your contractions without having to have every BigIcon object involved in this transformation.

  • Help with custom metadata

    Hello

    I have a few metadata custom in my database, and I want to use text to fill in the IPTC instruction field. Here is for example the value of the field Instructions and metadata customized I want to fill.

    Screen Shot 2016-09-26 at 15.53.37.jpg

    Screen Shot 2016-09-26 at 15.53.47.jpg

    Any thoughts on how to automate this? I'm quite willing to buy a plugin if it would make it easy, but I have not yet found this plugin.

    A

    This looks like a case to ask how to get to the top of a mountain and get the response "you don't start from here'...

    My Exif plugin Capture time is designed to update the EXIF metadata fields that your custom fields are duplicated (in part), and its main use is for scans as in your example. But it is designed for you enter data directly in the plugin, not the analysis of another field. So, it might be useful if you are still in the original metadata.

  • Need help with custom calculation Script

    Hey everybody.  I'm using Acrobat X Pro and stumbling a bit on the syntax of the following equation.  I need to add the value of "Cell1" & "Cell2" then add the value of "Cell3.  However, the value of "Cell3" is entered by the user and specifies a percentage of the sum of "Cell1 &"Cell2".  For example: If the user enters "3" in "Cell3" I need the value returned at 3% of the sum of "Cell1" + "Cell2".  If the user enters "9" in "Cell3" I need the value returned for "Cell3" 9% of the sum of "Cell1 and Cell2" and the end result should be the sum of "Cell1 Cell2 + Cell3.  In more detail:

    If "Cell1" = "Cell2" $ 500 = $500 and "Cell3" = '3' then I need the returned value to be $1030,00.

    I hope this makes sense. Here's what I have so far, but alas, it does not work.  Any help would be GREATLY appreciated.

    Get the first value in the field, as a number

    var v1 = + getField("Cell1").value;

    Get the second field value, as a number

    var v2 = + getField("Cell2").value;

    Get the value of a field, a number transformation

    var v3 = + getField("Cell3"/100).value;

    Calculate and set the value of this field for the result

    Event.Value = v3 + (v1 + v2);

    Thank you

    Solan

    I have posted a reply, but realized that it wasn't what you wanted. There is some confusion about what you want for Cell3. A hand, you say that the user enter a vaule in the area, but them you say you want its calculated value based on what the user has entered and two other field values. It seems to me Cell3 should be the domain that the user enters the percentage, and the calculated field (Cell4) script could be:

    Get the first value in the field, as a number

    var v1 = + getField("Cell1").value;

    Get the second field value, as a number

    var v2 = + getField("Cell2").value;// get treatment field value, as a number

    Get the percentage

    var v3 = + getField("Cell3").value;

    Calculate and set the value of this field for the result

    Event.Value = (1 + v3 / 100) * (v1 + v2);

  • Help with Signature properties

    Hello I'm trying to make some text fields and the group fields as read only once an electronic signature has been placed in the document, then I need to repeat this exercise several times throughout the form.  Once a time incredibly frustrating with technical support suggested that I ask for help.  The Signature Properties box has a drop down list which it indicates you can select certain fields.  For now, all I can do is select / deselect.  Otherwise anyone can help with javascript so I can lock these fields.

    Thank you

    Try using the SPACEBAR to select/deselect individual fields and tab and cursor keys to navigate through the list of fields.

  • I want to change my plan of Photoshop at version student creative cloud - can't everyone by live chat and no way to communicate with customer service. Help please?

    I want to change my plan of Photoshop at version student creative cloud - can't everyone by live chat and no way to communicate with customer service. Anyone know how to contact adobe?

    Hi Beansy21,

    Please see the link below to contact customer support:

    http://helpx.Adobe.com/contact.html

    Kind regards

    Sheena

Maybe you are looking for