How to Center loadMovie Registration Point

Hello Flash Tech's,
I really having trouble figuring this one out.
I'm trying to use Zoom transition for my photo Gallery which
I'm using loadMovie "jpg" from Xml file.
Now the problem is here.
The Registration Point is set to the top upper left corner
and I would like it to be in the center of my loadMovie.
The Zoom transition only zoom from left corner and need to be
center equal sides.
How do I do this. My image size is "width 400px height 240px
Thanks....

This is how I'm loading the image in
loadMovie(Pic1, _root.artpics_mc.pic1_mc);
Pic1 is the jpg var..
Now I see your code and did this
//example
this.createEmptyMovieClip("imageHolder",this.getNextHighestDepth());
//position imageHolder
imageHolder._x=Stage.width/2
imageHolder._y=Stage.height/2;
var innerJpegTarget=
imageHolder.createEmptyMovieClip("jpgHolder",imageHolder.getNextHighestDepth());
var mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object=new Object();
mclListener.onLoadInit=function(targ){
//centre it
targ._x=-targ._width/2;
targ._y=-targ._height/2;
mcl.addListener(mclListener);
mcl.loadClip("Pic1",innerJpegTarget);
Does that above look correct?
Now when I appear the Zoom Transition.
import mx.transitions.*;
import mx.transitions.easing.*;
function tweenBall() {
easeType = mx.transitions.easing.Regular.easeOut;
var begin = 300;
var end = 100;
var time = 3;
var position = startPoint=5;
var mc = _root.artpics_mc.pic1_mc;
Pic1 = new mx.transitions.Tween(mc, "_yscale", easeType,
begin, end, time, true);
Pic1 = new mx.transitions.Tween(mc, "_xscale", easeType,
begin, end, time, true);
tweenBall();
It is still zooming in the top left corner. What am i'm doing
wrong?
Everything is in the second frame together.
I'm confused. Is it a easier way of doing this?
I seen this code in another forum:
var container:MovieClip = _root.createEmptyMovieClip
("container", 1);
container._x = 200;
container._y = 200;
var holder:MovieClip = _root.container.createEmptyMovieClip
("holder", 1);
holder.loadMovie ("movie.swf");
container.onEnterFrame = function ()
holder._x = (-this._width / 2);
holder._y = (-this._height / 2);
this._rotation += 10;
};

Similar Messages

  • How to change the registration point on a shape

    Hi,
    Is there a way to change the registration point on a shape
    created in Director? For instance, I created a filled oval, and by
    default Director sets the top left corner of the surrounding square
    as the registration point. Nevertheless, I need to place that
    registration point at the center of the oval.
    Best regards.

    Hi, if you create a shape vector from director, the reg point
    is in the center of it; if you import a vector created in other
    aplication (flash), the regpoint is in the top left corner. To
    change the regpoint of an imported shape, try this:
    put your shape in the stage in x,y = 0,0 position, then, if
    your shape rect is 12,8 pixs, and if you want to move the regpoint
    to the center of it
    on preparemovie me
    member("yourshape").regpoint = point(6,4)
    end
    play and stop the movie, your shape will change the regpoint
    to 6,4
    remove the script, and that's all.
    Best regards.
    sayeg

  • How to center the TrackPad pointer on startup

    Hi guys (and ladies)!
    New on this forum, I confess I didn't have much time to prowl it in search for an answer to the question in the tittle of this post. I apologize for this, but the question itself is pretty straightforward: I'd like my TrackPad pointer to appear in the center of the screen on startup, the way it does on... err, um, you know, the OS from Redmond... You know?
    I find it a hassle to have to dislodge it from its upper left corner every time I boot up my MBP, especially considering it takes several attempts to move it, with the Apple menu usually appearing when all I need is to click on a Dock icon...
    I read somewhere that an AppleScript could be devised that would remedy to my problem, but I'm not fluent in AppleScript, so if you guys suggest something along this route, please make it understandable for the newbie that I am!
    Thanks in advance...

    OK, that's one way to put it, but I already have a PC with Windoze installed (I happen to beta-test Seven like a half-dozen billion other people...), so if I wanted to run Windoze, I'd do it on my other computer.
    No, seriously, doesn't anyone know of a script that would center the pointer on the screen of my MBP when it boots up? Like giving it new spacial coordinates (e.g. x=720, y=450 for my 1440x900px display)?
    OK, I'll make it simple (???): how do you instruct the pointer to act the way I've just described via AppleScript?

  • Changing the Registration point via AS3 . how?

    hello,
    is it posseple to change the Registration point via AS3 ?
    Best Regards,
    Crimson

    The Attach Code window isn't working for me on this so I
    pasted the code into the message. Hope the formatting remains
    reasonable.
    public class HomePage extends MovieClip {
    public var frenchieReal:Swimmer; //Swimmer extends
    MovieClip; contains image of French Angel
    public var frenchie:Sprite; //To offset regisration point of
    frenchieReal
    public function loadStage() {
    var timer:Timer;
    var wayPoints:Array;
    //Establish timer for swimmers
    timer = new Timer(100, 0);
    //Create new swimmer supplying: image path, width, heigth,
    and initial x and y location
    frenchieReal = new Swimmer("Photoshop/oceanswimmer.png", 57,
    41, -24, -28);
    frenchie = new Sprite();
    frenchie.x = 244;
    frenchie.y = 532;
    this.addChild(frenchie);
    frenchie.addChild(frenchieReal);
    frenchieReal.setTimerListener(timer);
    //Set waypoints for swimmers
    wayPoints = [[230, 530],
    [240, 520],
    [250, 500],
    [260, 480],
    [298, 480],
    [358, 540],
    [368, 544],
    [388, 520],
    [398, 495],
    [404, 475],
    [420, 500],
    [458, 545],
    [528, 550]];
    frenchieReal.setPath(wayPoints);
    package {
    import flash.display.MovieClip;
    import flash.events.*;
    import flash.utils.Timer;
    import flash.net.*;
    import flash.display.*;
    public class Swimmer extends MovieClip {
    private var path:Array;
    private var pathLength:uint;
    private var pathLocation:int;
    private var loader:Loader;
    private var intercept:int;
    public function Swimmer(imagePath:String, w:uint, h:uint,
    xx:uint, yy:uint) {
    var urlRequest:URLRequest;
    this.x = xx; //Transaltion offsets for image MovieClip (eg,
    -24 and -28)
    this.y = yy; //Image is visible if these two values are
    nonnegative
    this.loader = new Loader();
    this.addChild(this.loader);
    urlRequest = new URLRequest(imagePath);
    if (urlRequest != null) this.loader.load(urlRequest);
    //Sets an array of waypoints
    public function setPath(p:Array) {
    this.path = p;
    this.pathLength = p.length;
    this.pathLocation = 1;
    this.parent.x = this.path[0][0];
    this.parent.y = this.path[0][1];
    this.intercept = -this.parent.y;
    public function setTimerListener(t:Timer):void {
    t.addEventListener(TimerEvent.TIMER, timerListener);
    //this.parent in timerListener is the Sprite object to which
    image MovieClip is parented
    function timerListener(e:TimerEvent):void {
    var i:int;
    var iMinus1:int;
    var xx:int;
    var y1:int;
    var y2:int;
    var rise:int;
    var run:int;
    var rotationAngle:int;
    if (this.path != null) {
    //Move to next segment?
    if (this.parent.x >= this.path[this.pathLocation][0]) {
    this.pathLocation++;
    //Go back to first segment?
    if (this.pathLocation == this.pathLength) {
    this.pathLocation = 1;
    this.parent.x = this.path[0][0];
    this.parent.y = this.path[0][1];
    this.intercept = -this.parent.y; //Minus y to translate
    everything to lower quadrant
    //y = ax + b
    //y = ((path
    [1] - path[i-1][1]) / (path[0] - path[i-1][0])) * this.x +
    path[i-1][1]
    i = this.pathLocation;
    iMinus1 = i - 1;
    this.parent.x += 2;
    xx = this.parent.x - this.path[iMinus1][0];
    y1 = -this.path[iMinus1][1];
    y2 = -this.path
    [1];
    rise = y2 - y1;
    run = this.path[0] - this.path[iMinus1][0];
    this.parent.y = ((y2 - y1) / (this.path
    [0] - this.path[iMinus1][0])) * xx + intercept;
    this.parent.y = -this.parent.y;
    rotationAngle = -(180/Math.PI) * Math.atan2(rise, run);
    this.parent.rotation = rotationAngle;
    trace("rise = " + rise + " run = " + run + " rotationAngle =
    " + rotationAngle + " Intercept = " + this.intercept);
    trace("x = " + this.parent.x + " y = " + this.parent.y + "
    rotation = " + this.parent.rotation);

  • Can I change the registration point of a movie clip?

    I'm loading a movie clip dynamically and its registration
    point defaults to top-left corner. I need to change it to the
    center, is this possible? if so, how?
    Thank you

    Thank you. I tried that and it didn't work too. Please check
    this code:
    loader.loadClip(_global.image_url+this["image1"], image1);
    DynamicRegistration.initialize(image1);
    image1.setRegistration( 20, 20);
    What is wrong with it?

  • Multitouch in AIR 2.0 via Flash Builder 4: Registration point of sprites

    I watched Lee Brimelow's tut on multi touch gesture applications and tried to accomplish the same using Flash Builder.
    I did and everything works great except by one thing, the registration point of the movie clips I dynamically create and use to populate the stage is not in the center so when I either increase/decrease the size of the square as well as rotate it, it doesn't do it from the center but from one of the corners, the default registration point. If I understand correctly, it's impossible to change the registration point via AS3. How can I reproduce the example in Flash Builder then?
    I appreciate your time and help.
    Jorge

    You'll need to use Flash Professional to produce a component with a proper registration point and export that component in a SWC. You're correct that there isn't a straightforward way to do this via ActionScript that I know of that doesn't involve transform matrix.
    Jason San Jose
    Software Engineer, Flash Builder

  • The Mysteries of Registration Points

    Hello All!
    So, I'm starting to feel like Seinfeld:
    Registration Points... What is the deal with those? Am I
    right?
    Every time I try and educate myself about these things, they
    get all mixed in with Transformation Points, the Info Panel,
    Convert to Symbol and a million other things. You'd think it would
    be a lot more straightforward than that. I mean, the ability to
    change the registration point on the fly, or at least in the IDE,
    would aid SO many issues as far as placing things on the stage in
    an intelligent way.
    So, I have researched this a bit and come up with nil, but
    I'll ask here again:
    - What is the easiest way to change a Bitmap (or Sprite or
    Shape or MovieClip) registration point (specif from upper left to
    object center)?
    - Is it possible to change the registration point using
    ActionScript?
    Follow up question:
    - Wahh! Why not?! It's such a no-brainer!
    Many thanks in advance, as always...
    Yours,
    Graham

    alright - here's some thoughts.
    all objects have their own coordinate system - graphics,
    bitmaps, text, other objects that are 'within' an object can be
    placed 'anywhere' within the coordinates of the parent object
    including being positioned 'negatively' in relation to the parents
    registration point - yet each of those 'also' has it's own
    coordinate system.
    all registration points are at 0, 0 for all objects - how
    that position relates to the 'contents' of the object is what you
    want to change . by default, the upper left is the where items get
    'laid out' because under the coordinate systems we work with,
    positive values run to the right and down - so as a primary
    construction method our objects are defined with their widths and
    heights incremented to the right and down from 0, 0 in their own
    coordinate space.
    so in order for us to be able to change the position of the
    'graphics' contained within an object, we have to be able to 'point
    to' those objects to control them - however, when items are drawn
    in the IDE, or are a imported or loaded bitmap, for instance, you
    have no reference to the items within the object you wish to move.
    now one *can* use the object's transform matrix property to convert
    the coordinates to a certain degree - by inverting the x or y scale
    to a negative value on any objec will 'flip' the image to the other
    side of it's registration point, however the resulting image will
    be 'mirrored' rather than 'moved' which may not be desired, but is
    handy in many cases.
    to your questions MM:
    - yes, there is no way to 'move' the registration point from
    0,0 - as pointed out above when constructing a object with AS, you
    still need to be able to control the position of the 'contents',
    and you may need to use a container object to do so. however, if
    your using something like the drawing API, then you may be able to
    simply 'draw' the shapes into their correct positions within the
    parents coordinate space (which
    thinkingresearcher, might be better for you situation, eg.
    using the drawing API to construct your objects)
    - when i said 'full' - I mean that the object must *contain*
    something in order to have readable dimension bounds - a newly
    constructed Object will have width and height of 0 until something
    is placed within it.
    - there is no example of an object that doesn't have a
    coordinate system, it is merely that one cannot 'change' the
    contents without a mechanism to target those contents.
    - and yes, that is right, you must 'move' the position of the
    contents in relation to it's parent's coordinate system, regardless
    of how you achieve that, to change the apparent registration point
    of the 'parent' container.
    Here is a basic container example that repositions a box with
    the registration point in the upper left, to the parent container,
    so that the container can then be scaled from the registration
    point which now resides at the 'apparent' lower left - (place on
    any new AS3 doc, first frame):

  • How to center loaded images?

    Hi,
    this really puzzles me... How onLoadInit and onLoadComplete
    listeners actually work? It is a photo slideshow, I am creating at
    runtime image holder and then centering its registration point to
    the center of main stage, then I am loading an image into it using
    MovieClipLoader class, then I need to change the image registration
    point so it is also centered on the stage. All works just
    excellently on my pc but unfortunately when on webserver the
    centering doesn't work! When the loading seems to be really
    intensive it doesn't care about onLoadInit listener!!! I test it at
    www.2sayhello.com/upgrade if anybody cares to see the effect.
    Thanks for any info
    Here is the code:

    I just got the idea that this problem may be related to
    loading more images at the same time, the problem occurs if I click
    on next or previous button in quick success, it forces to start
    downloading 2 or 3 images at the same time and that is exactly the
    moment I see not centered images or my preloader not finisshed.
    That may also means that onLoadInit or onLoadComplete were never
    executed... Each click on next or previus button creates and
    unloads image holder. Then it loads a new image into it by calling
    this function:

  • How to center the text displayed in a JList

    Hi,
    The width of the JList display area is wider than the text displayed. I tried to center the text displayed to make it look nicer. I had tried using "setAlignmentX(Component.CENTER_ALIGNMENT)" in my own ListCellRenderer class but did not work. Any idea how to center the text?
    Fai.

    Yes, I am using JLabels in my renderer and the following is the code:
    public class MyCellRenderer extends JLabel implements ListCellRenderer {
         private static final Color HIGHLIGHT_COLOR = new Color(0, 0, 128);
         public MyCellRenderer() {
              setOpaque(true);
              setIconTextGap(12);
         public Component getListCellRendererComponent(
              JList list,
              Object value,
              int index,
              boolean isSelected,
              boolean cellHasFocus)
              String entry = (String)value;
              setText(entry);
              setFont(new Font("Ariel", Font.BOLD, 18));
              setAlignmentX(Component.CENTER_ALIGNMENT);
              if(isSelected) {
                   setBackground(HIGHLIGHT_COLOR);
                   setForeground(Color.white);
              } else {
                   setBackground(Color.white);
                   setForeground(Color.black);
              return this;
    Can you point out where to implement the centering logic?
    Thanks,
    Fai.

  • How to center menu and add spacing between buttons?

    Here is my site: http://lauraportfolio.hostoi.com/index.html (If you are using Google Chrome you can right click and select "view page source" to see the html of the page)
    See how the menu button are justified the left of the light pink menu bar? How can I put them in the center?
    I would like to know how to center the menu, and then add spacing between the buttons.
    At one point I added spacing between the buttons using CSS padding, but when I did that the last menu button, "Graphics" ran off the pink menu bar and became invisible and all kinds of crazy ugly stuff!
    Below is what I beleive to be all of the CSS styling for the menu:
    #menubar
              width: 900px;
              height: 72px;
              padding: 0;
              background-color: transparent;
              background-image: url(transparentpink.png);
              background-repeat: repeat;
    ul#menu, ul#menu li
    { float: left;
      margin: 0;
      padding: 0;}
    ul#menu li
              list-style: none;
              padding-right: 0px;
              padding-left: 0px;
              margin-right: auto;
              margin-left: auto;
    ul#menu li a
              letter-spacing: 0.1em;
              display: block;
              float: left;
              height: 37px;
              text-align: center;
              color: #f0dbca;
              text-transform: none;
              text-decoration: none;
              background: transparent;
              font-family: bonvenoCF, verdana, Geneva, sans-serif;
              font-size: 150%;
              font-style: normal;
              font-weight: normal;
              font-variant: normal;
              padding-top: 29px;
              padding-right: 26px;
              padding-bottom: 6px;
              padding-left: 26px;
    ul#menu li a:hover, ul#menu li.selected a, ul#menu li.selected a:hover
              color: #F0DBCA;
              background-color: #F1836A;

    PART 1
    So as long as the width of the buttons plus the padding doesn't go over 900px it won't run off the page?
    Right.   The "box model" in CSS works like this:
    width + padding + border = actual visible/rendered width of box
    height + padding + border = actual visible/rendered height of box.
    PART 2
    And do you know how I can center the whole thin instead of it being left-aligned on the menu bar?
    You can't center floated menu items.  The best you can do is make your menu fit the entire width of the container (or as close as you can) as described in PART 1 above. 
    To center your #menu container, use margin:0 auto;
    To center text, use text-align:center on the #menu li a.
    Nancy O.

  • Please help for Registration point to a movieclip/sprite

    I am new to AS3 and have a doubt on Registration point for
    Movie clip / Sprite. Please help me the sample code for this
    I simply draw a line using AS3 in flash environment. but i
    used graphics.moveTo for center. but if i run this it is simply
    taking x,y axis 0,0 and move around the stage. I want to move this
    from center of the stage. please help.
    below is my code
    var line:Sprite = new Sprite()
    addChild(line);
    var cx:Number = stage.stageWidth/2;
    var cy:Number = stage.stageHeight/2;
    var radius:Number = 1;
    var increase:Number = 0;
    line.graphics.lineStyle(1, 0xff00ff);
    line.addEventListener(Event.ENTER_FRAME, onEnter);
    function onEnter(event:Event):void
    increase += radius;
    //trace(increase);
    //line.graphics.moveTo(cx, cy);
    line.graphics.lineTo(cx + increase, cy + increase);
    line.rotation += 0.1;

    to appear to control the registration point of line, make it
    a child or an empty display object and offset it by -x,-y where x,y
    is your choice for the apparent registration point. you can then
    control the parent object and it will behave like your line with
    changed registration point.

  • Moving the registration point

    how can i move the original registration point , for example
    i draw a rectangle with the registration point in the middle , but
    when i move the rectangle down the registration point stays on top
    and my rectangle which is in the bottom has no registration point
    how can i move the rectangle along with its registration point
    ????

    Not sure I follow, but I'll take a guess. Are you referring
    to the + sign in the middle of stage screen when creating a symbol?
    or the centerpoint white dot in the middle of an object. If the
    former, then it doesn't move. If the latter, just click and drag
    the white dot. It will move the centerpoint (it will snap to
    anchors too). Hope that helps.

  • Flipping and Registration Points

    Say you have a movie-clip you dynamically added to the stage,
    either with createEmptyMovieClip or attachMovie. The registration
    point, by default, is in the top-left.
    A common way to flip it horizontally it is to negate the
    x-scale, or you can apply a transformed Matrix to it.
    In either case, the result is the same: the movie "flips"
    over the vertical axis (left edge). To get it to look like where it
    was before, you shift it over.
    But that breaks the co-ordinates! What was previously an _x
    value of, say, 20, is now something like 142 (depending on the
    width of the object).
    My question is: is there any way to flip a movie-clip
    in-place without changing its co-ordinates? That is, to make it
    flip, and look like it's in the exact same place, without the _x
    and _y values.
    I've tried _xscale and Matrix transformations; I'm also 95%
    sure you can't move the registration point on dynamically-attached
    movie-clips (to make it flip about the center), is that
    correct?

    You can achieve this when you attach the MC to an empty MC.
    That way you can use the coordinates of the 1st MC, while the MC
    inside it can be flipped and moved.
    greets,
    blemmo

  • How can I set a point size for staticTexts

    Hi everyone
    How can I set a point size for staticTexts?
        staticTexts.add({staticLabel:"Please select a tedious job"});
    thanks
    Teetan

    Thank you Vandy
    Thank you pixxxel schubser
    And thank you Peter Kahrel
    But Ho can call function for this script?
    //======================================================================
    Thank you Vandy
    Thank you pixxxel schubser
    And thank you Peter Kahrel
    But Ho can call function for this script?
    //======================================================================
    var stringList = [  
    "01.  digit at end: superscript",
    "02.  digit at beginning: superscript",
    "03.  notes  applied to italic (table only)",
    "04.  Initial Cap+ markup",
    "05.  Small Cap + markup",
    "06.  del [ ] + markup",
    "07.  add an EM at beginning",
    var win = new Window("dialog","Tedious Jobs_(\"TDJs\")");  
    this.windowRef = win;  
    win.grp = win.add ("group", undefined);  
    win.grp.alignChildren = "top";  
    win.grp.margins = 5;  
    win.grp2 = win.grp.add ("group", undefined);  
    win.grp2.orientation = "Column";  
    win.grp2.alignChildren = "left";  
    win.grp3 = win.grp.add ("group", undefined);  
    win.grp3.orientation = "Column";  
    win.grp3.alignChildren = "fill";  
    win.grp2.Txt1 = win.grp2.add ("statictext", undefined, "Please select a tedious job");  
    win.grp2.Txt1.indent = 0;  
    win.grp2.Ddl1 = win.grp2.add ("dropdownlist", undefined, stringList);  
    win.grp2.Ddl1.selection = 0;  
    win.grp2.sTxt1 = win.grp2.add ("statictext", undefined, "________________________________________");  
    win.grp2.sTxt3 = win.grp2.add ("statictext", undefined, "Be careful and pay attention in what you selected.");  
    win.grp2.sTxt3.graphics.font = ScriptUI.newFont ("Arial", "Regular", 10);  
    win.quitBtn = win.grp3.add("button", undefined, "Ok");  
    win.cancelBtn = win.grp3.add("button", undefined, "Cancel");  
    win.defaultElement = win.quitBtn;  
    win.cancelElement = win.cancelBtn;  
    win.quitBtn.onClick = function() {  
    win.close();  
      if (w.show() == 1) { 
                    var mRes = mStringList.selection.text;
                    mSelection = mStringList.selection.index;
                    app.insertLabel( "mDialog", mSelection.join() );    // to store dropDownList positions (as a string "," delimited)
                    return mRes;
            } else  {  exit();  } 
    app.doScript('main()', ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "TDJs"); 
    function main(){
    var myObject;
    var myCheckSelection = false;
    if(app.documents.length > 0){
      if(app.selection.length > 0){
       switch(app.selection[0].constructor.name){
        case "InsertionPoint":
        case "Character":
        case "Word":
        case "TextStyleRange":
        case "Line":
        case "Paragraph":
        case "TextColumn":
        case "Text":
        case "Cell":
        case "Column":
        case "Row":
        case "Table":
      mySelected = app.insertLabel( "mDialog", String(mySelection.selectedIndex) );     //     to remember selection’s set 
      if(app.selection && app.selection[0].hasOwnProperty ("tedious_works") );
          tedious_works(); 
    else{
      alert("Wrong selection. Please try again.");
    function tedious_works() {  
      app.findGrepPreferences = app.changeGrepPreferences = null; 
      switch (mySelection.selectedIndex){ 
           case 1: {
       app.findGrepPreferences.findWhat = "^\\d";
       app.changeGrepPreferences.position = 1936749411;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
                break; 
           case 2:{
       app.findGrepPreferences.findWhat = "(?i)\\(note.+\\)$";
       app.changeGrepPreferences.appliedCharacterStyle = "Italic";
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "(附[註注].+)$";
       app.changeGrepPreferences.appliedCharacterStyle = "Italic";
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
           break; 
           case 3:{
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<a";
       app.changeGrepPreferences.changeTo = "A";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<b";
       app.changeGrepPreferences.changeTo = "B";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<c";
       app.changeGrepPreferences.changeTo = "C";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<d";
       app.changeGrepPreferences.changeTo = "D";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<e";
       app.changeGrepPreferences.changeTo = "E";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<f";
       app.changeGrepPreferences.changeTo = "F";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<g";
       app.changeGrepPreferences.changeTo = "G";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<h";
       app.changeGrepPreferences.changeTo = "H";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<i";
       app.changeGrepPreferences.changeTo = "I";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<j";
       app.changeGrepPreferences.changeTo = "J";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<k";
       app.changeGrepPreferences.changeTo = "K";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<l";
       app.changeGrepPreferences.changeTo = "L";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<m";
       app.changeGrepPreferences.changeTo = "M";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<n";
       app.changeGrepPreferences.changeTo = "N";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<o";
       app.changeGrepPreferences.changeTo = "O";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<p";
       app.changeGrepPreferences.changeTo = "P";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<q";
       app.changeGrepPreferences.changeTo = "Q";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<r";
       app.changeGrepPreferences.changeTo = "R";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<(?<!’)s";
       app.changeGrepPreferences.changeTo = "S";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<t";
       app.changeGrepPreferences.changeTo = "T";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<u";
       app.changeGrepPreferences.changeTo = "U";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<v";
       app.changeGrepPreferences.changeTo = "V";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<w";
       app.changeGrepPreferences.changeTo = "W";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<x";
       app.changeGrepPreferences.changeTo = "X";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<y";
       app.changeGrepPreferences.changeTo = "Y";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<z";
       app.changeGrepPreferences.changeTo = "Z";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
           break; 
           case 4:{
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<A";
       app.changeGrepPreferences.changeTo = "a";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<B";
       app.changeGrepPreferences.changeTo = "b";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<C";
       app.changeGrepPreferences.changeTo = "c";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<D";
       app.changeGrepPreferences.changeTo = "d";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<E";
       app.changeGrepPreferences.changeTo = "e";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<F";
       app.changeGrepPreferences.changeTo = "f";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<G";
       app.changeGrepPreferences.changeTo = "g";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<H";
       app.changeGrepPreferences.changeTo = "h";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<I";
       app.changeGrepPreferences.changeTo = "i";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<J";
       app.changeGrepPreferences.changeTo = "j";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<K";
       app.changeGrepPreferences.changeTo = "k";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<L";
       app.changeGrepPreferences.changeTo = "l";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<M";
       app.changeGrepPreferences.changeTo = "m";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<N";
       app.changeGrepPreferences.changeTo = "n";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<O";
       app.changeGrepPreferences.changeTo = "o";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;

  • How to create a Registration page in WebDynpro java

    Hi All,
    How to create a registration page in Web Dynpro java.Whatever i enter in the field of registration page should be stored in the pcd..So plz help me???
    Message was edited by: suman sahu

    Hi Suman,
        I have a similar kind of requirement , please let me know if you have got the solution for this??
    Regards,
    Ravi.

Maybe you are looking for