Help class object.

Hello, even once, I need help.

I have two classes,

1.) Tile.as class - for a game tic tac toe, which creates the tile acutal for the grid

2.) class Game.as - which implements and creates instances of the tile class puts on a grid, check the round, if there is a solution, and what to do with the solution.

I attribute questions to each square of the grid as hollywood squares. If they get the question wrong the form of opposing teams will fill in the grid of the user has clicked. My problem is erratic behavior in establishing good shape in the squares of the Board. I put a switch box that goes through all marked forms, not what I want.

In Tile.as

Game.isClicked is the e.CurrentTarget in the game class.

Game.isClicked.isSet is a string value that checks and ensures that the values are all the same inorder to solve.

public void updateGraphic(e:Event) {}

{Switch (Game.isClicked.isset)}

case "X":

tileO.visible = true;

tileX.visible = false;

Game.isClicked.isSet = 'F';

Game.isClicked.isSet = "undefined";

break;

case "O":

tileO.visible = false;

tileX.visible = true;

Game.isClicked.isSet = 'X '.

trace ("O after update", Game.isClicked.name, Game.isClicked.isSet);

Game.isClicked.isSet = "undefined";

break;

}

}

}

In Game.as

This code is placed on the 2 boxes called 'straight' or 'bad' called obj is e.currentTarget.name

public static void checkMark(obj:Object)

{

Tile.activateMouse (questBox, Tile.questionEvent);

switch (obj)

{

case "right":

TweenMax.to(questBox.feedRight,.5,{autoAlpha:1});)

break;

case "bad":

isClicked.dispatchEvent (new Event ("updateGfx"));

TweenMax.to(questBox.feedWrong,.5,{autoAlpha:1});)

break;

}

}

When applied in this way, the two questions were answered one being the wrong answer, the two will always go through the case statement Tile.as and reset according to the conditions.

Example: Form of Question 1 was false and all form O and Question 2 was false and the value of X. Once the condition called the O will have the value X in Question 1 Square and X will be settled on O Question 2 room.

I hope this explains things a bit, and any help/ideas would be greatly appreciated. Thank you.

Make sure you that understand the purpose of the 'static' keyword

staticSpecifies that the variable, a constant, or method belongs to the class rather than to instances of the class

the erratic behavior might have to do with the fact that you have access to the Tile.class instead of the Tile.instances.

Just a guess, because the code you show is not enough to isolate the problem.

Tags: Adobe Animate

