Replicating An Applet
Hi, I saw this applet that basically had heaps of points arrange in columns and rows, that when u clicked and held the left mouse button down they would move towards the mouse, and move away if the right button was clicked.
so the question is how do i make this code 4 making the points arrange on stage simpler I am sure there is a better way.
Code: a = 0; j = 1; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 1+i); a = a+60; b = 60; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 2; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 20+i); a = a+60; b = 120; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 3; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 40+i); a = a+60; b = 180; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 4; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 60+i); a = a+60; b = 240; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 5; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 80+i); a = a+60; b = 300; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 6; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 100+i); a = a+60; b = 360; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 7; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 120+i); a = a+60; b = 420; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 8; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 140+i); a = a+60; b = 480; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 9; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 160+i); a = a+60; b = 540; _root[peete]._x = a; _root[peete]._y = b; } a = 0; j = 10; for (i=1; i<11; i++) { peete = [i, j]; _root.attachMovie("point", peete, 180+i); a = a+60; b = 600; _root[peete]._x = a; _root[peete]._y = b; } also i am using a mouse down clip event to make the points move to the mouse how do i make this happen for the whole time the mouse is down not just the click?
FlashKit > Flash Help > Flash ActionScript
Posted on: 06-02-2005, 06:04 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Replicating An Effect
say there's one particular "effect" i want to use on several different symbols, what's the best way to go about reproducing it? for example, let's say i find a particular way of affecting color and size with lots of tweens that makes a really nice "shine" effect, and want to use the same settings on 30 or 40 different text and/or image links - how should i go about it?
tyia
Help In Replicating Menu
Hi,
I am working on a website and want to integrate a Flash menu, with the same type layout as the one used here (http://www.islandrecords.com/thekillers/site/home.las). I'd like a menu list where you get sub-menu items when you roll over the buttons. I'm just getting into learning Flash, and could use some help. I've got my main image and my buttons created on seperate layers. But I don't know how I should put the sub-menu items in, or how to get them to appear when you roll over the buttons. Any assistance in how to properly set this up is much appreciated. Thanks in advance. - Eric
Help Replicating Effect
Hi all,
just wondering if anyone could give any help... I am trying to copy the effect on this page.
www.bbc.co.uk/radio1
when you hover over a picture, info pops up from the bottom.
Any clues?
Many thanks :-)
Self Replicating Program
Can anyone use AS3 (or AS2 I suppose) to write a script that can reproduce itself? Successful program should export code (into a TF or the output panel) that can be copied into a new flash file and run to repeat the same output indefinitely.
I've seen this posed for other languages but I'm not sure how to tackle it in AS3...yet.
Replicating A Pattern
This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile. Any idea??
Replicating A Pattern
This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile. Any idea??
Replicating MM Search Input Box
Hi Guys,
I have tried this - only have flash 5
Here is the fla - I have it working except when I roll on and off the textbox it fades in an out.
I only want it to fade when I click on it and click off it.
onClipEvent (load) {
this._alpha = 100;
alpha = no;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (alpha == no)) {
this._alpha -= 13;
// this._alpha++ // very slow
// this._alpha*= 10 //a bit faster
alpha = yes;
} else if (alpha == yes) {
this._alpha += 13;
}
}
onClipEvent (load) {
}
http://www.actionscript.org/forums/a...=&postid=50155
Cheers,
SuzyQ
Replicating Website + Flash
Okay. Here is my predicament. My Father's company (Natural Herbal Prodicts) is paying some people a large sum of money to design a website. The design that they are stuck with is mediocre and not very functional and I could do a much better job, and would like to do so, except for this obstable. They are making a replicating website, that would be plugged into the already existing database system. Let me explain...
The original domain name will be www.entreneteam.com
Say I ordered, then a site would automatically be created after the order at the url
www.entreneteam.com/eric.html
Now say I give my card to someone with my url on it and they will get the same frontpage as anybody else, but when they order, they will be put under me in the distributor line so that their orders benefit me.
So these frontpages would be replicated like a tree and tied into the distributor database. Now, he already has a programmer that can take care of the database part, and tying the database into it, but I would still personally have to do the replicating webbsite part of it myself.
Now I have no idea how to do that, and will gladly research, but is this possible to do in Flash MX or in Flash MX and Cold Fusion, so that I could include the funtionability of a replicating website, with a good flash design?
I would really be helping my father out of a situation if I could do so.
Thanks for your time.
Replicating Website + Flash
Okay. Here is my predicament. My Father's company (Natural Herbal Prodicts) is paying some people a large sum of money to design a website. The design that they are stuck with is mediocre and not very functional and I could do a much better job, and would like to do so, except for this obstable. They are making a replicating website, that would be plugged into the already existing database system. Let me explain...
The original domain name will be www.entreneteam.com
Say I ordered, then a site would automatically be created after the order at the url
www.entreneteam.com/eric.html
Now say I give my card to someone with my url on it and they will get the same frontpage as anybody else, but when they order, they will be put under me in the distributor line so that their orders benefit me.
So these frontpages would be replicated like a tree and tied into the distributor database. Now, he already has a programmer that can take care of the database part, and tying the database into it, but I would still personally have to do the replicating webbsite part of it myself.
Now I have no idea how to do that, and will gladly research, but is this possible to do in Flash MX or in Flash MX and Cold Fusion, so that I could include the funtionability of a replicating website, with a good flash design?
I would really be helping my father out of a situation if I could do so.
Thanks for your time.
Replicating OnDragOver In Flash 5
Hi every1. First post, wondering if you can help me.
The deal is I've got an MC that I am dragging around my scene and I need other MC's to be highlighted as I drag over them, i.e. the mouse is still down. Buttons don't work, onClipEvent only runs once whilst mouseDown (so I can't do a continuous position check) and the only thing I can think of working is the onDragOver and onDragOut events in MX but I am using flash 5?
Any feedback welcome. Can't help feeling like am being very stupid, am sure this is possible, but can't for the life of me think how.
Cheers,
Sir.
Replicating Flash, Am Stuck :(
Hey,
I seen this flash thing. And i want to learn how the computer gets brought into it. Take a look here http://www.clipitsolutions.co.uk/flash/flashmovie.swf .. As soon as it starts, the computer comes in with like a cirle being tweened over it. But i dont understand how to do this?
If anyone could help, would be most greatful. I really wana learn this technique but its fryin my brain lol
Thanks,
Paul
[CS3] Efficient Way Of Replicating MovieClips?
On my main timeline I have two dynamic text boxes and an input box that represent a math problem. I wanted there to be three problems on the screen at a time. Since I don't know much about classes and making packages I just copied and pasted the problem twice so that I have three instances of each text box. Next I basically just tripled my lines of code, one block for each of the three problems.
I'm assuming the proper way to handle something like that is to make the problem a MovieClip and then make a class for it. However, when I attempted to do that I got errors [possible undefined function] because code that still remained on the Main Timeline was referencing functions that had been moved from the Timeline into the mcProblem class. Could I change the code on the Timeline so that I won't be getting these referencing errors? If not, could you please provide some detailed information about what I should do regarding classes? Currently I am not using a document class.
If anyone understands what I'm trying to do, please guide me in the right direction. This is my first attempt at a solo project (for fun) and while I can achieve the desired swf sloppily I prefer to learn to do it the clean and efficient way.
Replicating Files On A Desktop In AS
Can i replicate files and create folders on a users desktop through actionscript?
Im creating a template builder that will have to replicate my swf's, write a variable to a html page where my flash is embeded, write a xml file, and create a folder on a users desktop with all the files above?
Is this possible in as or as3? Do I need to write my application in VB or flex instead?
Replicating HTML Forms
I am trying to put a HTML form into flash that has hidden fields. How can I put these in flash? Do I just set a variable value under the submit button function? Thanks!
Replicating Pages Turning
I'd like to replicate the turning of pages of a book, to show different information. I would either like (A) when you click on the lower right corner the page flips, flowing across the screen as if turning in real life or (b) *favorite* that when the lower right corner is dragged towards the left side, the page turns to the next. is this even possible? any help would be greatly appreciated (ps kinda new but my confidence and understanding is growing quickly)
Indications On Replicating Effect
Hello. I would like some indications on how to replicate the transition effect between the images on this site: link (the transition effect with the squares). Please offer some ideas on how to do that effect. As many indications as possible are welcomed. Thanks.
Replicating Pages Turning
I'd like to replicate the turning of pages of a book, to show different information. I would either like (A) when you click on the lower right corner the page flips, flowing across the screen as if turning in real life or (b) *favorite* that when the lower right corner is dragged towards the left side, the page turns to the next. is this even possible? any help would be greatly appreciated (ps kinda new but my confidence and understanding is growing quickly)
Replicating Left And Right Mouse Clicks
Was wondering whether anyone knows if it is possible to replicate a left and right mouse click in flash.
Need to distinguish between whether the user has right clicked their mouse or left clicked....also any ideas on replicating a double click?
Cheers....
Replicating The Menu On ERAIN Homepage.
The header bar of the Electric Rain webpage has a very nice effect when you rollover the buttons. I am just wondering if anyone knows how to re-create this effect. Also how to make the little pop-up bubble when rolled over the logo.
http://www.erain.com
Replicating This Effect With Bitmapfilter (Effects)
Hey there all, I'm just trying to replicate this effect
http://www.reactiondynamics.com/sd2.swf
using flash. So far, using Senoculars blurred trails example on his website, I've got this: blurtrail2.fla
Only, it doesn't look right and I'm not sure how I can get it looking better. For instance, how can I remove the spacing that appears as dots spin, and also, how do I elongate the trail, and make the blur falloff ? If it can't be done in flash, what program can I do it in?
Any help appreciated
Help Needed On Styling And Replicating Text Field
As a new AS3 coder I'm at a little bit of a loss on the most efficient way to replicate a styled text field.
I would like to use the following styled text info and load some text from an array. Do I need to create all this styling for every instance of the text in the array or can I create several new instances of the field in my function?
Thank you in advance for your help.
ActionScript Code:
var headlines:TextField = new TextField();var headline:TextFormat = new TextFormat();headline.size = 20;headline.font = new HelvBlack().fontName;headlines.alpha = 0;headlines.setTextFormat(headline);headlines.embedFonts = true;headlines.autoSize = TextFieldAutoSize.LEFT;
Applet In Flash
hi all
i just wanna if its possible to import java applets into flash and if it is possible , how can it be achieved
thanking you in advance
Ulead Applet
I made a flag in Ulead Java Applet.The programm save it as an html file.Can I import it into Flash?
Or, by any chance, can I made an animated flag in flash, like the one I created in Ulead?
Thanks!
Java Applet
I would like to place a java applet in my flash document. This applet enables a webcam to appear on the page. Do you know where I could find instructions on how to do that? The applet is normally placed into a html document. It looks like this.
(CaptureClient.class" width=640 height=480 align="middle">
<param name="image" value="Walk.jpg">
<param name="delay" value="20">
<param name="status" value="2">
<param name="statusText" value="Next live image in %seconds">
<param name="statusTextColor" value="#ffffff">
<param name="backgroundColor" value="#000000">
<param name="url" value="http://www.stardot-tech.com">)
Java Applet
Hello guys,
Can anyone tell me if I can insert java applet in Flash MX? If it is possible, could you guys please tell me how to do it?
Chat Applet
Dear folks,
I hope all is well, humm i was thinkin, can i make a online chat applet through flash mx, well ok the idea is to create a small chat applet for a website through which any member of that site can create a temporary nick then and there and start talkin to any one else on that applet present there, i'm not considering private msgin as a option here, somethin like irc, that it where everybody is talkin on one page, if that made any sense.....^_^
thank you,
Scythe
Java Applet
I have one java applet. i want to be displayed in flash , how can i do it?
thanks
roberta
Help With My Java Applet?
Hi guys,
Can anybody help me with my java applet? Im unsure as to why it's not working correctly. You can access it by going to http://www.indianridge-florida.com/virtualtour.html and clicking on the link.
Help would be muchos appreciated
Java Applet In Flash
Hi
is java applet working in flash?
If it is how can we do this?
Thanks
bayram_selam@yahoo.com
Flash Into Java Applet
does anybody know if there is anything available to turn a flash swf into a java applet......
thanks for your time
phil
Launch An Applet From Flash...
is it possible to launch an applet by a flash movie passing the parameters and opening a new window?
for examle if i wanna link a java chat into my flahmovie and open it in a new window, how can i do?
is there someone so cool to tell me if i can?
thanks a lot
nicholas http://www.mjportal.it
Java Applet In Flash Web...
How can I include a Java applet in a website made in flash MX?
I don't know where to put the javascript or if I have to do directly.
Thank you very much.
Flash Vs Java Applet
Looking at this url http://www.waterontheweb.org/data/java/rvr/index.html can anyone gauge how much effort it would take to create something like this with Flash?
It is obvious that it can be created visually with Flash. However, I don't know enough about Java to assess what's going on behind the scenes and how that translates to what can be done with Flash.
Anfy Type Applet
Good morning everybody,
I am looking for an applet similar to one that is on the Anyflash.com website titiled Rotating text gallery. Is anyone familiar with it?
It takes a series of JPEGs and rotates them in a circle translucently slowly. Once you click on the image, it opens up in to a larger version for viewing.
If I knew how to use flash, I would probably try to code it myself, but I don't.
Does anybody have any ideas? Thanks.
GMan
Ugly Java Applet In My Swf?
Forgive me if this is dumb, but I don't even know where to start.
My client has one of those "360 virtual tour" java applets that they want to include in their site, but I have no idea how to work with this unless I just open it in a new window. Does anyone know if there's any way to...embed?...one of these things right in my movie?
Java Applet To Flash
hi everyone! great site!
as the title suggests, i was just wondering how hard it is (or is it even worthwhile?) has anybodyn here tried this before?
cheers,
Dave
Java Applet Within Flash
Entire UI is in flash and I'd like my users to be able to upload their photos via a java applet that shows their local folders/files ... instead of having them select 30 images individually with 30 browse buttons.
Any ideas?
Edited: 05/30/2007 at 09:40:57 PM by diazdiaz
Integration With Java Applet
I would like to be able to place a cs3 flash movie in my java applet or the other way arround place a java applet inside my
flash movie without having to install new plugins in on the clients machine except the java plugin and flash pluging. But I can't find any support for it. Did i miss it or is this not yet present or is it a company stratigic not to support java integration into flash.
Embed Applet In Flash, Possible?
Hi All
I have a quite weird question here maybe, but if that's possible to embed a java applet into Flash?
Anyone can give me a hint?
Thanks a zillion in advance!
Flash - XML News Applet
Hi there!
I have created a flash XML RSS news Ticker using http://www.flashmagazine.com/967.htm
My problem is that once the .swf file loads with the XML file... it shows the file. But when the xml file is updated, it still uses the old file from the memory to display the messages.
I have tried adding news.Load(url) and news.onLoad(Success) to the code were it resets the counter to 0 again. - Logic being : When the SWF has gone through all the entries in the xml file, reload the xml with the newer version, if present. But that doesn't happen. It keeps displaying the older version of the file.
Please help..!!!!
Thanks
You Know That Photo Cube Applet...
You know that java photo cube applet class....
is there a flash version of something similer around somewher?
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
Java Applet In Flash?
I have a java applet that I used for immersive photographs. like an IPIX photo. Wondering if it possible to include that in a flash porject.
Java Applet Within .swf File
I took a brief look on Google, but I could not find a direct answer to this. Is it possible to embed a Java applet within an .swf file?
Basically I am working on a slideshow at SVGA resolution and I would like to know if I can insert a Java applet on one page of the slideshow.
Thank you
Flash Webcam Applet
I'm working on a road map for a client, though I don't have much experience with flash mx.
The chemist wants a webcam chat applet on his web page so he can talk to clients from a retirement village, it definitely sounds more-than-do'able but I'd like a few ideas on how to approach it.
Thanks,
Andaluz
Applet Present But Not Showing
I'm downloaded an premade flash player from:
musicplayer.sourceforge.net
I created the html for embeding the flash on the page:
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" >
<param name="allowScriptAccess" value="sameDomain"/>
<param name="movie" value="player.swf?playlist_url=musicplayer/playlist.php&player_title=Music%20Player&autoload=1&autoplay=0&repeat_playlist=1"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#E6E6E6"/>
<embed src="player.swf?playlist_url=musicplayer/playlist.php&player_title=Music%20Player&autoload=1&autoplay=0&repeat_playlist=1"
quality="high" bgcolor="#E6E6E6" name="xspf_player" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="100%" width="100%"> </embed>
</object>
That chunck of code is in the middle of the page, with some other content around it. Specifically, that content is inside a div. This works well in firefox, but in IE it loads the music, but doesn't display the player.
Does anyone know how come this might be happening?
|