ActionScript 2.0 :: Senocular's Free Transform Tool (or Even Senocular)

Mar 14, 2007

I've been using Senocular's free transform tool: [URL] in tandem with an image upload (using the fileReference class) so that users can upload an image and the transform it.

The free transform class has a function that allows you to restrict the scaling of the movieClip that you apply the free transform to, but it works on a 'scale' rather than specific height and width properties. My problem is, that I don't know what he dimensions of each uploaded image will be, so if it's restricted to a scale, some images will be allowed to be bigger than others....

View 4 Replies


Similar Posts:


ActionScript 3.0 :: AIR How To Modify Senocular's Free Transform Tool

Oct 13, 2009

how can I modify the code in Senoculars Free transform tool so it resizes on width/height basis instead of scaleX / scaleY like in the current version?

View 2 Replies

ActionScript 3.0 :: Loading In An External Image That Can Transform With The Senocular Transform Tool Class

Jun 26, 2009

I'm having trouble with loading in an external image that I can transform with the Senocular Transform Tool class. I have managed to load in the picture but the transform class doesn't seem want to grab it. Eventually I want to us the FileRef to upload the image but I just need to figure out how it works first. Here my code to load in the external image

[Code]...

The transform class can grab the other movieclips but it doesn't want to grab the new image loaded in from the code above.

View 1 Replies

ActionScript 3.0 :: Skinning Senocular Transform Tool

Dec 27, 2010

Has anyone a chance to make custom skin for new transform tool v2 beta? Or can anyone guide me for a starting point?

View 0 Replies

Add Reset Button To Senocular Transform Tool?

Mar 11, 2010

I am a teacher I used the senocular transformer tool "action sript 3.0 Transformer tool [url]... to create a program for my students I want to add a reset button to it may anyone help me to do so?

View 3 Replies

ActionScript 3.0 :: Loading External Images To Senocular's Transform Tool?

Apr 29, 2011

how to load an external image with fileReference and loader into a movieclip such that it can be transformed with senocular's transform tool.Here's what I have so far: (It places the image down but I cannot transform it)

ActionScript Code:
var fileRef:FileReference = new FileReference();
MovieClip(root).loadBtn.addEventListener(MouseEvent.CLICK, openClick);[code].....

View 1 Replies

ActionScript 3.0 :: Senocular Transform Tool / Restrict Drag Area

Jul 16, 2009

I am using senocular's transform tool AS3 in one of my projects.I am having a problem in customizing the tool, I need the movieclip to be drag only with in a rectangle.

View 2 Replies

ActionScript 3.0 :: Senocular's Transform Tool - Constrain Dragging To A Given Area?

May 1, 2011

Does anyone has a modified version of this awesome tool that can limit the dragging of the objects to a given area? me in the right direction on how to accomplish this, which class i need to modify.

View 1 Replies

ActionScript 3.0 :: Flip Objects Horizontally And Vertically Using Senocular Transform Tool?

Oct 15, 2008

I am using the senocular transform tool for scaling, rotating etc... skew is disabled in the tool. I Have tried many ways to flip the display object horizontally and vertically. he function I am using is given below. It works fine when the display object is not rotated. When it is rotated and then flipped it outputs a skewed inverted display Object.