Similar Questions

  • ActiveX in BradySoft (CodeSoft) - what method/class/object I would use to send data to the form variable to BradySoft?

    Can what method/class/object I use to send data to the form variable to BradySoft? I have a basic configuration of BradySoft label and I want to send it data of variable shape (a serial number) from Labview ActiveX. I joined guide Brady ActiveX programmers, but can't understand what to use for that.

    P.S. I would call Brady or TekLynx tech support on this issue, but they have a strict policy while BradySoft supports ActiveX, but does not provide technical support assistance programming with it. I thought I would try the Forums OR.

    Just an update. I could get this to work myself after a few days of playing with it (I suppose that the best way to learn!). I have attached a sample VI for anyone interested. Can we Kudo ourselves?

  • Attention impossible to bind to property 'somevar' on the 'Object' class object is not an IEventDispatcher?'

    Hi all

    How to fix under WARNING:

    Attention impossible to bind to property 'somevar' on the 'Object' class object is not an IEventDispatcher

    Thank you

    Sunil Rana

    Hi Paul,.

    I found the solution on the net & here's news

    Cast the data in your itemrenderer as an objectProxy.

    itemRender.mxml

    http://www.Adobe.com/2006/mxml '.

    verticalScrollPolicy = "off".

    horizontalScrollPolicy = "off".

    creationComplete = "init (); » >

    Import mx.utils.ObjectProxy;

    [Bindable]
    public var dataProxy:ObjectProxy;

    private function init (): void {}
    dataProxy = new ObjectProxy (data);
    }
    ]]>
        

    Thank you

    Sunil Rana

  • XML class object.

    Hello.
    I want to create DataGrid with itemReneder for each column.

    It is generated inline itemRenderer:
    DataGridColumn.itemRenderer = new ClassFactory (MyCustomClass);
    MyCustomClass - it manually generated class that contains some form elements (TextInput, Combox... e.t.c.)

    I want to consturct ItemRenderer dynamics. For this I need to create the class object and send it to itemRenderer:
    var component: DynamicFormClass = new DynamicFormClass();
    var newComponent: Class = component.someMethodWhichWillCreateForm (configData); -This request will display the elements of class that will generate the form that describes in configData
    DatagridColumn.itemRenderer = new ClassFactory (newComponent);

    This code is how I see the solvetion of this problem, but it does not work.
    I don't really know how it create answers how and will be very grateful for any decision.
    Thank you.


    Amy Blankenship Merci for the answer, this is not what I need. I found the answer on this question: is the substitution DataGrid ItemRenderer set, method.

  • help-based actionscript, tracing of my class object properties

    Hi all, I'm just starting to learn about the ActionScript classes, I am following with Moocks book Actionscript for Flash MX and try to run a trace on the properties of my ballclass, but all I get is undefined. It is what I have in my control panel actions.

    spherical function () {}
    This.RADIUS = 10;
    This.Color = 0xFF0000;
    this.xPosition = 59;
    this.yPosition = 15;
    }
    var boucyBall = new Ball();

    trace (bouncyBall.radius);
    trace (bouncyBall.color);
    trace (bouncyBall.xPosition);
    trace (bouncyBall.yPosition);

    Any help would be great

    You misspelled the name of the variable, 'bouncyBall' on this line:

    var boucyBall = new Ball();
    
  • Creation of class objects

    Hey,.

    I need help with this code he does and the error when I put it in my project, but when sound in an empty space of the project it works fine?

    Code:

    package

    {

    import flash.display.MovieClip;

    public class newchars extends MovieClip

    {

    public void newchars()

    {

    for (var i: int = 0; i < 1; i ++)

    {

    var newchar1:MovieClip = new mychar();

    addChild (newchar1);

    newchar1.x = Math.Random () * 500;

    newchar1.x = Math.random () *(stage.stageWidth-newchar1.width);

    newchar1.y = Math.random () *(stage.stageHeight-newchar1.height);

    }

    }

    }

    }

    error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    at newchars()

    at IceMountain_fla::MainTimeline/frame2()

    at flash.display::MovieClip/gotoAndPlay()

    at IceMountain_fla::MainTimeline/fl_MouseClickHandler_2()

    as soon as I click on my play button in the start menu it interfieres with my class!

    but in an empty space of the project it works fine: S

    Class can make a few mistakes unusual lol

    Thank you.

    use:

    Section 1:

    Stop();

    Play_1.addEventListener (MouseEvent.CLICK, fl_MouseClickHandler_2);

    function fl_MouseClickHandler_2(event:Event):void

    {

    gotoAndStop (2);

    }

    Section 2:

    Stop();

    var enemy1:newchars = new newchars();

    addChilld (enemy1);

    addEventListener (Event.ENTER_FRAME, fl_EnterFrameHandler);

    function fl_EnterFrameHandler(event:Event):void

    {

    Bird_1.x = mouseX;  / / assuming Bird_1 is on stage

    }

  • in the 2.0 class objects - how to swap the depths of a clip

    How do put you an object up? If it's just a clip, I could do a swapdepths, but if it's a clip which is part of an object YOU 2.0, how to exchange the depths of the entire object?

    I create 2 objects (same class) each with a movieclip in their breast. The clip is created on a single level with getNextHighestDepth().

    I have a button that tries to swapDepths of 2 objects, but I can't make it work. Can anyone help?


    Here are the details:

    1. create a symbol in the library called "someShape_mc" and put a form in it - a circle, a square, either - this symbol is exported for action script and received a class AS "ClassObject" 2.0 (I also put a dynamic text in the form field to display the current depth - it is called "depth_txt")

    2. create a button called 'swap_btn' on the stage.

    Frame 1 to the following actionscript code:

    var BottomObject:ClassObject = new ClassObject(this,100,150);
    var topObject:ClassObject = new ClassObject(this,110,160);

    for the button Add this:

    {Swap_btn.onRelease = Function ()}

    Try it with the full path:
    _root. BottomObject.__LocalMovieClip.swapDepths (_root.topObject.__LocalMovieClip);

    Try it with just the objects:
    BottomObject.__LocalMovieClip.swapDepths (topObject.__LocalMovieClip);

    Try it with the object as a movieclip
    BottomObject.swapDepths (topObject);
    trace ("he Swap?");

    Try it with a method in the class...
    BottomObject.swapIt (topObject.__LocalMovieClip);
    BottomObject.swapIt (topObject);
    trace ("nope... no permutation in progress...");
    }

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

    Here is the AS file: 'ClassObject.as. '

    ClassObject class extends MovieClip {}
    var __LocalMovieClip;
    var __Depth;
    function ClassObject (passedIn_mc:MovieClip, x: Number, y: Number) {}
    __Depth = passedIn_mc.getNextHighestDepth ();
    __LocalMovieClip = passedIn_mc.attachMovie ("someShape_mc", "__LocalMovieClip", __Depth);
    trace ("a form to" + __Depth);

    __LocalMovieClip._x = x;
    __LocalMovieClip._y = y;
    __LocalMovieClip.depth_txt. Text = __Depth;

    }

    public void swapIt (targetMc) {}
    __LocalMovieClip.swapDepths (targetMc);
    __LocalMovieClip.depth_txt. Text = __LocalMovieClip.getDepth (); no difference.
    trace ("tried to Exchange class...");
    }
    }


    ========================
    So - the goal is to be 'down' class on the top of the object of 'top '. Button tries various methods of Exchange from the depths of clips – but it is not one that works. What Miss me?

    TIA
    Ferd

    aHA! I got it! Thank you very much - I am not you! good eye!

  • Attribute getters/setters not found in class object view

    Hello

    I use JDeveloper 10.1.3.4 and you have questions about the customization of the display of the advice in the view object.

    In my application that should be used by the students and administrative staff, I generated entity object both display objects for a table of the database. Some of the attributes need customized display format. For example, the numbers of social security in the datatable is 123456789. For student users must be displayed in the form xxx-xx-6789. For staff users, it should be displayed in the format 123-45-6789.

    So I create two objects from view of the same entity object, one for students and one for its employees, each having its own display format. To put customization code in attributes getter methods, however, I found that in view of object class files get accessor methods do not exist. The entity object class file has the getters; However if the customization is done there I won't have two different formats.

    Suits for buyers are available in the object class file so that I can customize?

    Thank you very much for help!


    Newman

    Newman,

    Attribute getters would be placed on the class view LINE object.

    John

  • Failed to instantiate new custom class object - no trace of the stack

    Hello

    I have a little maddening problem. I created a custom class called 'Notification '. When I try to create an instance of the latter, I don't get any stack trace. Here's the class:

    package net.creative.core.util;
    
    import net.rim.device.api.system.Bitmap;
    
    /**
     * These are the notification objects that are created and stored
     * when a push notification is sent.
     * @author Heather
     *
     */
    
    public class Notification {
    
        private String title;
        private String content;
        private Bitmap image = Bitmap.getBitmapResource("appicon.png");
    
        public Notification(){
            title = "Title";
            content = "Content";
        }
    
        public Notification(String _title, String _content){
            title = _title;
            content = _content;
        }
        public Notification(String _title, String _content, Bitmap _image){
            title = _title;
            content = _content;
            image = _image;
        }
        public String getTitle(){
            return title;
        }
        public String getContent(){
            return content;
        }
        public Bitmap getImage(){
            return image;
        }
        public void setTitle(String _title){
            title = _title;
        }
        public void setContent(String _content){
            content = _content;
        }
        public void setImage(Bitmap _image){
            image = _image;
        }
    
    }
    

    I don't think it's a problem, but the screen I have tried to create an instance of in the Notification is in the com.creative.core package. I imported Notification on the screen while... Any ideas?

    Never mind.. just resolved.

  • Help! Objects and change the size by huge increments of railways

    I searched the threads and can't seem to find someone with a similar problem. Somehow, I may have inadvertently changed a setting that is originally now I do get extreme resizing increments. Meaning, if I draw a carrΘ and my regular selection tool to resize the object... it only resizes in 2 "increments. So, I can only change the place 2 "at a time and nothing in between (without manually setting the size of the toolbar). Does anyone know what setting I need to look to fix this?

    PS... I have enabled "snap to grid of pixels" and it had no effect on my ability to resize objects by small increments.

    Thanks for your help!

    May view > Snap to Grid?

    What version of HAVE you use?

  • help place objects, make sure that they do not have more tour

    Hey guys, really happy with the little program that I made. Learned a lot over the past months with the help of the community. I have all the features I want. The basic principle of this exercise is that the youth will enter a statement, drag on a microphone and it will appear on the corresponding box (board1, selection2, Canada3). So if they seize two statements in a row he will place their responses to my predetermined location. Is it possible to space out each answer by a difference of 10 px? So they enter one answer and it will go to the (x) 75px, answer two will go to x 85 px? Basically, ensuring that mc does not overlap or accumulate. Hope it makes sense. My code is below, with the highlighted area.

    listeners

    backbutton.addEventListener (MouseEvent.CLICK, Precedentcliquez);

    helpbutton.addEventListener (MouseEvent.CLICK, helpclick);

    answerbutton.addEventListener (MouseEvent.CLICK, answerclick);

    helpmenu.xbutton.addEventListener (MouseEvent.CLICK, xbuttonclick);

    answermenu.xanswerbutton.addEventListener (MouseEvent.CLICK, xanswerbuttonclick);

    stage.addEventListener (Event.ENTER_FRAME, _fullScreen);

    for (var i: int = 1; i < = 11; i ++) {}

    This ["realgtext" + i] .addEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    }

    for (i = 1; i < = 12; i ++) {}

    This ["windows" + i] .addEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    }

    Import fl.transitions.Tween;

    Fl.transitions.easing import. *;

    Import fl.transitions.TweenEvent;

    import com.greensock;

    import flash.media.Sound;

    import flash.display.StageScaleMode;

    import flash.events.Event;

    import flash.display.StageDisplayState;

    HelpMenu.Visible = false;

    answermenu. Visible = false;

    variable declarations

    var folderclicksound:paperflip = new paperflip

    var mainclicksound:mainclick = new mainclick

    var I: Object;

    function grabMe(e:MouseEvent):void {}

    = me e.currentTarget;

    me.removeEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    me.startDrag (true);

    addChild (e.currentTarget as DisplayObject);

    stage.addEventListener (MouseEvent.MOUSE_MOVE, Drachma);

    stage.addEventListener (MouseEvent.MOUSE_UP, dropMe);

    }

    function dropMe(e:MouseEvent):void {}

    stage.removeEventListener (MouseEvent.MOUSE_UP, dropMe);

    stage.removeEventListener (MouseEvent.MOUSE_MOVE, Drachma);

    me.stopDrag ();

    me.addEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    droponmic (DisplayObject (e.currentTarget))

    / / mainclicksound.play ();

    }

    function dragMe(e:MouseEvent):void {}

    e.updateAfterEvent ();

    dragchange (DisplayObject (e.currentTarget))

    }

    function dragchange(e:DisplayObject):void {}

    If (paper.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("lyric")

    TweenMax.to(me,1,{scaleX:0.6,scaleY:0.6,rotation:0});)

    } else if (micfeelings.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("cat")

    TweenMax.to(me,0.75,{scaleX:0.29,scaleY:0.29,rotation:0});)

    } else if (micactions.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("cat")

    TweenMax.to(me,0.75,{scaleX:0.29,scaleY:0.29,rotation:0});)

    } else if (micthoughts.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("cat")

    TweenMax.to(me,0.75,{scaleX:0.29,scaleY:0.29,rotation:0});)

    } else {}

    me.gotoAndStop ("air")

    TweenMax.to(me,0.2,{scaleX:0.8,scaleY:0.8,rotation:0});)

    }

    }

    function droponmic(e:DisplayObject):void {}

    If (micactions.hitTestPoint (mouseX, mouseY, true)) {}

    TweenMax.to(me,0.75,{scaleX:0.35,scaleY:0.35,rotation:0});)

    me.x = 500

    me.y = 273

    section 2

    } else if (micthoughts.hitTestPoint (mouseX, mouseY, true)) {}

    TweenMax.to(me,0.75,{scaleX:0.35,scaleY:0.35,rotation:0});)

    me.x = 800

    me.y = 273

    section 3

    } else if (micfeelings.hitTestPoint (mouseX, mouseY, true)) {}

    TweenMax.to(me,0.75,{scaleX:0.35,scaleY:0.35,rotation:0});)

    me.x = 200

    me.y = 75

    }

    }

    function _fullScreen(e:Event):void

    {

    stage.removeEventListener (Event.ENTER_FRAME, _fullScreen);

    stage.scaleMode = StageScaleMode.EXACT_FIT;

    stage.displayState = StageDisplayState.FULL_SCREEN;

    }

    items in NAV bar

    function backclick(event:MouseEvent):void {}

    answermenu.visible = false;

    helpmenu.visible = false;

    }

    function helpclick(event:MouseEvent):void {}

    helpmenu.visible = true;

    answermenu.visible = false;

    setChildIndex (WorldShip, numChildren - 1).

    TweenMax.to (our help, 3, {y: 350, startAt: {y: 600}, ease:Elastic.easeOut});})

    }

    function xbuttonclick(event:MouseEvent):void {}

    helpmenu.visible = false;

    }

    function answerclick(event:MouseEvent):void {}

    answermenu.visible = true;

    helpmenu.visible = false;

    setChildIndex (answermenu, numChildren - 1).

    TweenMax.to (answermenu, 3, {y: 350, startAt: {y: 600}, ease:Elastic.easeOut});})

    }

    function xanswerbuttonclick(event:MouseEvent):void {}

    answermenu.visible = false;

    helpmenu.visible = false;

    }

    //}

    sound components

    function mainclicksoundplay (): void {}

    mainclicksound. Play();

    //}

    use:

    var nextX:int = 75;

    listeners

    backbutton.addEventListener (MouseEvent.CLICK, Precedentcliquez);

    helpbutton.addEventListener (MouseEvent.CLICK, helpclick);

    answerbutton.addEventListener (MouseEvent.CLICK, answerclick);

    helpmenu.xbutton.addEventListener (MouseEvent.CLICK, xbuttonclick);

    answermenu.xanswerbutton.addEventListener (MouseEvent.CLICK, xanswerbuttonclick);

    stage.addEventListener (Event.ENTER_FRAME, _fullScreen);

    for (var i: int = 1; i<>

    This ["realgtext" + i] .addEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    }

    for (i = 1; i<>

    This ["windows" + i] .addEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    }

    Import fl.transitions.Tween;

    Fl.transitions.easing import. *;

    Import fl.transitions.TweenEvent;

    import com.greensock;

    import flash.media.Sound;

    import flash.display.StageScaleMode;

    import flash.events.Event;

    import flash.display.StageDisplayState;

    HelpMenu.Visible = false;

    answermenu. Visible = false;

    variable declarations

    var folderclicksound:paperflip = new paperflip

    var mainclicksound:mainclick = new mainclick

    var I: Object;

    function grabMe(e:MouseEvent):void {}

    = me e.currentTarget;

    me.removeEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    me.startDrag (true);

    addChild (e.currentTarget as DisplayObject);

    stage.addEventListener (MouseEvent.MOUSE_MOVE, Drachma);

    stage.addEventListener (MouseEvent.MOUSE_UP, dropMe);

    }

    function dropMe(e:MouseEvent):void {}

    stage.removeEventListener (MouseEvent.MOUSE_UP, dropMe);

    stage.removeEventListener (MouseEvent.MOUSE_MOVE, Drachma);

    me.stopDrag ();

    me.addEventListener (MouseEvent.MOUSE_DOWN, grabMe);

    droponmic (DisplayObject (e.currentTarget))

    mainclicksound. Play();

    }

    function dragMe(e:MouseEvent):void {}

    e.updateAfterEvent ();

    dragchange (DisplayObject (e.currentTarget))

    }

    function dragchange(e:DisplayObject):void {}

    If (paper.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("lyric")

    TweenMax.to(me,1,{scaleX:0.6,scaleY:0.6,rotation:0});)

    } else if (micfeelings.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("cat")

    TweenMax.to(me,0.75,{scaleX:0.29,scaleY:0.29,rotation:0});)

    } else if (micactions.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("cat")

    TweenMax.to(me,0.75,{scaleX:0.29,scaleY:0.29,rotation:0});)

    } else if (micthoughts.hitTestPoint (mouseX, mouseY, true)) {}

    me.gotoAndStop ("cat")

    TweenMax.to(me,0.75,{scaleX:0.29,scaleY:0.29,rotation:0});)

    } else {}

    me.gotoAndStop ("air")

    TweenMax.to(me,0.2,{scaleX:0.8,scaleY:0.8,rotation:0});)

    }

    }

    function droponmic(e:DisplayObject):void {}

    If (micactions.hitTestPoint (mouseX, mouseY, true)) {}

    TweenMax.to(me,0.75,{scaleX:0.35,scaleY:0.35,rotation:0});)

    me.y = 273

    section 2

    } else if (micthoughts.hitTestPoint (mouseX, mouseY, true)) {}

    TweenMax.to(me,0.75,{scaleX:0.35,scaleY:0.35,rotation:0});)

    me.y = 273

    section 3

    } else if (micfeelings.hitTestPoint (mouseX, mouseY, true)) {}

    TweenMax.to(me,0.75,{scaleX:0.35,scaleY:0.35,rotation:0});)

    me.y = 75

    }

    me .x = nextX;

    nextX += 10;

    }

    function _fullScreen(e:Event):void

    {

    stage.removeEventListener (Event.ENTER_FRAME, _fullScreen);

    stage.scaleMode = StageScaleMode.EXACT_FIT;

    stage.displayState = StageDisplayState.FULL_SCREEN;

    }

    items in NAV bar

    function backclick(event:MouseEvent):void {}

    answermenu. Visible = false;

    HelpMenu.Visible = false;

    }

    function helpclick(event:MouseEvent):void {}

    HelpMenu.Visible = true;

    answermenu. Visible = false;

    setChildIndex (WorldShip, numChildren - 1).

    TweenMax.to (our help, 3, {y: 350, startAt: {y: 600}, ease:Elastic.easeOut});})

    }

    function xbuttonclick(event:MouseEvent):void {}

    HelpMenu.Visible = false;

    }

    function answerclick(event:MouseEvent):void {}

    answermenu. Visible = true;

    HelpMenu.Visible = false;

    setChildIndex (answermenu, numChildren - 1).

    TweenMax.to (answermenu, 3, {y: 350, startAt: {y: 600}, ease:Elastic.easeOut});})

    }

    function xanswerbuttonclick(event:MouseEvent):void {}

    answermenu. Visible = false;

    HelpMenu.Visible = false;

    }

    //}

    sound components

    function mainclicksoundplay (): void {}

    mainclicksound. Play();

    //}

  • AS2 help, moving object to the mouse, click.

    Here is the code that I have, I know that these are the basic elements of wihc I need to use it, they work individually, but together they are not

    on {(press)
    this.startDrag ();
    }

    on (release) {}
    stopDrag();
    }
    }

    This += ._y this ._ymouse/4;
    This ._x += this ._xmouse/4;


    So what I try to do is to get the object to move more slowly than the mouse, but finish moving all over the place where I let go the click. So far, I can get the object to be moved with the mouse without clicking and dragging at a slow speed, but I can't get the drag to work at a slower speed, he moves as soon as the mouse moves. Can someone help me? Very much appreciated.

    {this.onMouseDown = function ()}

    {this.onEnterFrame = function ()}

    YourObject._x =. 5 * yourobject._x +. 5 * _xmouse;

    YourObject._y =. 5 * yourobject._y +. 5 * _ymouse;

    If (Math.ABS(YourObject._x-_xmouse)<><>

    delete this.onEnterFrame;

    }

    }

    }

  • help with objects

    Hello

    Can you please help on the use of the function table() in oracle 10g

    I created a nested table as below

    create or replace type testtype is table of the varchar2 (40);

    created and object like below to greet the nested in the object table

    create or replace type simpleobj is
    object
    (
    name varchar2 (30),
    number (3) of the age.
    number (6) mobile,.
    TestType chk
    );

    Can you please check this function below

    create or replace procedure testtab (num in simpleobj)
    is
    TestType pic;
    Start
    Select e.* in crete
    table (num.chk);
    end;

    I'm unable to use the function table() in this context.

    Can you help me please how can I return the nested table that is inside and object

    Thnx

    You want to copy the data into the local collection...?

    Because the above post is a little confusing to me...

    SQL> create or replace type test_collection is table of varchar2(200);
      2  /
    
    Type created.
    
    SQL> CREATE OR REPLACE type simple_obj AS object
      2    (name VARCHAR2(20),
      3     rule_curr_nm test_collection
      4     );
      5  /
    
    Type created.
    
    SQL> DECLARE
      2    num simple_obj := simple_obj('ravikumar',test_collection('string1','string2','string3'));
      3    v_test_collection test_collection;
      4  BEGIN
      5   SELECT CAST(collect(column_value) AS test_collection)
      6     INTO v_test_collection -- copying the test_collection type data into v_test_collection variable
      7     FROM TABLE(num.rule_curr_nm);
      8  END;
      9  /
    
    PL/SQL procedure successfully completed.
    

    Ravi Kumar

  • Context-sensitive help for objects on the tabs (bug?)

    If a command or the indicator is on a tab, the context-sensitive help for that apparently no longer works. It's particularly embarrassing for clusters of complicated example.

    Is there a workaround I'm mising?

    Example: This is the context for a cluster (A) and for the same cluster help when placed on a tab of the control (B). Case B is obviously completely useless.

    Hi Altenbach,

    It is true that it is not fixed for 2009.  I checked the condition of the CAR and it does not just he makes to the 2009 version.  It is always open and it looks like they still want to fix in the future, but no guarantee on which version.

  • Help organize objects so that they are in the right order?

    Hello

    I'm a real beginner with Illustrator, and I tried looking for a solution but not sure what to even look for! It's probably a newbie silly question but...

    I am doing a logo that has colored shapes that overlap around a circular pattern. I'm trying to organize each petal so that the left side overlaps the petal on the left. I am using the right click > organize the function to organize before backward, but when I get to the last petal, I can't work out how get the left side of the Green petal overlap a purple on his left, while keeping the other side of the Green under the edge of the yellow one.

    That's what I have:

    Logo-idea-1.jpg

    I managed to get the result I like to use form generator tool, but I want to use transparency, so I don't actually want to do this way. This is how I want it to look. Is there a simple way to do everything while keeping the original forms under so I can use the transparency and I have the mixture of colors where they overlap?

    Many thanks in advance, and I'm sorry if this is a stupid question!

    Logo-idea-2.jpg

    What you could do is created once select all and then use the pathfinder tool, select fracture. It would break forms in separate rooms, and then you can duplicate the Center cuts and place them in the desired order.

    Here is a video of what I mean...

    I hope this helps... ?

