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


Similar Posts:


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 :: Way To Use KeyObject

Feb 23, 2011

Tell/explain me how to use KeyObject ?

View 0 Replies

Flash :: Make A Counter Clockwise Circle Using Senocular's Path Class?

Feb 20, 2011

how to make a counter clockwise circle using Senocular's Path class?

For example, if I start a half-circle on the left (9 o'clock) it will go to 6 o'clock then 3 o'clock. Right now it goes for 9 o'clock to 12 then 3.

Works great clockwise... but I can't get it to draw in the other direction. I tried messing with the math inside the class and it exploded!

Here is a link to his source file: [URL]

View 1 Replies

ActionScript 3.0 :: Senocular Level - Put A Bitmap Inside A Clip Linked To A Class

May 4, 2009

Put a bitmap inside a clip linked to a class. do

[Code]...

Even more interestingly, you can make this even more perverted by doing

[Code]...

View 5 Replies

ActionScript 2.0 :: Flash8 Dragging Multiple Movie Clips Using Begindrag Senocular Class

Feb 27, 2010

I need to have a custom mouse cursor and also have dragable object on my page. im using flash 8. I came across this site called senocular which had a list of .as files [URL]
and some simple useage such as:

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

I would love to get this to work, however I dont know how to import this into flash 8. I thought classes only worked for flash 9 and actionscript 2.

View 1 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 :: Senocular's Path Class - Take Line Paths - Drawn And Convert Them Into A Path Object?

Feb 15, 2010

I was wondering if it possible to write up some AS that will take line paths that you have drawn and convert them into a Path object? For example say you drew a jagged line from left to write, would there be a way to have AS convert that into a Path object.

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

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

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 :: Dynamic Senocular Consecutive Jpg Loader

Jun 29, 2010

so it all starts with this brilliant and self explanatory piece of code [URL] i need to get it working in as3, as i am integrating the code into a flash project. and need it on that main timeline. i would ideally like to do this without using xml.

View 1 Replies

ActionScript 2.0 :: Use Senocular's News Editor From The Xml Tutorials?

Dec 29, 2004

I'm trying to use Senocular's News Editor from the xml tutorials, but for some reason when i add new entries, they dont save to the xml file. The "news_save.php" page gives the following errors:

Warning: fopen(readwrite/news.xml): failed to open stream: Permission denied in .../news_editor/news_save.php on line 7
Warning: fwrite(): supplied argument is not a valid stream resource in .../news_editor/news_save.php on line 8
Warning: fclose(): supplied argument is not a valid stream resource in .../news_editor/news_save.php on line 9

View 4 Replies

ActionScript 2.0 :: Senocular's Xml Driven Drop Down Menu Tute?

Oct 25, 2004

I'm slowly trying to get my pea sized brain wrapped around using xml in flash.my question is how do i convert what senocular has here:

Code:
Actions = Object();
Actions.gotoURL = function(urlVar){

[code].....

View 3 Replies

ActionScript 2.0 :: Changing Font Color For Senocular's XML Menu?

Apr 25, 2007

I am going through Senocular's beautiful tutorial on xml driver drill down menu and was trying to change the the font color with rollover effects. I have a function that I can use for this, but I am not able to call it appropriately from the main program.

[Code]...

View 3 Replies

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 :: 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







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