This will create a ghost of a single vector object which will expand and fade out giving the effect of a pulse being emitted from the object.
Syntax: Pulsar(inObject, inColour, style)
inObject – is the frame containing the child frames you want shuffled – use the keyword this if you want the action to apply to the object triggering it.
inColour – the colour you want to use for the effect. You can specify the colour in one of three ways:
a string - one of "white", "black", "red", "green", "blue", "yellow", "cyan" or "magenta".
a string containing a hex value (i.e. a six digit number as used in HTML) e.g. "#45B93B" – note the string must begin with the hash symbol (i.e. #).
a single RGB value. The RGB value can be calculated using the RGB function and the call to the function can be included in full as a parameter as in the example below – you do not need to calculate the RGB value and then pass it to a variable and include the variable in the call to Pulsar
style – the type of effect you want chosen from the four presets – "pen", "fill", "flarePen" and "flareFill"
Example:
Pulsar(Cog1,RGB(125,255,0)"flarePen")
This will create a pulse of an object called "Cog1". It uses the RGB function to assign a bright green colour and will create a flared ghost of the outline of the object and pulse this.