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
Similar Posts:
Oct 26, 2009
I am having a little trouble trying to design something similar to this:I tried to do layers with buttons and MC's but it didn't work very well. I think they are using the accordion feature but modified...
View 1 Replies
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
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
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
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
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
Jun 29, 2005
I have attached a file with a senocular springy menu that i have been playing around with. One thing i would like to know how to do is - towards the bottom of the script on _root, a comment says: // for unique content in item clips, attach those / movie clips to the item clip here i have tried many ways to make different content in each menu item, but to no avail (my knowledge of actionscript is not that great). What i would most like to do is have different text on each item and a different onRelease action for each one.
View 6 Replies
Sep 6, 2005
Would anyone have any tutorials on how to create a multi stage zooming menu like in the following demo links?
[URL]
Is this done with actionscript or manually tweening several clips? I can't quite seem to get my head around zooming in and out of several layers. I am currently looking into the Laco tween class as a possible solution, but I was hoping that someone might already understand how to achieve this effect.
View 1 Replies
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
Feb 27, 2012
Basically I want to know if there is a way to go from a zoomed in version of something, and then seeing the whole image in another frame. (By pressing a button)
Let's say there's a tree, I would bascially like (upon pressing a button which I can do) to zoom out and see the whole scenery. Is there a way I can do this without actually changing the size of the image?
View 2 Replies
May 25, 2011
I look at professional animations and notice the camera-like effects they manage to put into these animations. I'm wondering how I can do the same without having to just enlarge or reduce a movieclip across the stage. Is there any way to add a camera view on your animations or do you just have to bear with Flash's basic necessities?
View 1 Replies
Aug 6, 2005
I'm creating a clock for a client, easy enough, but how would I go about getting that little springy movement in the second hand?I'm using this clock code:
Code:
onClipEvent(enterFrame) {
springForward++;
var timeClock = new Date();
//var iMilliSec = timeClock.getMilliseconds();
[code]....
View 3 Replies
Dec 22, 2010
im trying to make a logo where the text avoids the mouse ( i got that much) but than the text springs back to its original position when the mouse isnt close to it anymore. heres my current code
[Code]....
View 0 Replies
Jun 17, 2001
I think I saw some kind of grid somewhere once. The squares were all the same size, but when you moved the mouse over the squares, the one underneath the cursor expanded and the other squares got smaller.
View 12 Replies
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
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
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
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
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
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
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
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
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
Jul 31, 2007
I hear that senocular has posted a zoom slider fla or tutorial but can not find it.
View 2 Replies
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
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
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
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
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