Maybe you are looking for

  • Active button

    Hello everyone.I put a button in the user interface that is associated with the reminder "stop". I need to get out of an emergency procedure, but unfortunately when my software performs some operations if I click the button nothing happens. Can you h

  • How to make DVD for Windows 7 which should have come with my new laptop please

    This is my first post here so please bear with me. I just bought a new laptop Lenovo Essentials B570 that comes with Windows 7 pre-installed. Previously, I used to buy Dell laptops which tend to come with the OS reinstallation DVD that check to see i

  • My Sansa MP3 player does not connect to the Windows Media Player.

    I connected several times using the same wires.  This time THAT WMP says "connect a device" in the upper right corner.  This is probably an easy fix.  Any suggestions?  Thank you.

  • Password to connect the printer to the wireless device

    Nobody knows what the password to default to connect a device like a wireless phone to the PhotoSmart 6525?  Alternatively, how do reset you the password?  I can't find on the touch screen of the printer anywhere. Pat

  • Clean install XP 0x0000007b Raid1

    New installation of XP sp3 on Raid 1 unformatted disk gets stop: 0x0000007b. Intel DP45sg Intel Matrix and the bios on the raid and Intel matrix enabled for a RAID card. The value of the Raid BIOS. Matrix recognizes both disks in the raid configurati