SWiSHzone.com Support Forums: The Filter Function - SWiSHzone.com Support Forums

Jump to content

The Filter Function I Would Like To Make Two Simple Banners Using The GlowFilter And The B

#1 User is offline   lionspaw 

  • New Member
  • Pip
  • Group: New Members
  • Posts: 7
  • Joined: 31-October 09

Posted 02 November 2009 - 04:41 AM

I Would Like To Make Two Simple Banners Using The GlowFilter And The BevelFilter Functions.

I have no programming experience and I'm using Swiss miniMax3.

Is that a reasonable expectation or am I just wasting my time?

Looking through some of the literature it says the following:

GlowFilter or BevelFilter
Filters work with SWiSH miniMax however the full path to the class (typically flash.filters) must be specified.
and typically would be coded in SWiSH miniMax as
var filter:flash.filters.BlurFilter = new flash.filters.BlurFilter(30,30,2);
or var filter:Object = new flash.filters.BlurFilter(30,30,2);

All of that is Greek to me.

Would you please give me The example of the code for the GlowFilter Banner.

And also tell me where to place the code?


Thank You,
0

#2 User is offline   crslz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 1,475
  • Joined: 09-June 05
  • Gender:Male
  • Location:Belgium, West-vl (dutch language)
  • Interests:html, swish, php, flash, photoshop, 3D design, hardware, ubuntu, windows..

Posted 06 November 2009 - 08:06 AM

hi,

I don't use mimiMax but in swishmax3 you can find a generator, perhaps in miniMax also ?

file - samples - advanced - filter_effect_generator

once you open the generator you can play around with the settings, now you should copy the code and paste inside a other swi file

code from the filter generator file

glowFilterName = new flash.filters.GlowFilter(0xFF0000, 0.45, 4, 4, 2, 8, false, false);
pathToObject.filters = [glowFilterName];


code for your swi file

onSelfEvent (load)
{
	glowFilterName = new flash.filters.GlowFilter(0xFF0000, 0.45, 4, 4, 2, 8, false, false);
	pathToObject.filters = [glowFilterName];
}


glowFilterName can be anything...

glowFilterName = new flash.filters.GlowFilter(0xFF0000, 0.45, 4, 4, 2, 8, false, false);
pathToObject.filters = [glowFilterName];

don't forget, export options = flash player 8 or above

grtz
0

#3 User is offline   Wolf Gross 

  • Advanced Member
  • PipPipPip
  • Group: Moderator
  • Posts: 19,916
  • Joined: --
  • Gender:Male
  • Location:Perth/Australia

Posted 06 November 2009 - 09:28 AM

>>I don't use mimiMax but in swishmax3 you can find a generator, perhaps in miniMax also ?

...no, SWiSH miniMax3 does not have that option.

wolf
Posted Image
Web Wolf Wonder Web Works

SWiSHsites modified
0

#4 User is offline   browndrake 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 2,785
  • Joined: 18-January 04
  • Gender:Male
  • Location:usa

Posted 06 November 2009 - 09:28 AM

go the the components>>effects>>filters...and drag on the filter you want. You can then customize the content.

good luck

aaron
0

#5 User is offline   Wolf Gross 

  • Advanced Member
  • PipPipPip
  • Group: Moderator
  • Posts: 19,916
  • Joined: --
  • Gender:Male
  • Location:Perth/Australia

Posted 06 November 2009 - 09:31 AM

...but Aaron's advice will work :)

wolf
Posted Image
Web Wolf Wonder Web Works

SWiSHsites modified
0

Share this topic:




Fast Reply

You can make 4 more posts today.
  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users