Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Wavy Wand In Flash


hey guys let me drop one idea.

the other day in one club I saw this kind of device puting some marbloro add, you know the red shape, and I thing its possible do that kind of effect in flash, its pretty subliminal and seems to be the perfect way to make one cool vertical banner , imagine the size of your add using ony one small stripe of the screen

here is one example of what im talking for those dont get the idea only one difference from this examples the stick dont move but when you move your head you see the message.

http://www.thinkgeek.com/homeoffice/lights/80ee/

http://www.youtube.com/watch?v=QJA-EOknQ40

hope you found interesting this idea and wait for your feedback




KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 03-09-2007, 04:00 AM


View Complete Forum Thread with Replies

Sponsored Links:

Magic Wand
does the magic wand in flash perform the same action as it does in photoshop?

if so: why can't i get it to select anything?

if not: what does it do?

-thanks

View Replies !    View Related
BitmapData Magic Wand
Hello,

I need something to select all similar colors in a movieclip, like the magic wand in your favorite image editor.

I know it's possible with bitmapdata, but the problem is I don't know how.
The way I'm working now: if someone selects a pixel, it goes through the x-line and looks for similar colors, the distance between left x and right x is saved together with y. Then it goes one line down etc

The problem is, the code doesn't do what I want. Maybe someone with experience can help me out?

Here's what I have so far:


Code:
import flash.display.BitmapData;
var bMap;
var deltanr = 1;
var xx = 0;
var yy = 0;
var process:Array = new Array();
var itemMC:MovieClip = img_mc;
var aa:MovieClip = itemMC.createEmptyMovieClip("img_mc", 5);

aa._visible = false;
var mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = {};
mcl.addListener(mclListener);
//
mclListener.onLoadInit = function(mc:MovieClip) {

bMap = new BitmapData(mc._width, mc._height);
bMap.draw(mc);
overlook(4,1);


};
//
function overlook(xx, yy) {
var pixel = bMap.getPixel(xx, yy).toString(16);
var r = parseInt("0x"+pixel.charAt(0)+pixel.charAt(1));
var g = parseInt("0x"+pixel.charAt(2)+pixel.charAt(3));
var b = parseInt("0x"+pixel.charAt(4)+pixel.charAt(5));
var xa = xx;
var right = new Array();
var left = new Array();

while (true) {
var a:Boolean = isSimilar(xa, yy, r, g, b);
if (!a) {
//right boundary has been hit, mark it!
right = new Array(xa, yy);
break;
}
xa++;
}
xa = xx;
while (true) {
var a:Boolean = isSimilar(xa, yy, r, g, b);
if (!a) {
//left boundary has been hit, mark it!
if (xa<0) {
xa = 0;
}
left = new Array(xa, yy);
break;
}
xa--;
}
trace("pushed "+left[0]+"-"+right[0]);
process.push(new Array(new Array(left[0], yy), new Array(right[0], yy)));
upDown();
}
function upDown() {
/* check pixels below the pushed line*/
var sx:Number = process[process.length-1][1][0];
var sy:Number = process[process.length-1][1][1];
var beginx:Number = process[process.length-1][0][0];
var beginy:Number = process[process.length-1][0][1];
if ((sx<=200) && (sy<70) && (sy>0) && (sx>0)) {
for (var i:Number = process[process.length-1][0][0]; i<sx; i++) {
var pixel = bMap.getPixel(i, (process[process.length-1][0][1])).toString(16);
var r = parseInt("0x"+pixel.charAt(0)+pixel.charAt(1));
var g = parseInt("0x"+pixel.charAt(2)+pixel.charAt(3));
var b = parseInt("0x"+pixel.charAt(4)+pixel.charAt(5));
var aa:Boolean = isSimilar(i, (process[process.length-1][0][1]+1), r, g, b);
if (aa) {
overlook(i,(process[process.length-1][0][1]+1));
trace(i + "-" + (process[process.length-1][0][1]+1));
beginx = i;

}
}

}
}
function isSimilar(picx, picy, red, green, blue) {
var pixel = bMap.getPixel(picx, picy).toString(16);
var r = parseInt("0x"+pixel.charAt(0)+pixel.charAt(1));
var g = parseInt("0x"+pixel.charAt(2)+pixel.charAt(3));
var b = parseInt("0x"+pixel.charAt(4)+pixel.charAt(5));
var rb:Boolean = true;
var gb:Boolean = true;
var bb:Boolean = true;
if (r<red-deltanr || r>red+deltanr) {
rb = false;
}
if (g<green-deltanr || g>green+deltanr) {
gb = false;
}
if (b<blue-deltanr || b>blue+deltanr) {
bb = false;
}
if ((bb) && (rb) && (gb)) {
return true;
} else {
return false;
}
}
mcl.loadClip("image.png",itemMC.img_mc);

