ActionScript 2.0 :: Flash Challenge : Simulate A Drill?
Jan 12, 2004I was thinking about this today, when i was using my new Makita I got for Christmas.How can I simulate a drill in flash?
View 6 RepliesI was thinking about this today, when i was using my new Makita I got for Christmas.How can I simulate a drill in flash?
View 6 RepliesI am trying to create a drill down map of the state of Wisconsin. I would like to be able to see a map of the state as well as the counties, I would then like to be able to click on a county to obtain more information. How can I create a map that does this?
View 3 RepliesI am getting ready to update a past client's website using newer web standards. This particular website has a Flash Intro on the index.html page. I have a feeling this has greatly hindered search engine activity. What would be the best way to handle keeping a Flash intro without it being logged as a main page? Or should I recommend that the client eliminate the Flash landing page?url...
View 11 RepliesSo im opening it up to the commuity as a programming challenge!!For something which i assumed would be very simple, writting a robust and solid multi turn spinner handle for flash in as3 has become the bane of my life.Feel free to download my attempts so far (attached), which cover the basics of a single rotation, and make it look like im further ahead than i actually am.The difficulty lies with the very specific things I personally need the spinner to do,and the fact its SO HARD to explain..Its actually used to control a piece of animation that is 72 frames long.I need the first "lap" of rotation to send the playhead to frames in the 1-36 range and the second rotation to send it to frames 37-72. So two full spins would take it to the final frame, one full spin would go half way to frame 36.
Problem is the rotator handle needs to be locked at the initial position, so a user can't drag it backwards to start with but can drag it backwards once theyve moved forwards. (think of turning on a hot water tap, many turns in one direction until it stops fully on, then the same turns back again to reach the original start position of fully off)I also need the rotator to be able to be used in anti clockwise and clockwise modes.The ideal is to be able to set the total number of animation frames to be controlled and the number of rotations required to reach the final frame, then have the spinner work everything else out for me.
I need a method to move a node up the XML hierarchy(to the same level of its parent), so if I had an XMList that looks like this:
[Code]...
</node>etc! I could probably work this out myself, but thought someone might have encountered this scenario and achieved this already...
An external application sends an instance name to flash over TCP/IP.I have code that parses out the communication and retreives the instance name (not it's absolute path).I then need to retreive the instance name's parent in actionscript. The instance name that gets sent is a child of specific movieClip, there are several movieclips on the stage. I need to know it's specific parent name..the code is placed on the main timeline.
View 3 RepliesGiven a few months on my own, I could probably hack something together, but an experts input would be much nicer.This is a custom Google Voice widget/form. I have the backend code, and can share, but right now I need all these pieces to fit together. It is mostly ELSE/IF statements, starting with the first page, and transitioning to the next widget page depending on the data input, correct or incomplete/incorrect as the variables determining which widget page to open.This will definitely take some Flash skills too, but minimally.Currently the SCENE1 page just shows each of the different widget pages and is not meant to represent the final widget - the final widget will be the first page and when clicked transition to a widget/form different page in the same spot, and again, depending on the input.If you want to give it a try, you can download the .FLA here:
FYI: This same widget HAS been sucessfully programmed in AJAX, with it's tons of code and multiple files, but the challenge was to make it work the same way in Flash. This is the very first TRUE custom Google Voice widget - all others I've found are custom icons that when pressed launch Googles GV widget - so this widget is one of a kind! You can view the working widget and download all the AJX components here if you'd like
I'm in a bit of a pickle and can't sort my way out. I'm loading an external swf that has a preloader on Scene 1, and the main content on Scene2. While the content on Scene 2 centers nicely, the preloader content refuses to do so.
Here's what I've got on my main project timeline:
Code:
mcHMI.onRollOver = function() {
this.gotoAndPlay("over");
} mcHMI.onRollOut = function() {
this.gotoAndPlay("off");
[Code] .....}
As mentioned, the swf loads just fine and stays centered at any resize. The preloader will jump to another position when you resize.
I'm in a bit of a pickle and can't sort my way out.I'm loading an external swf that has a preloader on Scene 1, and the main content on Scene2. While the content on Scene 2 centers nicely, the preloader content refuses to do so, lol.Here's what I've got on my main project timeline:
Code:
mcHMI.onRollOver = function() {
this.gotoAndPlay("over");
[code].....
[URL]This site loads in all of the large images behind the scenes, so once you click through a project, the images appear immediately.
Ben.
ive been trying to modify this text drag script to enable it to use the mouse wheel. ive managed to make it scroll with the mouse, but i cant seem to make it limit itself to the boundaries of the mask, like the dragger behaves. it just keeps scrolling upwards or downwards to infinity. i was thinking if there was a way to make it behave like the dragger. here is the script if u want to take a look. at the bottom i added the mousewheel listener and attached it to the dragger, and it works perfectly, but as i said, it doesnt stop like when you click it and drag it.
[Code]...
I would like to know what my visitors will see when they visit my site without flash installed. Obviously I could uninstall flash to find this out, but I was just wondering whether there's some gimmicky add-on out there that can simulate 'no Flash'. Would be handy...
View 2 RepliesIs it possible to simulate streaming mp3s with local mp3s in flash?
View 2 RepliesI've searched this and cannot find it. I've tried different plugins and different browsers (Firefox, Opera, and Chrome). I've tried most of the no flash plugins for each of those as well as disabling Flash plugins/addons in the settings. I also renamed the .so file in /usr/lib/flashplugin-installer/ i found by searching the system. when i renamed it, makes Firefox and Chrome ask to install Flash, but still:alert(navigator.mimeTypes['application/x-shockwave-flash'].type);returns:application/x-shockwave-flash'm not sure what else to try without uninstalling Flash, but that will be a total pain in the ass for this. I also REALLY don't want to use SWFObject just to see if Flash is at all installed which I can do simply with:
View 1 RepliesI have a quick question... is there a way to simulate a flashvar while testing an application in the Flash IDE? I know I can export it and test it on a web browser with a container passing the flashvar, but it's so much easier to just do CTRL+Enter :P
Specifically, what I'm doing here is the following: My movie has a lot of things hardcoded... I want it to load the hardcoded parts only if there's a flashvar called "debug" and set to "true". As you may have guessed, I DO NOT want that flashvar to be known to my providers, but I do want to set it on the IDE so everytime I test the code, it enters my debug mode (and so I don't have to change even a bit of code to publish it later)This would be my code:
[Code]...
I am currently making a website on my Mac with Adobe Dreamweaver CS4. I had an idea to make an iPhone and press a button next to it so that it would change the application page/home screen page displayed on the iPhone. I have NO idea how to go about doing this. I was told this can be done in Flash using Actionscript 3.0 but I do not know anything about AS3.
View 2 RepliesI'm developing Greasemonkey scripts for a website. I do not control the Flash file.
Question: Is it possible to simulate a mouse click on a button/movie clip in a Flash object embedded in a web page? Googling only shows ways to simulate a mouse click on a DOM element, and ways that require the ActionScript to be changed to implement a JavaScript interface. Or is this simply impossible?
I am trying to show the first image of my image gallery when it is loaded. How would I go about simulating a mouse click event that will pass an event value to a function?
[Code]....
Our sales people accepted flash banners without a click tag and then scream in anger when our ads server (openx) didn't count correctly the clicks. I'm looking if exists some way of "simulate" a click tag, I don't know exactly how, maybe with some JavaScript.
View 2 Repliesive constantly problems when developing flash applications that work based on flash variables provided in the embed code of a website. it is very annoying and time consuming to re upload swf�s to a web server after every change to see if it works in browsers. is there a way to simulate embed info...like there is simulation for download.
View 6 Repliesi want to simulate cellphone environment in flash
View 1 RepliesI have been working for some time trying to remake Paint in flash. Question is: how to simulate a pencil drawing, my idea so far is to draw lines one after another.
View 6 RepliesWhy i couldn't see the preloader when i do simulate download (i.e. control+enter) after publishing ? Do my PC have any prob? or flash?
View 1 RepliesI need to do the windows moving effect from the following Ubuntu Window Effects video in Flash. Basically the window is transformed while you drag it. I want to have a movieclip and when I drag it to transform the same way the Ubuntu windows transform. I believe that there is something to do with matrix transformations.
View 3 RepliesI have recently started making (and am still making) the transition from ActionScript 2 to 3. I have used the _global variable in an AS2 project as I needed a variable to be accessible from within ANY swf loaded into my main movie. This worked like a treat.
However, along came AS3 and whipped that from right under my feet. After much Googling, a few people suggested making use of a simple class with a simple variable that can be publicly set and retrieved. I made a simple class, imported it and manipulated the value, and all went well, however the instance of the class I create in my main loader movie is still not accessible from within a second SWF that gets loaded into my movie. If I re-instantiate the class in the SWF that is being dynamically loaded, the value reverts to the default value in the class code, not the new value set in my parent (first) movie.
Here is my class code, stored in an external .as file, is there any way I can simulate the ostype variable being a global variable?
package{
public class ostype {
public var ismac:Boolean = false;
[code]....
it's used as a simple identifier as to what operating system this flash app is being used on (mac or windows) and as a result let's me server content - such as saving files - in a different manner.
How to develop a flash file that can simulate a sms (text message) input like how you will write a message with your mobile phone. For example pressing the num '1' once, will give u 'a', twice will give u 'b', and trice will give u 'c' etc. I have an onscreen number pad, so user click the button '1' will give u 'a', twice will give u 'b' and etc. Problem is how can I detect the mouse to be how many click before they chunk out a alphabet. Also not forgetting some key like '7' need to test for 4 hit (P,Q,R,S).
View 2 Repliesdevelop a flash file that can simulate a sms (text message) input like how you will write a message with your mobile phone. For example pressing the num 1 once, will give u a, twice will give u b, and trice will give u c etc.
I have an onscreen number pad, so user click the button 1 will give u a, twice will give u b and etc
Problem is how can I detect the mouse to be how many click before they chunk out a alphabet. Also not forgetting some key like 7 need to test for 4 hit (P,Q,R,S).
I listen to internet radio at [URL] and it works pretty well, except for one minor issue. The Flash applet that runs the radio player has a timer on it, where if you don't move the mouse over the player every once in a while, it decides you're idle and shuts off the stream, even if you're not actually idle, but just working on something else with the radio player running in the background.
Is there any way I can send a fake MouseOver message to this applet to keep it from cutting me off in the middle of a song, maybe with a GreaseMonkey script? I'm using Firefox.
I've just developed a function to ring frequencies, but I can't make it sound like a guitar string, I can only change it's frequency. Is there some way to change other parameters of a generated sound?
function sineGenerateSound(event:SampleDataEvent):void
{
for (var i:int=0; i<4092; i++)
[code].....
I am trying to create a draggable wall (so the wall is 20x bigger than the stage) on which I can place movable/draggable post-it notes, so if I hold onto a post-it note only that specific one drags (these will be individually lockable on the stage) If the user "grabs/holds" the "wall" and moves it, then all the post it notes will move with it. (even the locked ones)If a post-it is locked, then only that specific one is not movable. (This is easy enough to do (Just disable the post it)
View 9 Replies