Need to stop my cursor leaving the flash stage area in browser?

Hi, I need to stop my cursor from moving on certain points on the stage. I'm using a magnifying glass effect but in the browser this only show the glass up to the stage so I need to stop it moving past those points. You can see what I mean if you move the magnify glass to the very left or right here:
www.zoeglazebrook.co.uk
this is the code I have for the magnify glass:
var moveGlass:Number;
magnifyingGlass.onPress = function() {
    moveGlass = setInterval(startGlass,1);
function startGlass() {
    magnifyingGlass._x = _root._xmouse;
    magnifyingGlass._y = _root._ymouse;
magnifyingGlass.onEnterFrame = function(){
     this.largeobject._x = (this._parent.original._x-this._x)*2;
     this.largeobject._y = (this._parent.original._y-this._y)*2;

kglad wrote:
var moveGlass:Number;
magnifyingGlass.onPress = function() {
    moveGlass = setInterval(startGlass,1);
function startGlass() {
if(_root._xmouse>magnifyingGlass._width/2&&_root._ymouse>magnifyingGlass._height/2&&_root. _xmouse<Stage. width-magnifyingGlass._height/2){
    magnifyingGlass._x = _root._xmouse;
    magnifyingGlass._y = _root._ymouse;
magnifyingGlass.onEnterFrame = function(){
     this.largeobject._x = (this._parent.original._x-this._x)*2;
     this.largeobject._y = (this._parent.original._y-this._y)*2;

Similar Messages

  • Issue when Kinect Hand Cursor Leaves the Application Screen

    Hi Everyone 
    i have an application in v2. i have implemented the hand cursor and when the cursor leaves the application or when the user stop using hands the sensor takes time to detect the sensor back and sometimes it does not come back. 
    We updated the VGA Driver to the latest and still we have an issue.  we followed the standard by assigning the Kinect to the Kinect region as we did in V1 sdk 1.8. 
    Our Kinect instance is in a Static Variable so we ca reuse it in other Windows that we created below is my MainPage 
    this.InitializeComponent();
    Generics.Generics.FullScreen(this);
    // only one sensor is currently supported
    KinectGeneric.kinectSensor = KinectSensor.GetDefault();
    // open the sensor
    KinectGeneric.kinectSensor.Open();
    // set IsAvailableChanged event notifier
    KinectGeneric.kinectSensor.IsAvailableChanged += Sensor_IsAvailableChanged;
    // set the status text
    this.Status.Content = KinectGeneric.kinectSensor.IsAvailable ? Properties.Resources.RunningStatusText
    : Properties.Resources.NoSensorStatusText;
    // open the reader for the body frames
    this.bodyFrameReader = KinectGeneric.kinectSensor.BodyFrameSource.OpenReader();
    // set the BodyFramedArrived event notifier
    this.bodyFrameReader.FrameArrived += bodyFrameReader_FrameArrived;
    // initialize the BodyViewer object for displaying tracked bodies in the UI
    this.kinectBodyView = new KinectBodyView(KinectGeneric.kinectSensor);
    // initialize the gesture detection objects for our gestures
    // KinectGeneric.gestureDetectorList = new List<GestureDetector>();
    //set the Region
    KinectRegion.SetKinectRegion(this, kinectRegion);
    kinectRegion.KinectSensor = KinectGeneric.kinectSensor;
    App app = ((App)Application.Current);
    app.KinectRegion = kinectRegion;
    and we have a viewbox that covers the grid and the Kinect region as detected below 
    <Viewbox Margin="0,0,-0.2,0" VerticalAlignment="Top">
    <Grid x:Name="LayoutRoot" Height="1367">
    <k:KinectRegion x:Name="kinectRegion" Margin="0,138,-8.4,10">
    we use the view box to adjust our UI automatically on different sizes of the screen. We also have Navigation services which is inside the above grid as depicted below 
    <DockPanel Margin="551,-57,668,177">
    <Frame x:Name="_home" NavigationUIVisibility="Hidden" HorizontalAlignment="Stretch" Source="Default.xaml" Width="1460" Margin="0,12,0,0" />
    </DockPanel>
    On all other Pages that get navigated to,  we dont have Kinect Region because it will inherit from the Frame Pages else we get ourselves with two hand cursors. 
    If there is anything i have missed please point it out for me
    Thanks
    Vuyiswa Maseko

    Hi Carmine 
    Thanks for the reply 
    you said "we dont have Kinect Region because" how does this differ from how we implement
    multi-pages in Controls-Basics? Are you creating new windows?
    Yes you are right it does not Differ, we used this Navigation Part in our V1 Application and the it worked nicely. i have pages not window and i just navigate to those pages , because they are hosted in the Frame when the hand is active it can move from
    the Parent window and the Child .
    we have borrowed the client the sensor i cant actually reproduce that until they finish testing and we can attend to the issue, they just called us and explained, when i was there i was able to do it nicely i think they just need to put the sensor in the
    right place. 
    Carmine if i can just squeeze this other question , 
    In V1 from SDK 1.7 ,1.8 we had the push to press that was in the Toolkit which showed a nice purple looking hand , why was that not added in 2.0 SDK ? 
    Thanks 
    Vuyiswa Maseko

  • I'm moderating a competition which will be about 8 hours long. I need to have a video/audio recording of the whole thing incase an answer is contested. We will need to stop recording and access the footage as the day progresses. Any suggestions?

    I'm moderating a competition which will be about 8 hours long. I need to have a video/audio recording of the whole thing in case an answer is contested.
    We will need to stop recording and access the footage as the day progresses. Any suggestions as to how best to accomplish this? I have an iPad and a Macbook Air.
    Many thanks!

    I'm moderating a competition which will be about 8 hours long. I need to have a video/audio recording of the whole thing in case an answer is contested.
    We will need to stop recording and access the footage as the day progresses. Any suggestions as to how best to accomplish this? I have an iPad and a Macbook Air.
    Many thanks!

  • Changing the location of the Flash Recovery Area

    My flash recovery area is currently on the same disk as the database. The recovery area also has all out backups for the past month. What's steps should I take to change location of the flash recovery area? Do I have to do anything besides changing db_recovery_file_dest? Would I have to update the control files, spfile and so on?
    Thanks in advance,

    you can make the change at pfile or spfile level and stop and restart the database. this should work.

  • Retention policy for archivelogs in the flash recovery area

    I am using the flash recovery area for all my backup files (archive logs, data and control files). I want to use the redundancy retention policy because it is easy to calculate the space requirement. However, I am not clear how the retention policy applies to archive logs.
    Say I set the retention policy to be "keeping 3 backups". How does it affect the archive logs? Will archive logs in the flash recovery area be deleted automatically or I need to do it manually. If they are deleted automatically just like dataset files, what is the "retention policy" for them? I do not have a tape device so all archive logs are going to be stay in disk.
    Thanks.

    I am using the flash recovery area for all my backup
    files (archive logs, data and control files). I want
    to use the redundancy retention policy because it is
    easy to calculate the space requirement. However, I
    am not clear how the retention policy applies to
    archive logs.
    RMAN> show retention policy
    2> ;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups found
    RMAN> list backup
    2> ;
    RMAN>AS documentation says
    "Besides affecting datafile and control file backups, the retention policy affects archived logs and archived log backups.
    First, RMAN decides which datafile and control file backups are obsolete. Then, RMAN considers as obsolete all archived
    log backups that are older than the oldest datafile or control file backup that must be retained."
    Now i connect to SQL and create two big table for filling the redo log file and then get it archived.Please
    consider it here that i am getting archived before any taking backup i.e backup database in order to make
    archive older then the oldest datafile.
    SQL> show parameter control_file_record_keep_time
    NAME                                 TYPE        VALUE
    control_file_record_keep_time        integer     7
    SQL> create table a1 as select * from all_objects
      2  /
    Table created.
    SQL> create table a2 as select * from all_objects
      2  /
    Table created.
    C:\>dir C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    Volume in drive C is khurram
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    03/17/2008  03:44 PM    <DIR>          .
    03/17/2008  03:44 PM    <DIR>          ..
    03/17/2008  03:44 PM         9,750,528 O1_MF_1_15_3XWLVK6T_.ARC
                   1 File(s)      9,750,528 bytes
                   2 Dir(s)  62,714,875,904 bytes free
    Now i take backup
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups found
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          402    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\ARCHIVELOG\2008_03_17\O1_MF_1_15_3XWLVK6T_.ARCYou can see the obsolete archived files which is the older then the oldest file which has been obsolete.It also
    does'nt make sense to keep the archived log files which is older then the oldest file cause it will no longer
    be useful for recovery process.
    now back to pavillion
    RMAN> delete obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          402    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\ARCHIVELOG\2008_03_17\O1_MF_1_15_3XWLVK6T_.ARC
    Do you really want to delete the above objects (enter YES or NO)? yes
    deleted archive log
    archive log filename=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELO
    G\2008_03_17\O1_MF_1_15_3XWLVK6T_.ARC recid=402 stamp=649611842
    Deleted 1 objects
    RMAN> delete backup
    2> ;
    using channel ORA_DISK_1
    RMAN> list backup
    2> ;
    C:\>dir C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    Volume in drive C is khurram
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_
    03_17
    03/17/2008  03:59 PM    <DIR>          .
    03/17/2008  03:59 PM    <DIR>          ..
                   0 File(s)              0 bytes
                   2 Dir(s)  62,724,440,064 bytes freenow this time what i did i created the archived log files after first backup in order to not to make it older
    then the oldest datafile backup.
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups foundnow i come to at SQL and make redo log file filled by creating 2 big tables in order to get it archived
    SQL> create table a3 as select * from all_objects
      2  /
    Table created.
    SQL> create table a4 as select * from all_objects
      2  /
    Table created.
    C:\>dir C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_03_17
    Volume in drive C is khurram
    Volume Serial Number is F49D-FF2B
    Directory of C:\oracle\product\10.1.0\flash_recovery_area\ORCL\ARCHIVELOG\2008_
    03_17
    03/17/2008  04:09 PM    <DIR>          .
    03/17/2008  04:09 PM    <DIR>          ..
    03/17/2008  04:09 PM         9,751,552 O1_MF_1_16_3XWNCGRS_.ARC
                   1 File(s)      9,751,552 bytes
                   2 Dir(s)  62,563,205,120 bytes free
    RMAN> backup database
    2> ;
    Starting backup at 17-MAR-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting compressed full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    no obsolete backups foundYou can see no archived logs get obsolete yet cause the archivelog O1_MF_1_16_3XWNCGRS_.ARC
    is not older then oldest datafile backup.
    But this archivelog file will get obsolete if its beyond the retention policy,lest see how ,just take one more
    backup ,as i have already taken two time backup and the moment i go to take third backup it will cross ours
    retetnion policy from the period of 2.
    RMAN> backup database
    2> ;
    RMAN> report obsolete
    2> ;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           240    17-MAR-08
      Backup Piece       231    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\BACKUPSET\2008_03_17\O1_MF_NNNDF_TAG20080317T160604_3XWN4WTB_.B
    KP
    Backup Set           241    17-MAR-08
      Backup Piece       232    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\BACKUPSET\2008_03_17\O1_MF_NCSNF_TAG20080317T160604_3XWN6Z95_.B
    KP
    Archive Log          403    17-MAR-08          C:\ORACLE\PRODUCT\10.1.0\FLASH_RE
    COVERY_AREA\ORCL\ARCHIVELOG\2008_03_17\O1_MF_1_16_3XWNCGRS_.ARCKhurram

  • When i try to update itunes and quicktime, it stops me and says " The feature you are trying to use is on a network resource that is unavailable" please help.

    when i try to update itunes and quicktime, it stops me and says " The feature you are trying to use is on a network resource that is unavailable" please help.

    Before trying the update again, use Microsoft's Fix it solution at http://support.microsoft.com/mats/Program_Install_and_Uninstall. Use it to uninstall iTunes and Quicktime. It bypasses this not uncommon problem. When the solution finishes, the selected program will be uninstalled. It can take several minutes and I have seen as much as half an hour.
    After iTunes & Quicktime are uninstalled, try the update again.

  • Cursor and the track pad are acting erratically.

    I have a 13" MacBook Pro (mid 2012).  Currently have Mac OS X Lion 10.7.5 (11G63) install. My cursor and the track pad are acting erratically.  Any suggestions.  Google wasn't a great help.

    Replace your MacBook's battery ASAP.

  • Firefox page stop refreshing(drawing) when the flash plugin exit full screen mode.

    While watching youtube video from youtube.com in full screen mode (this is flash player full screen mode, not browser full screen mode), if you exit the full screen mode, some times the original page when the full screen was started from would stop drawing, not responding to the mouse click in the page area. The page will go back to normal if you click and drag the firefox browser title bar or just resize the browser window.
    I initially found this issue with our company's browser plugin product when testing on Firefox 4. Then I went on trying the same scenario with youtube flash player, it is the same behavior.
    It is not difficult to reproduce, if exiting full screen works fine, move the browser window a little bit and try it again. I can reproduce this once every 5 - 10 times. It is very annoying.
    The same test case works on Safari, Google Chrome without any problem. Please fix this!

    Try to disable the hardware acceleration in the Flash Player.
    See:
    * https://support.mozilla.com/kb/Cannot+view+full+screen+Flash+videos
    * http://www.youtube.com/swf_test.html (right-click the player: Settings)
    Flash "Display settings" window:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • Populating a message when cursor leaves the current record unsaved

    Hi ALL
    Can any one please tell me how to do the following.
    I have a Custom Form, In that if the user updates a record and does not save it and goes to the next record, it should populate an alert to the user for saving the record.
    Or if putting it in different way: If the cursor leaves record not saving after update, then the alert should pop-up. However after doing update if the user directly goes and saves the record, then it should not populate any message.
    I have added an alert, but not sure on which trigger to put it rather not sure how to get the record status whether saved or not, so that based on that condition I can raise the alert may be in POST-RECORD trigger.
    Some sample code would be a great help.
    Thanks
    Madhu

    Look for Get_Record_Property in the online help. The only property you can read is Status, that's the one you want.

  • I need to add a website to the sites which are allowed to install add-ons & have instructions to do so but do not have a yellow bar across the top of my screen in order to click on "Edit Options."

    I tried to install an update for Adobe Reader but Mozilla Firefox will not install it until I add them to the Allowed List. The first step is to click on "Edit Options" in the yellow bar across the top, but i don't have a yellow bar or actually anything that says Edit Options.
    == I needed to install an update for Adobe Reader

    The instructions on the Adobe site are outdated and do no longer apply to current Firefox versions and you can ignore those instructions and save the Adobe installer to your desktop and start the installation with a double-click on that file.
    See [[How do I edit options to add Adobe to the list of allowed sites]]

  • How to load different html files in one page in order to load them without leaving the main stage?

    Hello,
    I'm new with edge animate, but i fell in love with it.
    I'd like to know, is it possible to load different html pages dynamically in the main stage in order to avoid the preloader to be load?
    I can figure out how to save all the pages of the site, but i can't merge them in a continuous animated browsing experience.
    As sample.
    I've got a index.html and home.html, how to switch form index to home without having a clear division between the two pages?
    I can place all the animations within a file and this will allow me to have a continuous surfing experience but it won't generate specific and google indexable pages within the site.
    Example, index.html will generate www.mysite.com, home will generate www.mysite.com/home. How ho switch dinamically between them and integrate them in a unique fading experience?
    Thanks in advance for any help. I'm a newby, but i would like to learn.
    Fea.

    Look into using the Loader class to load the swf files.  If you want to have it happen in different frames then you can put the code into the different frames.

  • I can't update my itunes it stops halfway and says the feature you are trying to use is on a network resource that is unavailable! Help!

    I've been trying to update my itunes for AGES now and it just won't seem to do it! Everytime it get's halfway and say the feature you are trying to use is on a network resource that is unavailable. If someone could help me I would really appreciate it.

    Which particular .msi file does the message go on to say can't be found, elle? (Several different .msis could be mentioned in the context: iTunes.msi, Bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • Need to run php script before the Flash component kicks in

    I have a slide show component in Flash which uses an xml file to load images. The xml file, however, is created dynamically when the user selects which slide show they want to see. How do I run the php script BEFORE the slide show component has a chance to look for it? Usually it begins as soon as the .swf is run.
    thanks,
    chop

    thank you for responding.
    I'm still new at as3 so forgive me for needing details.
    I searched adobe for help and came up with the following to import the component. However, it seemed too easy to be true and so it was. I received errors when I ran it. The component is a commercial one called SlideshowBox and is in my library with that exact name.
    //add a component to the stage
    import fl.controls.SlideshowBox;
    var aSlideshowBox:Button = new Button();
    addChild(aSlideshowBox);
    errors:
    Scene 1, Layer 'Actions', Frame 1, Line 3    1172: Definition fl.controls:SlideshowBox could not be found.
    Scene 1, Layer 'Actions', Frame 1, Line 3    1172: Definition fl.controls:SlideshowBox could not be found.
    Scene 1, Layer 'Actions', Frame 1, Line 4    1180: Call to a possibly undefined method Button.
    thank you, k

  • Apple needs to stop forcing me to update Flash

    I find it presumptuous of Apple to disable Flash and force me to update it. This is my computer, believe it or not. Apple should not be allowed to take away my control.
    Now, how do I stop them from doing this? Is there some hack or hidden setting that I can change?
    Message was edited by: temhawk (added screenshot for reference)

    What I do is use the Click2Flash extension for Safari so that if there is Flash on the page, it is not enabled unless I say so. If Flash is not enabled, it won't bother me about updates. I am only asked to update Flash if I actually let Flash run on a particular page.
    On sites like YouTube, the use of Click2Flash means I can go ahead and still watch videos using whatever alternative player they have like an HTML5 player. I don't have to deal with Flash, or Flash update notices, on those sites. On all other sites, using Click2Flash means I won't get bugged about a Flash update just because some random ad uses Flash.

  • I need to update Adobe   To have the Flash Player

    I need to have Flash Player to be able to have a program for my grand kids

    This might be of use to you:
    http://forums.adobe.com/message/5760118

Maybe you are looking for