View Replies !    View Related
How Do I Use Hte Magic Wand Instead Of Lasso?
Hi!

How do I use the magic wand where I can simple select the color and have it automatically select all of the color? All I see are a lasso tool but no magic wand tool. How do I do that?

Thanks,
FletchSOD

View Replies !    View Related
How Could I Make Magic Wand In Actionscript ?
How could i make magic wand in actionscript ?

please help me !!

thanks

sorryfor my poor english..

View Replies !    View Related
Wavy, I Have Another One For You
I have a projector that I'm launching a browser from. I know that I can't launch a browser with specific attributes from a projector. So I was thinking that I could launch a browser that would minimize itself, then launch another browser with specific attributes using javascript. Do you know how to script a browser to minimize itself?

View Replies !    View Related
Wavy Water
How u make water look wavy, use shape tweening?

View Replies !    View Related
Wavy Lines
on the flash kit website on the left hand side there is an advertisement for 'talking characters in flash' with an aqua green blue background.

also in the background are these series of wavey lines they look like they are tentacles of something.

i am trying to find a flash example of this on flashkit but cant find one. anyone help or got a link?

View Replies !    View Related
Wavy Lines
hi,

i am looking to create a wavy lines effect. There is a button on flashkit that you must have seen, its advertising speaking characters and has wavy lines in the background. Anyone know of a tutorial or any hints on how to do this?

cheers

View Replies !    View Related
Wavy Menu
Hello,
Does anybody know of a tutorial for a wavy menu like the one in tenbyten.org
Thanks
Alain

View Replies !    View Related
How Do I Get A 'wavy Curvy' Motion?
I've seen this in several websites... but am not sure how it's done.
There's a kind of wavy curvy motion... of a plain colour graphic...
It normally starts off covering a whole area... but then in a 'wavy curvy' motion moves up or donw to reveal what's underneath.

Does anyone have a clue what I'm talking about!?

Any help would be appreciated.

Thanks.


Jam

View Replies !    View Related
Smooth Wavy Movement
I was trying to make some cool looking smooth wavy enemy movement. Kind of something like the enemy movement in Bubble Tanks 2.

I can make my enemys go where I like to and do what I like to, but everything looks very abrupt. I would like to make them curve around when they change direction and even curve around a bit while moving. But I can't seem to figure out how. Any help?

View Replies !    View Related
AS2 - Red Wavy Underline For Textfield
I have a sentence in a dynamic textfield that I want to be able to underline with a WAVY red underline depending on the response from an XML. It is kind of like a spell check functionality.

Any ideas on how to do this? Perhaps by using another component?

View Replies !    View Related
Making A Wavy Mask Using CurveTo
I've got some code that reveals a mask in that swooshy/wavy style, which starts of nice and smooth at the top of the reveal but as it gets further down the page it speeds up and doesn't look smooth.

Here is the code. I've also attached the example of what it is doing. You need to click the pink alien to start the mask.

I've been looking at this code blankly for a couple days now and I'm still no further forward.

I'd really appreciate it if somebody could suggest where the answer to my problem lies.


Code:
//Global vars
mWidth = 600;

//Create movie clip and mask
counter = -1;
createEmptyMovieClip('holder',0);
createMovieClip();
animInt = setInterval(doAnim, 17);
holder._x =25;
holder._y =25;
function createMovieClip()
{
counter++;
holder.attachMovie('pic' add (counter % 2), 'pic' add counter, counter);
holder.createEmptyMovieClip('mask' add counter, counter + 10000);
holder['pic' add counter].setMask(holder['mask' add counter]);
}

