Calendar (Not Too Original, But Oh Well)
Hello!
this is actually my first post, and i didnt see an introduction thread, so, i figure i'll post here first
its a calendar i created as a learning experiment (using kirupa colors )
pretty much the only thing i had created in flash before this was a button >.<
i *highly* modified some code i found in the "best of" board (posted in http://www.kirupa.com/forum/showthread.php?t=49179 by jerryscript) to get the calendar to.. well... be a calendar. and the almighty actionscript dictionary and kirupa tutorials helped with the rest
http://tox1ndesigns.com/admin/files/other/calendar.html
the special events are in an array that has to be edited manually, but i hope to have it in an xml file soon,
also most of the design can be edited using the variables and changing 1 mc.
KirupaForum > Talk > Source/Experiments
Posted on: 03-13-2005, 04:59 AM
View Complete Forum Thread with Replies
Sponsored Links:
Calendar (Not Too Original, But Oh Well)
Hello!
this is actually my first post, and i didnt see an introduction thread, so, i figure i'll post here first
its a calendar i created as a learning experiment (using kirupa colors )
pretty much the only thing i had created in flash before this was a button >.<
i *highly* modified some code i found in the "best of" board (posted in http://www.kirupa.com/forum/showthread.php?t=49179 by jerryscript) to get the calendar to.. well... be a calendar. and the almighty actionscript dictionary and kirupa tutorials helped with the rest
http://tox1ndesigns.com/admin/files/other/calendar.html
the special events are in an array that has to be edited manually, but i hope to have it in an xml file soon,
also most of the design can be edited using the variables and changing 1 mc.
View Replies !
View Related
Original Question Here
Well not really, but I just can't find it so any help would be very very very appreciated :-)
How to load txt into a movie? Well that is the question. Actually the REAL question is this:
I want to make a autoupdatable menu who scrolls through a txt-file to find the values of its buttons and the number of buttons that have to be displayed. When clicked on a button i want it to load a new movie (now that i can do :-)) with each movie displaying txt from another seperate txt-file. The principle would be I update my database using my asp-scripts, another asp-script publishes the topics (so the name for the buttons) to a txt-file that is read by my nifty flash-menu to create a interactive yet beautiful scrolling menu. Not easy huh? I know it's so possible, just need a little help on the syntax and the correct procedure to do it. Anyone who helps gets real belgian beer next time I meet them :-)
PLEASE help,
Greetz,
Marijn
View Replies !
View Related
Removing Original MC
Hi, i'm building a site with a floating menu...
Its supposed to be on top thru all scenes, so i achieved that with duplicate movie clip in the 1st scene.
Only problem is how do i get rid of the original clip?
this is what i did:
duplicateMovieClip("nav2", "nav3", 2);
but the nav2, is still visible in the first scene.
Please help,
(or maybe there's another way to do it?)
Thanks
View Replies !
View Related
Original Question
I've built a very nice action scripted animated. It cosists of about 80 frames. The only problem is, it runs very slow.
I was thinking would it be possible to some how export each frame and then create a new movie and import frame by frame, so the new movie is just a frame by frame animation instead of a action scripted animated?
Any help would be greatly appreciated
View Replies !
View Related
Original Position
is there any way to set a movie clip back to its original position (say if it was dragged)? without using its coordinants? is there like a command or something? like....mc.setProperty._x,_y.original
or something?
View Replies !
View Related
Going Back To Original Swf After MC?
Alrighty... I've finally been able to load swf's successfully, inside empty movie clips! (Thanks much, iaskwhy!)
The problem I have NOW, though, is that I need to get back to the original swf... I'll explain my setup:
I have a main movie "main". In "main"s library is the empty movie clip. The MC is placed directly over the whole "main" movie, so that when a new swf is called, it sits directly overtop & covers up "main". This is working great, but how do I get rid of that swf sitting over top, if someone chooses the Home button & wants to get back to "main"? Is it as simple as something like a movieUNLoad?
Thanks for anything you can offer!
~Vik
View Replies !
View Related
Edit A .swf Without The Original .fla
A client asked me to edit a .swf - he doesn't have the original .fla. The file is very 2 dimensional, with very little happening on it. I need to change a little piece of text that is static and sits in the corner of the file.
Is there any way to do this? Thanks.
View Replies !
View Related
Linking To The Original
I have a button inside a movie symbol but I want to link it to a frame outside the movie symbol. Can someone tell me how I do this?
This problem has been driving me mad for months, please help!
View Replies !
View Related
How To Get Original SWF Size?
OK. So I have some flash files that I need put on my site but I downloaded them without knowing the actual dimensions of the flash file...
Anyway I can just do auto-size or something? I'm using SWF Object.
Thanks,
Pants.
View Replies !
View Related
External And Original Swf
Are there any ways to use button to link back to each of the files? I know how to create the link from original swf and load an external swf. But if I want to go back to sepecific frame inside the original swf from external swf, what should I do?
View Replies !
View Related
Original Sizes Of Flv
I need to show different flv movies which differes with there sizes (width, height) in original dimensions in flash. Is there way to recognize this values to setup Video object to show video without scaling.
Can I do that with progressive download?
Can I do that with stream download?
Maybe flashcom (FMS2) may recognize flv files dimesions?
Thanks
View Replies !
View Related
Bck To It's Original Position
I have a series of buttons,i can drag and drop them, but i need them to go back to their original position if they hit their first position...
Code:
fscommand("fullscreen", true);
fscommand("allowscale", false);
Stage.showMenu = false;
stop();
//------------Start buttons functions------------------------
var buttons:Array = new Array({instance:btn_01}, {instance:btn_02});
//------------Start movie proprieties------------------------
onEnterFrame = function () {
for (var k:Number = 0; k<buttons.length; k++) {
buttons[k].instance.onPress = function() {
this.startDrag();
this.onEnterFrame = function() {
btn_text.text = "X = "+(50/circle_mc._width)*this._x+" %";
btn_text2.text = "Y = "+(50/circle_mc._height)*this._y+" %";
};
};
buttons[k].instance.onRelease = buttons[k].instance.onReleaseOutside=function () {
this.stopDrag();
released = true;
this.onEnterFrame = function() {
if (this.hitTest(_root.circle_mc)) {
this.gotoAndStop(2);
} else {
if (this.hitTest(_root.menu_bkg)) {
this.gotoAndStop(1);
}
}
};
};
}
};
View Replies !
View Related
Open .swf With Original .swf Still Playing
What I am trying to do is open a seperate swf file inside another swf file. The catch is I do not want the original swf file to go away. What I am trying to open is a glossary and I want it to pop up on top of the original flash file. I have them as two individual swf files and I am racking my brain to figure out how to make them both appear but to be able to close the glossary and return where you left. Make any sense? Hope someone can help because I am at a loss of ideas.
Thank you,
Ryan Aller
View Replies !
View Related
Original Window Size
I've made a Flash movie that is a specific size, lets say 300 x 500. When i view it as a Flash movie, it opens to the appropriate size, however when I publish it to the web, it opens in a full size browser. Can I control this? If so, how can I get a browser to open to the specific size of my flash movie?
Thanks
View Replies !
View Related
Pop Up Links To Original Web Site
Yet another question....
From a flash movie that is in a pop up window, there is button on the last frame which when clicked needs to get back to a specific location on the original web site it came from and close itself down, I tried to use a _parent on the GetURL command but it didn't seem to work.
Any suggestions?
Thanks in advance,
Tanya
View Replies !
View Related
Original Size Of Picture
Is it possible to get "original size of a picture" in flash?
I am making a program where you can zoom and move picture. When picture is loaded, it is scaled down.
Prog works pretty well, but when you move picture maxright and zoom out the picture does move too far left and background becomes visible.
Moving is "smooth" and differences in picture scale and location is tracked all the time.
If I try to calculate correct size via xwidth and xscale, it doesnt work - oh well, it does, but too late. This sucks. I really dont want to give every pics width and height in pixels.
If I would know what is the original size of picture in pixels (scale ratio 100) I would have the information to prevent the pictures movement out of the area.
I suppose that if I make "fixed" +zoom and -zoom buttons the problem could be solved...
View Replies !
View Related
Original Frame Rate
I have a variable named "originalFrameRate".
I want to set the value of this variable to the movie's original frame rate that was set in Flash.
not the actual frame rate that's playing at runtime
How can I retrieve this value?
View Replies !
View Related
How To Back To Original Depth?
Thanks for reading my post.
I have got a question on swap depth. Let's say I have 2 layers. Layer 1 is on top of layer 2. There is a draggable movie clip on layer 2 and one graphic on layer 1. I have add an action to the button inside the movie clip.
on (press) {
startDrag(this, true);
swapDepths(10)
}
on (release) {
stopDrag();
swapDepths(0);
}
What I want to do is make the movie clip over the object of layer 1 while dragging, and then it can return to its origianl depth when release. But swapDepths(0) seems doesn't work. Any problem in my script?
** you can also find the fla in attachment for your reference.
Thanks.
View Replies !
View Related
Load Original Dokument
i have already sent my request about this kind of problem. I'm busyed from project which need involve a lot of external documents into my movies. That documents is Microsoft Word and Adobe PDF files whose holds a many pics and tables, and i want to hold them in theirs original states. So if you know how to script this, with load movie or others ways please tell write me.
Thanks a lot
View Replies !
View Related
JPG Original Art Sizing Strategy...
Is the best strategy to size art in Photoshop close to the size it'll be used in Flash, and to keep it high res in Photoshp, say 300 dpi with a maximum Photoshop JPG setting -- and then to let Flash compress it more to taste?
Thanks,
Todd Lerner
View Replies !
View Related
Link / URL To The Original Page. HOW?
here is the scenario...
after clicking the Link "View the Interactive Diagram" a Flash Movie i created pops up in its own window, which shows various products. when you click on the products i would like it to open the product detail page in the ORIGINAL page from which the the Flash diagram originated. but still leave the Flash Movie Diagram over the original Browser window.
does that make sense? am i descirbing the situation clearly?
it used to open a NEW browser window, now it changes the browser window that has the Flash Movie in it...
any help? or tutorials?
View Replies !
View Related
Pre-Load Before Unloading Original?
I may need a little education if I'm asking this question improperly, so don't hesitate if it's necessary:
On many sites, you click a link in the menu and although a transition animation or preloader animation plays, the original MC continues to play, and the new animation is on top of it.
I have a menu where buttons will load external MCs into a main display area, this I am ok with. BUT, I need the new MC to be preloaded on top of the current one, and only after it loads will the original one be unloaded. There will be a large number (50) of different MCs to load in any order. How do I do this?
The new BMW M5 site does this in a simple way...
www.bmw.com/m5
Thanks for your help.
View Replies !
View Related
Link Between Original Swf And External Swf
Are there any ways to use button to link back to each of the files? I know how to create the link from original swf and load an external swf. But if I want to go back to sepecific frame inside the original swf from external swf, what should I do? Any samples or tutorials for it?
View Replies !
View Related
How Do I Control The Original Movie From Another One
How do I control the original movie from another one that is opened using the "LoadMovieNum" comand into level 1?
I want the original movie to play from scene1 when i close the one in level 1, which has a close button.
Please, i´m becoming crazy... i tried:
on (release) {
_level0.gotoAndPlay("Scene 1", 1);
unloadMovieNum(1);
}
View Replies !
View Related
How Do I Control The Original Movie From Another One
How do I control the original movie from another one that is opened using the "LoadMovieNum" comand into level 1?
I want the original movie to play from scene1 when i close the one in level 1, which has a close button.
Please, i´m becoming crazy... i tried:
on (release) {
_level0.gotoAndPlay("Scene 1", 1);
unloadMovieNum(1);
}
View Replies !
View Related
Duped MC With Same Actions As Original
I've moved the code from the movie clip to the stage and have run into a few problems. I did this to have all the code in one place.
The duped MC needs to run the same functions as the original.
The file is attached.
Thanks for any help.
*Big Picture*
There are actually 4 note groups, but for this example I have made it one.
View Replies !
View Related
Setting Vars To Original Value
I have 6 vars (initialized to 0) - comment1 =0; comment2, 3... quantity
release I add the count, release elswhere I subtract the count, all is well.
BUT
if the var count goes < 0
I'd like the value to go back to 0 (and not to a negative number)
... just after the counter
if (_root.comment1 = _root.comment1 < 0){
_root.comment1 = 0;
_root.quantity = 0;
}
Works partially - I don't get a negative number in the comment1 field,
but it gives me a "false" when it should have added one (the quantity field works fine).
OR How can I write a global rule that sets the value of vars to 0 if they hit <0.
Sorry this might be basic for some of you - please help.
Thanks,
A
View Replies !
View Related
MovieClip Button Changes Original
I have searched around but can't find the exact solution to my problem....so here it is.
I have a Movie Clip button in my library and I drag multiple copies onto the stage. I start to change the text and other attributes of the different instances. Whenever I do this the changes happen to all. I am not sure why this is. It is probably something I should know.
I didn't create these library items so I am not sure what the original developer did. None of the library items I create do this. I can add as many of mine as i want and change text for each instance.
This has to be something simple.
Thanks for any help
-Ken
View Replies !
View Related
Original Positioning Of A MC In The First Frame?
I started a thread earlier but didn´t quite get what I wanted so I´ll try again.
In this tut http://www.kirupa.com/developer/mx/e...mouseclick.htm
the MC that is used always starts in the top left corner of the swf. If you change the _x and _y in the (load) sentence the MC just begins at the position you told it and slides to the _x=0 and _y=0 position.
I want it to stay put at the position I told it to and the when activated (by clicking the mouse) move to the mouse.
Any ideas?
I´m out of them
View Replies !
View Related
Reset A .swf To Original State?
Hey, I was wondering if there's an easy way to reset a .swf file to its original state... I have a page that changes based on interactions, but I'd like to to reset to its original state after a certain animation has finished...
Essentially, after the leaf that you click on hits the ground, I'd like it to go back on the tree.
Is there a simpler way to do this, other than manually scrpting it to return to its x/y and rotational coordinates?
http://www.mentalfabrications.com/storage/main.swf
Thanks a bunch,
iLan
View Replies !
View Related
[please Help] Making Loaded .swf Do Something In The Original
Hello everyone - please let me know if such a command or something equivalent exists (I am using Macromedia Flash Professional 8)
I am trying to make a gallery where I have index.swf call it (1) (main page) that loads gallery.swf call it (2) (by using a movie clip 'loader'). The gallery is width 2000 and scrolls when the mouse moves. When I click on one of the gallery photos, I want it to open up large but not scroll like the rest of the gallery. It is easiest to achieve if (2) asks (1) to open it in another 'loader'.
Does such a function call (or something like that) exist?
Also - are these words used correctly: "(2) is the child while (1) is the parent" (or are those two words used only for objects inside the script?
View Replies !
View Related
Easing And Original Position ~_~
ok.. I gave up ~_~
I want to make an easing effect on mouse follow over the Y axis... well, this was easy.. thanks to Kirupa's tutorial.. but.. lets say, I want the object to go back to its original position when the mouse rolls out.... it might be a rollOut statment.. but dunno how the AS should be look like
Any suggestions?
Thanks
OniHime
View Replies !
View Related
Going Back To The Original Color?
I'm playing around with some AS3 for fun atm.
I have two files, I create two boxes with different colors. I have a mouseover function that change the color when the mouse is over the box, and a mouse_out function. How do I go back to the original color in my "MouseOUT" function instead of setting a new color?
Main.as
Code:
package {
import flash.display.Sprite;
import flash.events.Event;
public class Main extends Sprite {
public function Main() {
addEventListener(Event.ENTER_FRAME, init);
}
public function init(eve:Event) {
removeEventListener(Event.ENTER_FRAME, init);
var redBox:Box = new Box ("100", "200", "0xFF0000");
var blackBox:Box = new Box ("100", "200", "0x000000");
blackBox.x = redBox.width;
addChild(redBox);
addChild(blackBox);
}
}
}
Box.as
Code:
package {
import flash.display.Sprite;
import flash.display.*;
import flash.events.*;
import flash.geom.ColorTransform;
public class Box extends Sprite {
public var box:Shape = new Shape ();
public function Box(boxWidth, boxHeight, boxColor) {
box.graphics.beginFill (boxColor);
box.graphics.drawRect (0, 0, boxWidth, boxHeight);
box.graphics.endFill ();
addChild(box);
addEventListener(MouseEvent.MOUSE_OVER, MouseOVER);
addEventListener(MouseEvent.MOUSE_OUT, MouseOUT);
}
public function MouseOVER(eve:Event) {
var newColor:ColorTransform = box.transform.colorTransform;
newColor.color = 0x00FF00;
box.transform.colorTransform = newColor;
}
public function MouseOUT(eve:Event) {
var newColor:ColorTransform = box.transform.colorTransform;
newColor.color = 0xF00FF0;
box.transform.colorTransform = newColor;
}
}
}
View Replies !
View Related
Trying To Replace Mc On Their Original Position
OK here it is:
im doing a drag and drop quiz in as2, and so far it all works, except the Reset function which is suposed to replace all of the numbers on their original position. Here is the function that at the begining of the frame stores in two arrays the original positions of all the numbers:
Code:
function posInitiale() {
for (j=0; j<=target1.length; j++){
arrayPosX.push(_root[target2[j]]._x);
arrayPosY.push(_root[target2[j]]._y);
}
}
It works, when I do a trace of the them, I get something like this:
569.95,570,570,570,570 <-- X
232.65,280.7,328.7,376.7,424.7 <-- Y
When I press the Reset button, it executes the function that is suposed to reponsition them on their original position. Here is the function:
Code:
function replacer() {
for (g=0; g<=target1.length; g++){
_root[target2[g]]._x = Number(_root.arrayPosX[g]);
_root[target2[g]]._y = Number(_root.arrayPosX[g]);
}
}
This, doesnt work, it replaces all of the outside of the scene of flash, if you open the swf bigger you will see them at the bottom of the screen, and they are all on top of each other. But again, if in this function I trace both the arrays I still get the same result, which are the correct position they should go on. I have no clue why it does this...
I have attached my files.
Thank you in advance for the help!
Carl
View Replies !
View Related
Get Original Color Of MC After Transform ?
I've change a color/tint of a movieclip, that contains a group of vectors all different colors. I can't figure out how to get a clip to go back to the original color? Someone want to show be how using the new ColorTransform? I swear, I've searched google and can't find it!
M
View Replies !
View Related
Setcolor/RGB - How To Reset To Original Color In MC?
Hope someone can help (or maybe example out there?)
I have a scrollbar menu with 125 MCs. What I want is when i click on a menuitem (say No. 01 MC) it should change color and when I click on another menuitem (say no No.50 MC), No. 1 MC must return to its original color and No. 50 to the new color.
All I have at the moment is a MC with Invisible button with code:
on (release) {
01_color.setRGB(0x00CC00);
}
Kathy Senn
View Replies !
View Related
SetRGB Back To Original Color?
For refernce check http://www.bitweb.com/test
Hope someone can help (or example out there)
I have a scrollbar menu with 125 MCs. What I want is when i click on a menuitem (t1 MC) it should change color and when I click on another menuitem (t2 MC), t1 MC must return to its original color and t2 to the new color.
Cheers
Kathy
PS. I had these responces so far, but find it hard to do the back to original bit:
u need to save the color in a varible
what i woul do is
code:--------------------------------------------------------------------------------
original=0x00CC00
change=0xffffff
50change=0xff00ff
on(relese){
01_color.setRGB(change);
50_color.setrgb(original)
}
--------------------------------------------------------------------------------
and the other button
code:--------------------------------------------------------------------------------
on(relese){
01_color.setRGB(original);
50_color.setrgb(50change)
}
--------------------------------------------------------------------------------
If all 50 MC's are named sequentially (MC1,MC2..) and are placed on the root and inside each the color Object is called 01_color, you can do:
Place this on the root:
code:--------------------------------------------------------------------------------
col = 0; // keeps track of color of 'recolored' MC
nr = 0; // keeps track name of 'recolored' MC
--------------------------------------------------------------------------------
ASNd on each button inside each MC:
code:--------------------------------------------------------------------------------
on (release) {
if (nr>0) _root["MC"+_root.nr].01_color.setRGB(_root.col); // set color of 'recolored' MC back to original
_root.nr = _name.substring(2); // reset nr
01_color.setRGB(0x00CC00); // color this MC
_root.col = 01_color.getRGB(); // reset col
}
--------------------------------------------------------------------------------
View Replies !
View Related
DuplicateMovieClip > Keeping Original Names
Hi,
What i've got is a movie clip (call it main) with 4 other movie clips in it, all with different instance names. I want to duplicate the main movie clip,
and want to keep all the original instance names including
the 4 movieclips inside main.
How can I do this?
Cheers
Kaan
View Replies !
View Related
Return Control To Original Movie
I'm using the loadmovie action successfully but how do I return to the calling movie at the place where I left?
My goal is to call movie#1 from the MAIN movie, have movie#1 complete and return to MAIN movie so I can then call movie#2.....and so on.
View Replies !
View Related
Tweening Traced Bitmap To Original
Hi,
I'm trying to tween from a traced bitmap to the original .jpg of the same image. You know, that effect where you tween from a cartoony-looking face to a photo?
I tried to just use the trace bitmap feature and shape tween the two, but it doesn't tween correctly - it basically just rotates rectangles in place and then skips to the final image.
How do I do this?
Thanks,
Clint
View Replies !
View Related
How Do You Reset A Loaded Swf To Its Original Frame?
Ok, I am using a variation of the scrolling window thing by Praystation (like on motown.com), the movie clips get loaded into an array and it scrolls/jumps from side to left to right depending on what button you push.
Now my question is -
each section that is loaded
section_0.swf
section_1.swf
section_2.swf
section_3.swf
are also loading movie clips (or swf's)into themselves. I know how to do that, pretty simple right? Say you click section 2 on the top nav bar, it jumps to section 2 on the scrolling windown, and now youve got 3 examples of say cd covers to look at in the section , a, b, and c. Ok so you click C, and c.swf is loaded into the section_2.swf,
ok now you click on section 1 on the top nav bar, and it goes to section 1, and you click an image to look at, but you want to now go back to section 2 to see the cd covers again (this is where I need help). Currently it displays the C cd cover (c.swf). I want the clip to return to it's original frame (the A cd cover) when you go back (or on any section, it should reset itself basically)..
if anyone can solve this-
www.quintessence-media.com/topnavbar.swf
www.quintessence-media.com/topnavbar.fla
www.quintessence-media.com/section_0.swf
www.quintessence-media.com/section_0.fla
are all the files
thanks!!
View Replies !
View Related
|