Flash 10 :: CS5 : Disable The Ghosting When Dragging?
Jul 20, 2010as you drag apiece of art, it leaves a ghosted version behind.not a show stopper, but I don't like it. any way to turn that off?
View 0 Repliesas you drag apiece of art, it leaves a ghosted version behind.not a show stopper, but I don't like it. any way to turn that off?
View 0 RepliesI know in Java googleMap.draggable = false; in "google.maps.MapOptions object specification" disables dragging, but how it works for Action Script 3.0 ? I want to disable dragging/panning by mouse. I used googleMap.disableDragging(); but it doesn`t work ..
View 1 RepliesHow can I disable dragging of the Alert window in Flex? I don't want the users to move my alert windows. What shall I do?
var a:Alert=new Alert();
a.text="Alert Message";
PopUpManager.addPopUp(a,this,true);
I have actually managed to get about 99% completed and published but I am having a issue with bleed through when clicking (or loading and unloading swfs) when navigating from one page to another, the intro page/whole site opening is appearing for a split second or even sometimes longer before the new (swfs) page loads, possibly ran into the same issue and managed an easy fixCheck the site to see what I mean it is the best way to understand the problem, after intro navigation buttons are enbled and then click to see the effect I am reffering to. (opening interior design page flickers for half a second then disappears)P.S. Here is the code I believe where my error/fix is at !
var Xpos:Number = -493;var Ypos:Number = -221;var swf:MovieClip;var loader:Loader = new Loader();
var defaultSWF:URLRequest = new URLRequest("swfs/myEntireSite.swf");
[code].....
As you can see when the bird flies across the screen it leaves part of it at the end, then clouds and the wolf do the same thing.This is all vector based artwork. It doesn't make sense becuase the simple images or complex images both leave a portion behind when rendering.The video plays perfectly in Flash. I tried importing it into iMovie and the same problem occurs.I don't even know what this is called so I can't seem to find any support on the issue
View 6 RepliesI have a flash project with three non overlapping panels (visual spaces) each of which contains different movie-clips. Each movie-clip in a particular panel is the child of that panel.Now, I want to drag one of the movie-clips from one panel to another (remove it as a child from the first panel and add it to the other) without a jitter and proper drag.What is the appropriate way to handle the drag architecturally
View 1 RepliesSo I've noticed Windows 7 has a disturbing tendency to prevent you from dragging the title bar of windows off the top of the screen. If you try - in this case, using an air app with a draggable area at the bottom of the window, allowing you to push the top of the window up past the screen - it just kicks the window back down far enough that the title bar is at the top of what it considers the 'visible area.'
One solution would be to resize the app window as it moves, so that the title bar is always where windows wants it. How would you resize the window while you're dragging it, though? Would you do it like this?
dragHitArea.addEventListener(MouseEvent.MOUSE_DOWN, function(e:MouseEvent):void{
stage.nativeWindow.height += 50;
stage.nativeWindow.startMove();
stage.nativeWindow.height -= 50;
});
see what's going on there? When I click, I'm doing startMove(), which is hooking into the OS' function for dragging a window around. I'm also increasing and decreasing the height of the window by 50 pixels - which should give me no net increase, right?
Wrong - the first '.height +=' gets executed, but the '.height -=' after the .startMove() never runs.
I know I'm using an older version of Flash (still using Professional 8) but I'm wondering if it's possible to have items be able to be more interactive in that the user can select an item with their mouse and drag it over another item and drop it on there.
View 3 RepliesI have been working on this project. I am pretty new to flash but developing a map application with pan and zoom. I decided to improve it slightly by adding in mouse functionality. I have the mouse wheel controlling zoom, and I understand the object.startdrag and stopstopdrag and how to make it work. How ever it moves the entire object, which meeses up the built in buttons that pan around the map.I am wondering if any of the flash gurus on this site would venture a guess for a solution to making mouse down add a pan function similar to the way button clicks work.[code]
View 1 RepliesI have a simple AS class:
package Bubbles
{
import flash.display.Sprite;
import flash.events.MouseEvent;
[Code]....
Stage only has that green rectangle on it. If I remove it nothing changes. If I change line thickness to 6 trails does not appear, at 7 and higher they appear. You can check SWF here: [URL]. How do I make it work correctly?
Update: If I change that rectangle shape to something star-like with sharp angles, trails appear even on lower thickness values (trails appear when thickness == 3 or more).
I have a project with Flash Professional CS5 and ActionScript 3.
I need to trigger an event when I drag an object over a particular spot, but haven't dropped it yet. Then, I need to trigger a different event when I leave that spot (still dragging). However, this should only occur while I am dragging on object.
The traditional mouse over and mouse leave events aren't working while dragging (only while not dragging).
I am doing some pre-production on a project that requires drawing on a 3d canvas, which I think flash is the best way to go. But there is a chance down the line that this client might want the site to show up on the ipad, iphone or other mobile devices that don't support flash.
So I was playing with the idea of doing everything in html and javascript except for the actual drawing/3D area. Almost like using flash as the element. I think html5 is too premature to start using this, but might be beneficial down the line. Chances are I will just go the entire flash route, but I thought it would be interesting to try. question is pretty top level. 1) how hard would it be to drag an object from an html page using javascript, and dropping it into the flashplayer. And then manipulating it from there.
Are there any examples out there that have tried to do this?
I thought I had a really simple task to do: Create an analog clock where student could set the time by moving the hours and minutes handles.Well, the whole thing works to a point... I have created a bone system to ensure that both handles bases stay put in the center of the clock while the handles get dragged about. The problem is that I cannot restrict the user movement within the "reach" of each handle (or is there?) and if the mouse happens to be OUTSIDE of the dragged handle at drop point, the MOUSE_UP event does not trigger.I have also looked for a MovieClipModified event which would work wonders in this case but I could not find it...
View 1 RepliesI have a draggable item, a MovieClip that calls startDrag() on itself when it is clicked, and another MovieClip on the stage.I need the MovieClip to receive ROLL_OVER and ROLL_OUT events while the draggable MovieClip is being dragged over it, but the lower clip doesn't receive these messages while a clip is being dragged over it.Essentially, ROLL_OVER is only sent to the topmost MovieClip under the mouse. Normally, you'd fix that with some combination of mouseEnabled or mouseChildren on the overlapping MovieClips, but if you do that to a draggable MovieClip, it breaks dragging. I need to detect when the mouse is over the lower MovieClip, regardless of what MovieClips are above it.
View 4 RepliesI have a canvas onto which I draw shapes like rectangle etc. When I move the shape using my custom mouse down/mouse move handler, the shape can go outside the parent bounds.
I am checking if the child is outside the parent's bound to snap it back:
var bounds:Rectangle = this.getBounds(this.parent);
var p:Point;
if (bounds.x <0) {
[Code]...
The snapInside method gets called when I go outside the left or top boundary. But when the child is dragged outside the right or bottom boundary, I find Flex/Flash runtime automatically expands the parent's height and width. So say the parent size was initially 800x600, if child Y bounds exceed 800 by say 20 pixel, I find the this.parent.height automatically resized by flex to 820!!
How do I prevent the parent from resizing when child goes outside the original bounds of the parent ?
Everytime I'm trying to drag an image from the library to the stage, the program crashes. I've been sending the crash logs to Adobe many times, but never got any solution from them.
In the log there a line that says:
<crash exception="EXCEPTION_ACCESS_VIOLATION" instruction="0x0c4feb66>
I'm working with 10.0.2, I thought the latest update will fix that, but it doesn't. Changing the UI from Essential to Classic doesn't help
EDIT: If I have a class called Items and it has a movieclip instance which is loaded from a url. The startDrag on item fails. If Items contains a movieclip which we initiate from a SWC (not load it) on Drag works fine. Now how to solve the issue where I have a class which has a movieClip loaded from outside.I have the following code:
package {
import flash.display.Sprite;
import flash.events.MouseEvent;
[code].....
Im in my final year of year 12 and need to have a car rotate in flash by either mouse movement or dragging by the user. Ive tried googling and being lower then noob level on adobe flash I have no idea about anything. I have created a car model in 3ds max. It is of high detail and I wanted to keep it that way. An example of what I wanted to create would be [URL]
View 1 Repliesall I'm trying to do is set up dragging for my movie clips, but I keep getting this error:The supplied DisplayObject must be a child of the caller.This is my code:
projectThumb.addEventListener( MouseEvent.MOUSE_DOWN, onThumbPress );
projectThumb.addEventListener( MouseEvent.MOUSE_UP, onThumbRelease );
function onThumbPress( e:MouseEvent ):void
[code].....
is it possible for flash to detect off-stage mouse coordinates in order to continuously drag an object within its bounds while the mouse is moving outside of the stage? for example: i have a draggable red square on my stage. the stage is the bounds of the drag. if i drag the red square to the bottom of the stage and continue to drag outside of and around the stage, i'd like the red square to continue moving within it's bounds, following the mouse coordinates. currently, dragging halts as soon as i leave the stage and the red square only begins to move with the mouse coordinates if i reenter the stage bounds.
View 2 RepliesI am getting Warning: 'flash' has no property 'prototype' every time I load a swf in my flashlog.txt.Does anyone know how to disable that warning or all warnings in the mm.cfg file or maybe some other way?
View 3 RepliesForEVER I've been annoyed with tooltips in Flash. Yeah, I've turned them off in preferences, but that doesn't effect the ones in the ActionScript area. I've gone so far as to globally and specifically set tooltips to a delay of 60 seconds in my Mac terminal, effecting every application in my system, but this f^%king program over rides even that.
View 1 RepliesI have a flash application and I want my users not to be able to do caching in their flash players.I couldn't find the code that disables the option of caching for them.Does anyone have the line I need to add (and where) which will disable the flash caching?
View 1 RepliesI have rollover JS/CSS menus that drop down over a Flash feature with several rollover behaviors. When I'm in one of the menu divs overtop, the Flash rollover behaviors behind the layer I'm on keep firing. Is there a way to tell Flash not to react while I'm moused over a non-Flash layer on top?
UPDATE: This seems to only happen on the Mac (FF & Safari) but not the PC.
I am using Flash CS5 and when I exprt my file to swf I notied that after exporting and playing it in Flash player (on my desktop) I can change the size of the window and the scene itself eventthough I have set the width and height dimension to e.g. 468x60.
So, the bad thing is that if I ahve some objects that are moving from this area and in banner I do not see them in flash player I can see all which is not good.
Is there a setting in export option to disable this behavior or some actionscript, so my client will not be able see the "mess-behind-the-scenes" :)?
I can probably remove some objects using actionscript, however if I have looping background image it is necessary to be bigger than 468px In my case 3x.
If there's a way to disable the Output panel in Flash? I've tried turning off most of the Warnings section in the prefs, but apparently that doesn't affect the Output panel.
View 3 RepliesI'm trying to have this video not play on load:
[code]... in the first (and only) frame of fla file... nothing worked.
The company i am working for are designing an interactive flash movie that requires the Right click Menu to be entirely disable, or else the right click option to be disabled. The best that we can achieve at present is to limit the context menu to "About..." and "Settings".
Is there anyway of disabling the right click function in flash so we can secure our movie?
Our problem arises from the User being able to click on the "About..." menu item and launching a browser. We require that the user is not allowed to access this. We have tried to change the Default Browser in Windows to a custom browser, but to no joy.
Is there anyway for us to disable the Flash Menu, or, Disable the Right click function completely or, re-route the About Menu item to a default browser so we can prohibit the user from access the default webpage?
How can I turn off viewing the Application Bar and associated window it is attached to without quitting Flash in Flash 11?
View 4 RepliesHow can i disable the menu of flash player when I'm navigating a flash file with WebBrowser ?
View 2 Replies