function doAnim()
{
var currMC = holder['mask' add counter];

if(animIndex < 15)
{
var time = animIndex/15;
var dist = 0.5*Math.sin(Math.Pi*(time-0.5)) + 0.5;

with(currMC)
{
clear();
beginFill(0x000000);
lineTo(mWidth,0);
lineTo(mWidth,dist*225);
curveTo(250,dist*40,0,10*dist);
endFill();
}
}
else if (animIndex < 35)
{
var time = (animIndex-15)/20;
var dist = 0.5*Math.sin(Math.Pi*(time-0.5)) + 0.5;

with(currMC)
{
clear();
beginFill(0x000000);
lineTo(mWidth,0);
lineTo(mWidth,225);
curveTo(250-100*dist,40+150*dist,0,10+190*dist);
endFill();
}
}
else if (animIndex <= 50)
{
var time = (animIndex-35)/15;
var dist = 0.5*Math.sin(Math.Pi*(time-0.5)) + 0.5;

with(currMC)
{
clear();
beginFill(0x000000);
lineTo(mWidth,0);
lineTo(mWidth,375+75*dist);
curveTo(150,440+10*dist,0,450);
endFill();
}
}



animIndex++;
if(animIndex > 50)
{
animIndex = 0;
holder['pic' add (counter - 1)].removeMovieClip();
holder['mask' add (counter - 1)].removeMovieClip();
//createMovieClip();
clearInterval(animInt);
}
}
What I'm hoping to acheive is a nice smooth mask from top to bottom.

Thanks
Mark

View Replies !    View Related
[F8+ MX2004] Wavy Line Affect?
Well I guess I should introduce myself. Names Ryan, Im a psp guy and I want to create a psp flash site. Seems simple right? Well of coarse I want to make the site look just like a PSP's gui. The psp has wavy lines in the background to serve as a screen saver and to look pretty cool. Id lke to copy that idea and incorporate it into the background of my site. Here is a video of it in action (disreguard what the person is doing on the psp, this is just to showcase the gui).

http://www.youtube.com/watch?v=303Q5bELcYM

Ok now I am completely new to the whole flash thing and I have a lot to learn. I am pretty good at photoshop and image ready which makes some of the buttons and tools familiar. Well if anyone can help me get my feet wet it would be much apreciated. If you would like to talk to me in real time feel free to hit me up on aim or yahoo: herzeleid435

Here is a sample of what I can do in image ready...

View Replies !    View Related
Dashed And Wavy Lines Using Actionscript
OK, I'm stumped.
We have a piece of software created in Director which calls various Flash functions to draw different lines on the fly. These lines demonstrate various movements of football (soccer) players. You can drag a midpoint in a line to create a curved line. Now this is fine to do if the line is solid, so i simply use the curveTo function.

The difficult bit comes when I need to draw a dotted/dashed line along a curved path or even more confusing, a wavy line along a curved path. Can anyone give me any pointers as to where to look for guidance on this. I've trawled the net and can't really find any answers.

If anyone is willing to offer some helping in providing actionscript for this as well we're more than happy to credit you on the software (and give you a free copy!)

Many thanks
Iain Livingstone

View Replies !    View Related
Wavy: Dinamically Distorted Text
Hy all!
I have visited http://www.designashirt.com/design.asp and I've seen an effect that I want to apply to a project of mine. I'm talking about a text that is dynamically distorted, in a way that photoshop can't distort .
Anybody knows how I can achieve this effect, 'cos I don't have a clue?...

Thanks in advance, I would be grateful.
emipolak

View Replies !    View Related
Wavy Rope/Line Effect?
hello, im fairly new to flash, and i cannot find a tutorial anywhere for how to do this.

im trying to make an effect that when you hover over a certain button, the rope type lines i have above the text start slowly swaying. i dont really know how else to explain it....kind of like how the tree sways here: (you have to put the link stuff together)

findingtomato. com/

ftBeta/hack06_treeGen. html


please help

View Replies !    View Related
Fullscreen Continous Animation Of Wavy Lines
Hi there people!

Allright, here's the problem:

I have to make a fullscreen flash site, with some of the graphics have to do a continous animaton across the screen. The animated items are a bunch of simple wavy vector lines that have to move smoothly across from left to right at different speeds. An example that springs to mind is a heart monitor. Just sevreal lines (4-5) like that on top of each other, moving at different speeds to create a wavy "frequency" look...

My problem is that since we're dealing with 100% width, I dont the width of the clips, plus, I don't have a clue as to how to approach this, other than script it. Should I duplicate clips, attach from library or what?