function flipHorizontal(dsp:DisplayObject):void
{
var matrix:Matrix = dsp.transform.matrix;
matrix.transformPoint(new Point(dsp.width/2,dsp.height/2));

[code]....

View 1 Replies

ActionScript 3.0 :: Senocular Transform Tool With Dynamic Sprites And Loaded Images?

Jul 20, 2010

I'm using the Senocular Transform Tool to allow the user to scale an image that is loaded in. The demos work fine with sprites that are already on the stage.My setup is PureMVC and the images are loaded in, then I turn the loader content into a Bitmap and put that into a Sprite.I mimmicked the source files and added the TransformTool onto the stage level then I make the target the Sprite with the image inside.This all works and when I click on the image the TransformTool pops up and is the right size and shape. Unfortunately as soon as I try to scale or move it using the tool the image skews and scale in huge increments and goes off into the wrong directions.

I tried adding the Bitmap to the Sprite with the registration in the middle. I tried using a transform matrix to move the registration point to the center.

View 3 Replies

ActionScript 3.0 :: Flex Flip Objects Horizondally And Vertically Using Senocular Transform Tool?

Oct 15, 2008

I am using the senocular transform tool for scaling, rotating etc... skew is disabled in the tool. I Have tried many ways to flip the display object horizontally and vertically. he function I am using is given below. It works fine when the display object is not rotated.When it is rotated and then flipped it outputs a skewed inverted display Object.

function flipHorizontal(dspisplayObject):void
{
var matrix:Matrix = dsp.transform.matrix;

[code].....

View 1 Replies

ActionScript 3.0 :: Flash Senocular Transform Tool - Scale Image Proportionally Without Shift Key?

Jun 19, 2011

i am using senocular transform tool in my flash, anyone know how to force user to scale image proportionally without pressing shift key?

View 2 Replies

ActionScript 3.0 :: Senocular Transformation Tool - Registration Point

Jun 27, 2010

I am fiddling around with Senocular's Transformation Tool classes, which allow for a MovieClip to be transformed (rotated, resized, skewed, etc) upon click. Just one tiny problem. I need for the MovieClip registration point to always be centered, so that when I do begin transforming in any way, it transforms from that centered registration point. Here is a picture - I need this done in As3 rather than simply creating a new MovieClip symbol and selecting the center for its registration point, as these pictures are loaded dynamically.

View 6 Replies

ActionScript 2.0 :: Zoom Tool Ala Senocular (slidezoom) - Load Higher Resolution Tiles

Jan 13, 2004

I've gotten pretty far with my file. I have successfully been able to load higher resolution tiles when a user either draws a box of an appropriate size (area 50-100% of total loads low quality tiles, 25-50% of total loads medium tiles, 0-25% loads high quality tiles). The tiles also load correctly when the slider on the zoom tool is pushed up and down. Here is my problem:

1) I can't figure out how to call the SetScale function (defined on the slider MC) so that when the user draws a box on the main map it zooms into that scale (see the functions half way down the AS layer on the main timeline where the calcArea is calculated).

[Code]...

View 14 Replies

Professional :: Why The Text Disappears When Rotate It Using Free Transform Tool

Aug 3, 2010

My Text is visible before rotating it to verticle position using Free Transform Tool. But when once it is rotated to verticle position the text disappears from the Stage. And it is not an animated Text as well?

View 4 Replies

ActionScript 3.0 :: Free Transform Tool Simulator That Rotates An Image When The Middle Top Button Is Clicked And Held?

Feb 6, 2009

I have a free transform tool simulator that rotates an image when the middle top button is clicked and held. The image rotates to 180 and then stops. Does anyone know why it is getting stuck?I have enabled viewsource for the code. the method is in WidgetEditor.as

View 3 Replies

ActionScript 2.0 :: XML Based Menu By Senocular?

Jul 31, 2007

I followed the XML based menu by senocular a long time ago and modified it to display a title when the sub menu is chosen simply a movie with an image of a menu button in it: http:[url]....I need to modify this so that when the title is hovered over it displays the sub menu. Essentially imitating the behaviour when the first menu is hovered over.

View 1 Replies

ActionScript 2.0 :: Senocular ProgressiveDrawing Listener?

Mar 18, 2008

So I picked up senocular's ProgressiveDrawing class this morning (awesome), but I'm having some issues getting an oncomplete to fire correctly. I think it has to do with my for loop,but I don't know why.

PHP Code:
for(var i:Number _msStructure.menuItems.length; i++){ var nIndex:Number mcBtn _mcTarget["mcBtn"+i]; 

View 3 Replies

ActionScript 3.0 :: Senocular KeyObject Class?

Dec 28, 2010

got a question about this class.it says:

Usage:
* var key:KeyObject = new KeyObject(stage);
* if (key.isDown(key.LEFT)) { ... }

[code].....

View 2 Replies

ActionScript 2.0 :: Object Basics By Senocular?

Jul 27, 2004

I am only at the very beginning and I want to make certain that I go through this understanding everything that can so maybe I won't have to ask as many questions in the forums and can start answering more. In this part:The code for making a standard generic object in Flash is as follows:

myObject = new Object();

The variable myObject then becomes a object variable which can then have more variables added to it using dot syntax like so.Is myObject the actual name of the variable and the = new Object simply stating that there is a new object called myObject?

View 14 Replies

ActionScript 2.0 :: Senocular's Directional Motion Blur?

Aug 31, 2010

he problem I'm having is I can't make this code reusable- I want to use it in a more linear fashion for banners rather then dynamically with mouse clicks. Has anyone had any luck using this in a timeline?This is my attempt to customize at the moment (old_loc is coming up as undefined, which in turn makes new_loc NaN):

PHP Code:
import flash.geom.*;
import flash.display.BitmapData;

[code].....

View 1 Replies

ActionScript 2.0 :: Can't Get Senocular's Shape Tween To Work?

Jun 20, 2011

Unfortunately the example is a broken link on senocular's site... this is what I have so far...

ActionScript Code:
import com.senocular.drawing.ShapeTween;
MovieClip.prototype.DrawCircle = function (x,y,r) {[code].....

Both the shapes are being drawn but as soon as I insert

ActionScript Code:
tween.play()

the stage just goes blank and stays that way.

View 1 Replies

ActionScript 2.0 :: Senocular's XML Drop Down Menu Into Classes?

Aug 6, 2005

I'm trying to create a large site where I'm using AS2.0 classes to manage everything. I've started working on porting the XML drop down menu by Senocular into a XMLMenu class with limited success. I have two issues/problems.I'd love to offer this AS2.0 class to anyone once I have it figured out. (One note, it's already slightly modified to be a horizontal menu with the submenus appearing below each menuitem).

#1: On top level items that are in the XML that don't have submenu's (they are just <item/>), I get a weird extra menuitem with "undefined" as the label, and the placement is off by one menuitem.

#2: I'm not getting the submenu's to appear at all. I thought it was an XML issue, but I'm pretty sure it's getting the XML right now...I wish I had more info to give here.

View 3 Replies

ActionScript 2.0 :: Amending Senocular's Countdown Timer

Sep 16, 2005

I'm amending Senocular's countdown timer that he has posted both on his site and as a tutorial on this site, but I'm trying to expand it slightly and need some advice.

His counter countsdown to one specific date, I have amended that date fine but need the date to change each month specified by the variable 'drawmonth' to countdown to the last day of the month at 17:00 when a competition draw will be made. So far I've got it working for September but when I add other variables it doesn't work.

This is a small section of the code that I know works fine:

stop();
loadVariables("test_index.asp", get);
this.timer_months.gotoAndStop(drawmonth);
currentDate = new Date();

[Code].....

View 3 Replies

ActionScript 2.0 :: Senocular's Preload Next Image Gallery

Oct 20, 2005

From my somewhat limited understanding of the AS, the next image is preloaded and waits until the button is clicked, and then swaps depths with the first image... I am trying to use this gallery, but have the image on top (one) fade out, so it would reveal the image below. But would it be easier to keep the swap the same, but alpha fade the second image from 0 to 100?

[Code]...

View 2 Replies

ActionScript 2.0 :: Use Senocular's Zooming, Springy Menu?

Sep 25, 2006

[URL]..i've been trying to create something like this for ages but haven't been able to - quite new to actionscripting.anyway, i want to be able to display text in the boxes so that it relates to my website. at the moment, it'll only generate "item0, item1, item2, etc." but i want the text to display "home, gallery, etc."

here's a part of the script that i think needs to be edited to get it working but i don't seem to be able to do it.

[Code]...

there is 1 movieclip in the library called "item" and this is being re-used i think. but i don't know how to edit this source file to allow different text to be shown. also, if someone can let me know how i can add in the actual links that would be fantastic. ie: i want to go to home.html when home is clicked, go to gallery.html if gallery is pressed.

View 3 Replies

ActionScript 2.0 :: Adding Images To Senocular's XML Menu?

Jan 9, 2007

I'm working on a navigation bar based off of senocular's amazing XML drop-down menututorial. I've managed to make the menu horizontal, and changed the boxes from rectangles to squares. All of that works fine. Now I need to figure out how to add an image to the inside of each element, and I can't figure out how to do that. I've addedCode:curr_item.image = curr_node.attributes.image; to the AS, and added an 'image' movieclip inside my menuitem, but that doesn't appear to work. Here's my complete actionscript:

Code:
GenerateMenu = function(container, name, x, y, depth, node_xml) {
var curr_node;

[code].....

View 2 Replies

ActionScript 2.0 :: Combine 2 Senocular Preloading Scripts?

Jan 23, 2007

I made several test with all the methods shown but still, I can't seem to figure out how to combine 2 of the the ideas presented. I would like to make external SWF load in my main movie, like in the file named : load_swfs_animations.zip in the article.So far everything is working fine, it works perfectly with my own movie. The only thing I am trying to achieve is to add a basic loading bar like in the example basic_percent_loaders.zip.

I understand both files pretty well, individually, but it didn't work when I tried to replace the rotating preloading animation with a preloading bar.

View 1 Replies

ActionScript 2.0 :: Senocular Zoom Slider Tutorial

Jul 31, 2007

I hear that senocular has posted a zoom slider fla or tutorial but can not find it.

View 2 Replies

ActionScript 3.0 :: Senocular's TransformTool - OnClick Event

Jan 27, 2009

One of the movieclips I have on the stage, Im using senocular's transformTool, to activate the transform controls (when that MC is clicked). But now I wanna have a different action if there is a SECOND click, but the MC isn't detecting any clicks anymore because the transformTool comes on top of the MC. Does it make sense or am I on crack?

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved