Emulating A DOS Enviorment In Flash?
Okay, so I have DOS drawn out pretty well. (drumroll please...) and I have a bootlegged, yes, but DOS-looking slew of commands scroll by. Okay, I forge the login and password as being typed in right away, and a 'processing' screen (loading, obviosuly) and then I need the next scene to look just like it, but have an active [>...] type-box. Now, when the box is there, I need to movie to respond to some basic commands (help, dir, cd, etc). Is there anyway to do this...simply? I don't mean with two frames and a potato. I mean with understandable (to me, anyway) parameters and what-not. Well, if anyone feels like taking this up, be my guest.
FlashKit > Flash Help > Flash General Help
Posted on: 01-10-2003, 09:39 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Emulating This Piece Of Flash
Hi,
i've been using flash occasionally to develop simple wipes yet have recently been called onto creating a new piece of flash in which in my browsing i noticed the flash used here that i'd like to emulate by the bbc http://www.bbc.co.uk/radio1/
would anybody be able to describe what exactly is going on and the sequences required to emulate the flash, or if you have any examples?
Regards
Creating A 3d Enviorment
Hey guys, just one more question...
I'm trying to create movement in 3d enviorments, like moving through hall ways and such, which I am pretty good at now, but how would I go about ending the transition?
Pretty much it finishes the hallway, then a picture slowly fades in. I was wondering if it could some how collapse on itself, and if so, would the best way be to use lines?
Creating A 3d Enviorment
Hey guys, just one more question...
I'm trying to create movement in 3d enviorments, like moving through hall ways and such, which I am pretty good at now, but how would I go about ending the transition?
Pretty much it finishes the hallway, then a picture slowly fades in. I was wondering if it could some how collapse on itself, and if so, would the best way be to use lines?
Emulating The Keyboard
Hey guys,
How can we emulate all the keys of the keyboard in flash, including the ctrl+alt+del, n all. I am making a virtual keyboard n I need to use all the keys.
Thanx in advance
Emulating Movie 300 Website
If you go to the movie 300's website and click on "Enter Site" you will see like a masked video. It has like a blur to the edges of it. How hard is that to accomplish?
Emulating A Cell Phone
Hi Im trying to get a tricky project off the ground.
One aspect of it is to simulate a keypad on a cell
phone (button movement not necessary). I need
to utilize variables from the keypad buttons in either
number or alphabet form using a short delay
between input to put names and numbers into
an address book (for instance 2 is either: 2 [or A,B
or C during a short time frame]. I'll also need to search
into the phone book (array) using two number
combinations from the keypad. The readout screen
will show a text box with the name or number, plus one
box above and below showing the contents before
and after.
Any tips or advice to help me out in any way would be
appreciated. Perhaps you know of a sample piece
I can learn from.
Emulating Image Maps
First off I am a newbie to flash so please bear with the questions..
My first project is to write a flash script that will emulate html image maps..
I have an 2D arcitectual image of a house and I want to be able to dynamicly load the image maps from a mysql table ( I got this figured out ) and have flash highlight the areas with a transparent polygon to indicate the defined area of the map as mouse moves over it..
So I need some info on how to create the boundries of the shapes, how to dynamicly draw the shape and fill it transparently, how to trigger say a popup describing the area under the popup, and how to assign the mouse press to act on that dynamic object..
Maybe some tutorial links would be great as well..
Thanks.. Kevin
Emulating Rendering Speed
I have a high end machine. and a swf file. It runs perfectly. I want to see how will it work on say pentium 1 or even lower end pc or hardware chip who has flash player installed.
does anybody know / have pointers on how to emulate this???
i know with inspecting/changing bandwidth, we can emulate download speed for swf movie on differnt modems. But I want to see how rendering will affect.
thanks
Emulating Movie 300 Website
If you go to the movie 300's website and click on "Enter Site" you will see like a masked video. It has like a blur to the edges of it. How hard is that to accomplish?
Emulating Image Maps
First off I am a newbie to flash so please bear with the questions..
My first project is to write a flash script that will emulate html image maps..
I have an 2D arcitectual image of a house and I want to be able to dynamicly load the image maps from a mysql table ( I got this figured out ) and have flash highlight the areas with a transparent polygon to indicate the defined area of the map as mouse moves over it..
So I need some info on how to create the boundries of the shapes, how to dynamicly draw the shape and fill it transparently, how to trigger say a popup describing the area under the popup, and how to assign the mouse press to act on that dynamic object..
Maybe some tutorial links would be great as well..
Thanks.. Kevin
Emulating 100% Width Divides
is it possible emulate a 100% divide or table in flash?
like i want to minimize my browser and want the flash thing to minimize its width to the edges of the browser... and then expand and i want the board to expan with my browser.
possible at all?
Emulating An Animated Filmstrip
Last edited by eskymo : 2004-01-22 at 06:45.
Hi there
I want to create an animated sequence from some 3D objects created in swift3D [like a cube for example] - I've imported my 3D object into flash and used script I found from a panoramic image slider that I found online but need help refining it. I am working in flash MX but think this is coded for flash 4/5 not sure.
here's the file:
cube.fla
and now for the tweeking - if you move you mouse to the left of the screen the movement of the boxes seems to slow down to a near standstill and you see the rotation animating nicely - if however you move your mouse to the right a glitch appears in the rotation - can anyone tell me why? I would like to have it working both ways.
Is there a better way of doing this? As I've taken the code from another file, it might not be exactly suited to what I want to achieve.
Any help/hint/info would be helpful.
Cheers
e
p.s - I just found Wireframe's filmstrip fla file in the fla source files section of this site and that's the effect I'm after but I want it be influenced by mouse movement rather than having to move a slider.
Emulating 'Bring To Front' Via SwapDepths
Emulating 'Bring to Front' via swapDepths
here is the order of MCs
_level0.lamain.twr_mc
_level0.lamain.topswitch
*twr_mc and topswitch are in the same layer in the lamain MC.
Definition of MCs
twr_mc is a MC with a button. There are about 20 other copies of twr_mc (in the lamain mc) each with its own name.
_root.top is a var used to hold the position of the twr_mc.
_parent.topswitch is a blank mc that i 'brought to front'
What I wanted to do was use topswitch as the base for switching the first twr_mc to the front. Then, since _root.top has been given the hightest mc, the script will simply tell the current twr_mc to switch with the highest one.
on (rollOver) {
if (_root.top == null) {
this.swapDepths(_parent.topswitch);
_root.top = this;
} else {
this.swapDepths(_root.top);
_root.top = this;
}
Simply trying this.swapDepths(+1) won't work because it causes the twr_mc to switch with the lamain mc.
Emulating Drag And Drop In Windows
Can you emulate drag and drop in a windows environment. i.e. I want to create a movie that is a simulation of Excel, with all the functionality including d & D any ideas ??
Best Way To Get List Of Movie Clips That Share A Given Point, Or Emulating OnRollove
Hi,
What would be the best way to emulate onRollover, onPress events without using the real mouse cursor?
I'm working on a demo with Flash Media Server where you can see another users mouse cursor (animated movieclip moved to the same position). I would like to have events trigger from this "fake" mouse the same way they would with the users actual cursor.
Is there a good way to do this? Any built in Flash API's that would save me a lot of time? If there was an easy way to determine what the topmost level movieclip is beneath a given point or mother mc, or get a list of all of them? Or do I need to cycle through all movieclips on the stage and perform a hittest with each one?
Sending the actual events is easy once I know which movieclips to send them to.
Thanks for your suggestions!
Adam Schroeder
Best Way To Get List Of Movie Clips At Share A Given Point, Or Emulating OnRollover..
Hi,
What would be the best way to emulate onRollover, onPress events without using the mouse.
I'm working on a demo with Flash Media Server where you can see another users mouse cursor. I would like to have these events trigger from this "fake" mouse the same way they would with the users actual cursor.
Is there a good way to do this? Any built in Flash API's that would save me a lot of time? If there was an easy way to determine what the topmost level movieclip is beneath a given point or mc, or get a list of all of them? Or do I need to cycle through all movieclips on the stage and perform a hittest with each one?
Sending the actual events is easy once I know which movieclips to send them to.
Thanks for your suggestions!
Adam Schroeder
Emulating Show Redraw Regions To Fix F8 "bug?"
I have a weird issue with one of my movies where scaling back to 100 makes the thing grow enormously... 6 times the width and height.
And it may or may not be a bug but the new flash 8 context menu item Show Redraw Regions fixes it if it hit it twice... Once to turn it off, once to turn it on. That's weird.
Anyway, does anyone know how to emulate that in Flash? Or is there a setting somewhere in the IDE I can set? This is absolutely crazy but this last glitch is all that stops this from going live.
It also seems that this enormous growth can be fixed by zooming.. If I right click and go to zoom in after the growth and then right click again and click 100% (which isn't there before I lick zoom in). It works.
Emulating NEXT Buttons In AS Instead Of Scroll Buttons
Hope some one here can help more than my bosses
The guy at the top has decided that after careful consideration He doesn't want the dynamic text in the text areas of the new site to scroll _ it is confusing he says.
We should make it next buttons instead.
I don't want to have to embed all the text from the text file into the swf as the weight of the swf is already too big.
Can anyone suggest a work around for this please
Thank you in advance for your help,
Jon 8o)
Flash Script? Is Writing Flash Code Possible? Without A Flash Builder Like Flash MX
I want to get into flash programming on my website, but i do not have thecash to buy flash MX 2004, it is 499 US thats a lot of money.
Basically what i want to know is, can flash be written as code, like HTML or do i need to buy a flash builder. And if so, what can i do about learning this code
Thanx from Fenton Multimedia Designs
Flash Script? Is Writing Flash Code Possible? Without A Flash Builder Like Flash MX
I want to get into flash programming on my website, but i do not have thecash to buy flash MX 2004, it is 499 US thats a lot of money.
Basically what i want to know is, can flash be written as code, like HTML or do i need to buy a flash builder. And if so, what can i do about learning this code
Thanx from Fenton Multimedia Designs
Can You Open A Flash File Made With Flash Mx, Using Flash Mx 2004?
Hi,
I have recently purchased flash mx 2004. However when I go to open my old flash mx flies in flash mx 2004 all I get is unexpected file format! Why is this? Also when I open flash mx 2004 and try to open one of the sample files it comes up with the same message!
Also when you download and install an extension from macromedia exchange, how do you then use the extension feature in flash? Were do you find it?
Any help on these matters would be appreciated?
Thank you
How Do You Update A Flash Object Without Flash? Selling A Flash Site.
I am wondering what may be a large wonder. If I create a website with flash etc for somebody else, how can they update their own site? For example, if they have an 'updates' page, I don't want to have to keep on redoing it for them in Flash. I heard words like 'strings' and 'XML' kicking about, but don't really understand it. Thanks,
Alex
Making A Flash Website (flash In A Flash In A Flash Etc...)
I am working on a flash "database" as it's called and to make this possible I will need to have multiple flash documents that load within a flash to keep the loading time down, otherwise the filesize would be astronomical!
To see what I am working on go to http://www.axeldesigns.com/h2/helpdatabase then click "menu button" to open the project. Hopefully then you can get a good sense of what I am trying to accomplish...So when you click on the individual links, I want a flash within the main flash to load completely on top with it's own load bar and everything.
I'm not very experienced with action scripting, but I am quite experienced with the animation side of flash and drawing tools etc...
So, if anyone knows of any tutorials or examples that I could work off of, please help me out.
Alex
Will An Swf Made In Flash MX That Is Exported As Flash 4- Play On Flash 4 Cpu's?
Will an swf made in Flash MX that is exported as Flash 4- play on Flash 4 cpu's? How do I get my mx movies compatible with people who only have Flash 4???? I ask this because I exported a movie made in Mx to Flash 4, so I am just wondering if it will play on all Flash computers that have Flash 4, eventhough they may not have flash 5 or mx. Thanks...
Flash Over Html, Hide Flash Access Html After Flash Movie Ends
We've got a green screened video playing in a flash movie over top of our html content.
when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).
this works and you can interact with the html content after the flash movie in all browsers except firefox...!
anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
any input would be greatly appreciated!
Yikes, Can I Go From Flash MX To Flash MX 2004 To Flash MX?
I have flash MX on my computer here at home, I went on campus to edit a file in a class in Flash MX 2004, now I am trying to reopen the file in Flash MX here at home again and it won't allow me to open it, saything there is an unexpected format error.
Is this caused from opening it in Flash MX 2004? Is there a way to revert the file back to Flash MX? Yikes!
Flash 8 Function Not Working In Flash 8 But In Flash 9
I use this piece of Code from Senoculars Matrix Tutorial:
Code:
import flash.geom.Matrix;
function duplicateMovieClipImage(from, target){
var pics= new flash.display.BitmapData(from._width, from._height);
pics.draw(from);
target.attachBitmap(pics, 1);
}
duplicateMovieClipImage(this.viewer.picHolder, doubleSize.bigpic);
var my_matrix2 = doubleSize.bigpic.transform.matrix;
my_matrix2.scale(1, 1);
my_matrix2.tx = -2;
my_matrix2.ty = -2;
doubleSize.bigpic.transform.matrix = my_matrix2;
duplicateMovieClipImage(viewer.picHolder, normalSize.bigpic);
var my_matrix = normalSize.bigpic.transform.matrix;
my_matrix.scale(0.25, 0.25);
my_matrix.tx = 0;
my_matrix.ty = 0;
normalSize.bigpic.transform.matrix = my_matrix;
When I play this in a Flash 9 Player everything is made correct (A Pic generated in its Original Form and one in its 0.25/0.25 Size.
But when I watch this in a Flash 8 Player (8.0.22.0 that is)
the Script is ignored
any1 know why???
Nested Function Locks Flash On 2nd Frame. Cold Fusion Problem Or Flash MX ? Or Me?
It's been three days I don't sleep. Anybody,please,.....
// Flash MX code 2nd frame
stop();
validatePackage = new LoadVars();
validatePackage.onLoad = function() {
if (validatePackage.success == "0") {
setPackageCheck = new LoadVars();
setPackageCheck.onLoad = function() {
_root.packageCheck.text = setPackageCheck.packageCheck;
_root.unlockCheck.text = setPackageCheck.unlockCheck;
_root.gotoAndStop("exPrep");/* without this line
everything works perfectly !!!!!. WHY ! I mean I have other functions sending time line somewhere else accordint to if statments and it works fine!*/
};
setPackageCheck.accountID = _root.accountID.text;
setPackageCheck.sendAndLoad("setPackageCheck.cfm", setPackageCheck, "POST");
} else {
_root.packageCheck.text = validatePackage.packageCheck;
_root.unlockCheck.text = validatePackage.unlockCheck;
_root.vdDays1.text = validatePackage.vdDays;
_root.vdHours1.text = validatePackage.vdHours;
_root.vdMinutes1.text = validatePackage.vdMinutes;
_root.gotoAndStop("exPrep");/* without this line
everything works perfectly !!!!!. WHY !*/
}
};
validatePackage.accountID = _root.accountID.text;
validatePackage.sendAndLoad("validatePackage.cfm", validatePackage, "POST");
<--- "validatePackage.cfm"--->
<cfquery name="validatePackage" datasource="dsn">
SELECT packageCheck, unlockCheck
FROM accounts
WHERE accountID=#form.accountID#
</cfquery>
<cfif validatePackage.packageCheck lt 1>
<cfoutput query="validatePackage">
&success=0&
&unlockCheck=#urlencodedformat(validatePackage.unl ockCheck)#&
</cfoutput>
<cfelse>
<cfset vdDays=#DateDiff("d",#validatePackage.packageCheck #, now())#>
<cfset vdHours=#DateDiff("h",#validatePackage.packageChec k#, now())#>
<cfset vdMinutes=#DateDiff("n",#validatePackage.packageCh eck#, now())#>
<cfoutput query="validatePackage">
&packageCheck=#urlencodedformat(validatePackage.pa ckageCheck)#&
&unlockCheck=#urlencodedformat(validatePackage.unl ockCheck)#&
&vdDays=#vdDays#&
&vdHours=#vdHours#&
&vdMinutes=#vdMinutes#&
</cfoutput>
</cfif>
<--- "setPackageCheck.cfm"--->
<cfquery name="setValues" datasource = "dsn">
UPDATE accounts
SET packageCheck= #now()#
WHERE accountID=#form.accountID#
</cfquery>
<cfquery name="setPackageCheck" datasource = "dsn">
SELECT packageCheck, unlockCheck
FROM accounts
WHERE accountID=#form.accountID#
</cfquery>
<cfoutput query="setPackageCheck">
&packageCheck=#urlencodedformat(setPackageCheck.pa ckageCheck)#&
&unlockCheck=#urlencodedformat(setPackageCheck.unl ockCheck)#&
</cfoutput>
[MX04] Open A New Link In Html By Clicking Button In Flash (no Code In Flash).
Hi,
I'm facing problem while opening a new html window by clicking button created in flash.
For this i don't want to write single code in flash but want to handle this through the html only.
For this I have used <embed> tag to add swf file in html. but could not add click code in HTML on that button.
Could any one help me out?
Get Variables Inside Flash 9 Movie With Action Script 3 Using Flash Selenium And Sele
Dear All,
I use Selenium RC and I want to do automated flash testing. I am using Flash Selenium.
Web Application has Flash content (SWF file) and is Version 9.0 and uses Action Script 3.0.
I cant use the functions like flashApp.Getvariable(varName) or flashapp.TotalFrames() as mentioned http://code.google.com/p/flash-selenium/
I see documentation and functions listed at ( http://www.adobe.com/support/flash/p...h/scriptingwit hflash_03.html functions for Flash 5 ), i cant use them . I get exception all the time.
I am trying to access the varibales in the flash movie which is loaded using GetVariable but Selenium throws an exception but no information message.
I want to ask can I use functions listed on above adobe site with Flash 9 movie with Action Script 3.0 ? If not is there any way to get variables inside Flash movie using Flash External Interface and Selenium RC ?
Best Regards !
/ Yogesh
Remove Double Click In XP For Flash & Show Flash In Firewall Protected Environment
Remove Double click in XP for flash & show flash inside firewall protected environment
Here is some code that will disable the annoying double click feature for flash when using XP. This code also enables all viewers to see your flash. For example some firewalls block flash (SO STUPID) but with this code instead of using the embed tags and object tags allows those users behind firewall environments to see your hard worked flash masterpiece.
Okay here is how you do it.
Inside your main file that is calling the flash .swf.
Remove the code that you currently have there and replace it with the code that is inside the putInsideIndex.html (see attachment)
Make sure that you change the name of the movie in that code so that it opens your swf. You might need to change the width and the height too so that you don't have your flash looking like a monster.
Alright then you need to take the other file called RemoveDoubleClick.js
Open it in your editor and change the name to the name of your choosing on line 12. Then post that file (DO NOT RENAME IT) into the same directory as the main file that you edited above. Most cases that would be the index.html or whatever.
So enjoy and start letting EVERYONE see your sites & be more user friendly!
GOOD LUCK!
Outputting Data In Flash To Text Documents, Creating Textdocs With Flash & Mc Filters
Question 1: How do I add a filter to a movieclip from actionscript,
More specificly, the "adjust color" filter, and I want to decrease brightness, saturation, hue, and contrast... by actionscript...
If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the "filter" tab, then click + and add a adjust color filter, you'll see what I mean...
Question 2: I need to output text to 'text' documents, no I cannot use shared objects for this, as it is a program for a client, and it isn't safe enough for me...
Basically, this is what I want to do...
Code:
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";
//save to a text document called "archive7" in the directory myProgramfiles
//finished with code...
then
on initilization of my program, it'd do this
Code:
//get text from the text document I saved in the directory "myProgramfilesarchive7"
Thats what I really need
Question 3:Is there a way to create a folder, text document, through flash
//example
Code:
var textdoc:TextDocument = new TextDocument();
textdoc.name = archive7;
textdoc.text = "Hello I am the 8th archive";
Can anyone tell me how to do this
Thanks in advance
Call Flash Function From Href Tag Within A Flash Html Text Field?
I'm creating dynamic html fields within Flash and have been succesful calling javascript functions or launching browsers, but what would REALLY be cool would to actually call Flash functions with those href tags.
Does that sound like a possibility to anybody?
Or, alternatley, could a javascript function in the web page execute a function within the swf?
Create Java Pop Up From Flash Index Site To Standalone Flash Popup
Want bad help to create a javapop up link from index.htm flash movie with a enter button that leads to the other .swf that is a popup window with another .swf. How do I do that.
One more thing is there a real good downloadable on how to make "news" scrolls in flash the ones I have seen did not please me.
And is there a way to connect that "news" feed scroller to a text dokument for easier updates instead of having to redo the thing in the .fla file
Hope you understand my problems and I would really appreciate all help I can get.
Cheers
Best regards
/s
Flash 6 Generator Equivalent To Export Dynamically Populated Images From Flash
I'm trying to do an automatic export of graphics developed in flash, for static site elements- graphic buttons.
Generator used to export images from dynamically populated templates, but MX does not support generator, Also being that generator ran with 4 and 5, dynamic text field sizing was not an option-this is necessary to fit the button graphics to text.
Is there either something that I can generate buttons with flash, or has anyone seen a button generator that can batch export and use imported graphics?
Thanks in advance!!!
Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,
In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?
Cheers, Skratch
Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,
In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?
Cheers, Skratch
Pass Variable To Custom Function Not Working In Flash MX For Flash 6 Player
I have a Flash application that I built in Flash 5 that I want to now output in Flash MX (not 2004, though) for Flash 6 Player. The problem is that part of my code, which works fine if published for Flash 5 Player, breaks if published for Flash 6 Player. I am loading text from an external text file, and then passing the text contents of each variable to a function (to strip line breaks). Following is the code... does anyone know how to rewrite this so that it will work as Flash 6 Player swf? The contents of the variable are not getting passed, and eval does not work on left side of expression... I've tried everything I can think of...
Thanks in advance for help.
-S
PHP Code:
/* content, correct, Q1, Q2, Q3, etc are all variable loaded from external text file. I am trying to pass contents of variables, which is why I need to eval them. This worked in Flash 5, but not in Flash MX if I publish as Flash Player 6 file. */
temp = stripLineBreak("content");
temp = stripLineBreak("correct");
for (i=1; i<=10; i++){
z="Q"+i
temp = stripLineBreak(z);
}
function stripLineBreak(x) {
tempArray = new Array();
tempArray = eval(x).split("
");
eval(x) = tempArray.join("");
tempArray.splice(0,tempArray.length);
tempArray = eval(x).split("
");
eval(x) = tempArray.join("");
tempArray.splice(0,tempArray.length);
}
|