Any pointer in the right direction is most appreciated...

View Replies !    View Related
Drawing A Squiggly Or Wavy Line Between Two Points?
I've searched and searched and cannot find a way to draw a squiggly or wavy line in the MOUSE_MOVED event as the user clicks and moves the mouse.

How can this be done??

View Replies !    View Related
Text Effects: Pinched, Wavy, Bloated Etc?
ok, i agree i'm posting many questions based on text and fonts, but i cant help it.. these things are making me go crazy.

well, i need to write AS 2.0 code for creating text effects like those we have in ms word clipart.. i dont need it to be all that complex though.
what i need is to make the text pinched.. so that if there's a word, the ends of the word are more in height but in the middle, its slim

then i need to make the text seem bloated.. which is exactly the opposite of pinched. then i also need the word to appear wavy.. as if the word is riding on a wave ya know..
then, i need the word to slant backwards and forwards
i also need it to have a dropshadow but i found stuff by senocular on it. so i guess i'll manage that by the filters and all.

please help me

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
Flash Versions Order Of Sequence : Flash 5, Flash MX, FlashMX 2004?
some questions on FLash versions

After Flash 5 was FlashMX then followed by FLashMX 2004 ???

which means Flash MX is version 6??

thanks for answering.

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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...

View Replies !    View Related
Updating Flash 4 Code To Flash MX 2004 Or Flash 8
Can Flash MX or Flash 8 automatically update old flash code or update depreciated code? I have a flash 4 project that when resaved as Flash MX 2004, obviously starts to throw errors.

View Replies !    View Related
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!

View Replies !    View Related
HOW DO YOU CHANGE THE BG OF THE FLASH THING ON FLASH KIT W/OUT USING FLASH?
Plz tell me because I am making a little kid's website and they'll b sad if doesn't match the flash.

View Replies !    View Related
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!

View Replies !    View Related
Flash/CSS Question: Can Flash In A <div> Overlay Another <div> Containing Flash?
I'm guessing this answer is no but thought I'd ask anyway.

With the "wmode" set to transparent I can get my top div to overlay text/background images no problems but not on top of another flash movie.

Can it be done?

View Replies !    View Related
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???

View Replies !    View Related
Firefox Recognizes Quicktime As Flash Player Instead Of Flash As Flash Player
I don't know why when I go to websites and all those old Flash sites don't work anymore, but I get the "Quicktime Question Mark" logo. I've tried reinstalling Flash Player so many times but the quicktime logo keeps coming up. I've tried this both with Firefox and Safari and it just doesn't work.

View Replies !    View Related
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>

View Replies !    View Related
[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?

View Replies !    View Related
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

View Replies !    View Related
How Print Html Page Or Word Outside Flash When Click Button Inside Flash ?
hello,


how print html page or word outside flash when click button inside flash ?

any ideas or what the action can help me to do that ?

View Replies !    View Related
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!

View Replies !    View Related
New To Flash, Create A Flash Form Which Is Emailed Using CGI Script When Submit Button Is Pressed
I'm trying to build a form in flash that is emailed using CGI script. I'm just lost and confused and I just can't seem to figure this out.

This is the CGI coding for HTML and I just need to convert it to use in CS3:
<form action="

View Replies !    View Related
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

View Replies !    View Related
The Flash Anthology: Cool Effects &amp; Practical ActionScript - Chapter 1: Flash Essentials
This is an article discussion thread for discussing the SitePoint article, "The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essentials"

View Replies !    View Related
The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essenti
Notice: This is a discussion thread for comments about the SitePoint article, The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essentials.
__________

eXCELLENT! clearly composed article, gonna read the other chapters too. thanks

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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!!!

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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);
}

View Replies !    View Related
Href Not Useable In Flash. . .then Any Ideas On How To Make A FAQ Type Thing In Flash
Without having to make all of your questions into buttons ??

any ideas sugestions please help.. .thanks

Darin

View Replies !    View Related
Any Tools To Convert Macintosh Flash Movie Source To PC Flash Version?
Hi Folks,

One of my client has given me a flash movie made in flash mx 2004 version 7.It is in Macintosh.

I am trying to open it in PC ,but it says " unexpected file format"

Are there any tools to convert from macintosh flash to PC flash.

Your help will be appreciated.

Thanks

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved