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


Similar Posts:


ActionScript 3.0 :: Auto-center Registration On Senocular Transformtool

Apr 15, 2008

I've been experimenting with senoculars transform tool for a while now. It's an awesome tool, I'm just having some issues getting it to do what I need it do. I think the problem is it does some really complex stuff but I really just needs some of the simpler features. I'm pretty close to just scrapping it and making a simpler one myself but I really don't want to do that.

My current issue is trying to get the registration point to always be the center of the object it's transforming. I was able to sort of do this by changing the line that creates the registration point to this: innerRegistration = new Point(_target.width>>1, _target.height>>1); but when the object is scaled the registration point gets messed up.

View 4 Replies

ActionScript 3.0 :: Flash Senocular's TransformTool - MovieClip Is Relocated Much Smaller Than Its Original Size ?

Jul 5, 2010

I see a number of cool sites and examples using Senocular's TransformTool. Most of them look and function really well. I've downloaded and reviewed the code for a number of different examples.I can see how everyone else's works.I'm having difficulty with 2 points:

1. When I select a movieClip, the TransformTool appears in the correct spot and in the correct dimensions. But the movieClip itself is relocated much above the TransformTool and is MUCH smaller than its original size and the current (and correct) dimensions of the TransformTool. Selecting one of the handles and dragging stretches the movieClip but does not make it the same dimensions as the TransformTool

2. Releasing one of the handles seems to cause the handle to behave in the same way the movieClip did -- you can resize and move the handle.

View 4 Replies

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

ActionScript 3.0 :: Create OnClick Event Handler?

Mar 10, 2011

I'm building a flash piecve for aour FAQ section. I have an button instance controlling what show when a user mouses over a certain area. On click it displays the info box. What i need is a way when the user clicks, and then releases that the inlformation box stays, at least until another option is clicked.

View 4 Replies

Flash :: Swfobject Onclick Bind Event?

Mar 27, 2010

[URL].. How to bind onclick event to flash via swfobject?

For example i need to add onclick url, because there isn't built in url on click.

View 1 Replies

ActionScript 3.0 :: Remove Text Box With An OnClick Event?

Jan 22, 2011

is there away to remove a text box when I click on another movie clip? I know how to add the eventlistener but just don't know the AS to remove the text box when the X is clicke

View 1 Replies

Professional :: Convert FLV Movie File To SWF And Add OnClick Event

May 30, 2011

I have an flv movie file that I need to convert to swf and add an onclick event to it. I was able to do the first step by importing the flv movie and export it as swf. How can I add the onclick event? This swf will be an advertisement for a product and onclick I need it to redirect to a specific URL.

View 1 Replies

Actionscript 2 :: Create A Global OnClick Event In Flash?

Feb 25, 2010

I have a Flash AS2 application that is made up of many SWF files. I need to create an OnClick event in a container SWF that will work for every SWF called. I am trying to avoid adding code to every SWF (over 100).

Currently I can get access to the click in the container for the first SWF but when the second SWF is called it seems to overwrite the container.

this._lockroot = true;
this.onMouseUp = function(){
//if not on login

[Code]....

How do I make where a click in the container will be triggered even if the SWF inside the container calls another SWF?

View 2 Replies

Javascript :: Pausing / Stopping Videos With OnClick Event

May 23, 2011

I currently have a onClick event that resets my videos, but this 'reloads' them, is there a way to pause them or stop them without resetting them? <a href="#" onClick='resetVideo("vid1");resetVideo("vid3");return false;'> I currently have this event firing on a navigation button, but it fires every time its clicked (obviously), I really only want to stop a video if its playing - is that possible?

[Code]...

View 1 Replies

IDE :: Adding OnClick Event From ImageMap To Flash Button?

Nov 5, 2009

I have an image map with coordinates and event onclicks. I am not concerned about the image map coordinates as much as i am with the onclick event which is what triggers the parent application ( which seems to only recognize the event formatted in this way:

<area shape="circle" coords="169,380,16" href="#" alt="221" onclick="top.changeView('[Shared] CENTER', '221');" />

Is there any way to do this?At least for the onclick part? I'd like to add the imagemap onclick to a button.

View 5 Replies

ActionScript 3.0 :: Switch Statement Not Executing Trace Commands From OnClick Event

Sep 10, 2009

3 buttons are called to the stage, and each button has an eventlistener that listens for a Click event. A switch statement is used to trace the clicks, but the only message i get is from the "default message"?[code]...

View 3 Replies

ActionScript 2.0 :: Get Data From XML Populated Combobox List Item OnClick Event?

Nov 25, 2009

I would like to populate a combobox from XML file in Flash. Then, when a list item of combobox is pressed then thumbnail image of that particular category is being loaded in a movieclip from XML file.

I spent a hard time to achieve this, but there is no success.

I used this code so far to accomplish this task.

Code:
var myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function(loaded){

[Code]....

View 0 Replies

ActionScript 3.0 :: Us Onfocus Like Onclick Is Used In This.onClick = Function{...};

Nov 6, 2009

I tried posting this in the newbies thread but no one replied. I want to use onfocus like onclick is used in this: this.onClick = function{...};

View 1 Replies

Flash :: Android Web View Displaying Content Catch OnClick Event On Specific Inner Item

Dec 12, 2011

I have android 3.2 tablet application that displaying flash inside webView. now I want to catch event when pressing some inner item inside (it does't direct to another url..)
is it possible??

View 1 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 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

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 2.0 :: Dragging Multiple Movieclips Senocular?

Feb 27, 2010

I have a site that uses a custom cursor, I would also like to be able to drag other objects around. However in flash this seems to be quite difficult. came across this site called senocular and they had a .as file called beginDrag.asThey had some simple useage for the script:

on(press){
this.beginDrag(true,0,0,300,300); // constrained to 300x300 square
}

[code].....

View 1 Replies







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