Converting a Flash Button to GrayScale
Hi, I am building a quiz in Flash, the quiz will display a
question and a set of three possible answers. Im just wondering if
its possible once an incorrect answer has been selected (which is a
button) the button can be converted to grayScale???
Any help would be much appreciated.
Ian
if it's a movie clip (or in a movie clip) you can use the
Advanced Color Filter to lower the
stauration of it - can probably be done with Actionscript as
well - but hard to provide details
without knowing how you have wired your document.
Chris Georgenes
Animator
http://www.mudbubble.com
http://www.keyframer.com
Adobe Community Expert
*\^^/*
(OO)
<---->
IanH1982 wrote:
> Hi, I am building a quiz in Flash, the quiz will display
a question and a set
> of three possible answers. Im just wondering if its
possible once an incorrect
> answer has been selected (which is a button) the button
can be converted to
> grayScale???
>
> Any help would be much appreciated.
>
> Ian
>
Similar Messages
-
Need help converting this html code into code that will work as a flash button
I have some html code that is for a button in html that when
pressed sends you to a certain url but also somehow adds an 'id
value' and a 'website value'.
How can I convert this code and or put it into a flash
button?
Disregard the gif info...that's just for the html graphic
that goes for the button.
[HTML]<form
action="https://secure.verotel.com/cgi-bin/vtjp.pl"
method="post">
<input type=hidden name=verotel_id
value="9804000000840231">
<input type=hidden name=verotel_website value="55461">
<center>
<input type="image" src="
http://buttons.verotel.com/join/button_00010155461.gif"
alt="Signup NOW!">
<img src="
http://buttons.verotel.com/signup/tbutton_55461.gif"
border="0" width="1" height="1" alt="">
</center>
</form>[/HTML]What you want to do might look something like this:
-
Flash buttons work in FireFox but not IE
Please can someone please take a look and see if they can
figure it out cos i can't!
roundshaw (dot) co (dot) uk
The increase and decrease flash buttons at the top of the
page works ok in FireFox but not in Internet Explorer.
Can anyone see what i have missed that stops it working in
IE?
thanks in advance for your help.
JasonHello again,
Yep, sounds like you've got the general idea.
hries22 wrote:
I'm going to start from scratch and give it another go...would you reccomend converting every button to a symbol? Then give the symbols a mouseover, click, and mouseout?
I'd take all the elements that make up the button, and convert that into a symbol. Then you can go to labels with your code without worrying about the main timeline. Put all your code on the elements themselves, and not on the symbol instance.
hries22 wrote:
Also - and this minor - but is there a way to get a button's mouseover area to recognize transparency? For instance - I'll use a .png with transparency for a button...let's say the T-shirt. I want the mouseover to activate only when the mouse is over the t-shirt, and not over the transparent area around the t-shirt...any thoughts?
By default, the hit area of a div in HTML is its bounding box. Right off the top of my head, I'm not sure there's a way to change it...maybe someone else can chip in?
EDIT: here's an old-school way...could be a lot of work: http://www.svennerberg.com/2008/09/imagemap-rollover/
hth,
Joe -
Flash button that controls breeze play button
Is it possible to create a flash button that is scripted to
control the play and pause button on the breeze playbar? What I am
looking for is a way to have a button that would start a slide
again after it has stopped and is waiting for the user to start
again.Hi!
If you want to control the viewer with a Flash button you've
embedded in a powerpoint slide (prior to using presenter to convert
it) try this:
(1) Make your button in Flash, and add this Actionscript to
the first slide (replace [btnName] with the name of your button
instance:
btnName.onRelease = function () {
_root.m_controlBar.m_slideNextBtn._onRelease();
(2) Insert your button's swf in the PPT presentation and
compile with Presenter. Now, when the user clicks the button, it
will simulate pressing the "next slide" button in the viewer's
control bar.
Here are some of the other button names; to use these
instead, just replace "m_slideNextBtn" in the above code:
Play/pause button "m_playBtn"
Next slide button "m_slideNextBtn"
Previous slide button "m_slideBackBtn"
View changer button "m_viewChangeBtn"
Attachment Button "m_attachmentsBtn"
Volume Button "m_volumeBtn"
Hope that helps!
~Marc B -
Flash button with dynamic text
I'm trying to create a flash button so that it can toggle
between "Sound On" and "Sound Off" but I feel like I'm doing
something wrong and it errors out on me.
I have a button on stage as, and in my up/over/down/hit in
different colors I have a dynamic text field identified as
sound_txt.
Here's the script I have so far for my frame:
stop();
mutebtn.addEventListener(MouseEvent.CLICK,muteDo);
function muteDo(event:MouseEvent) {
if (mutebtn.sound_txt.text == "Sound Off") {
mutebtn.sound_txt.text = "Sound On";
} else {
mutebtn.sound_txt.text = "Sound Off";
and this is the error message I am getting:
TypeError: Error #1010: A term is undefined and has no
properties.
at buttontst_fla::MainTimeline/muteDo()
TypeError: Error #1010: A term is undefined and has no
properties.
at buttontst_fla::MainTimeline/muteDo()
Can someboy please advise as to how I can get this to
work?I tried bringing the textfield out of the button but while it
worked when I pressed the button portion that is not under the
text, it was the part of the text that got in the way from doing
anything. I wonder where I can find an existing example that works
the way I want it too so I can at least follow that example. I
think I tried making the dynamic text a movie clip but was still
getting similar errors.
Edit: I at least got it to work by converting the button into
a movie clip although I had also wanted it so that I could also
change the foreground color of the dynamic text upon rollover,
etc. -
I have inserted a flash button into a side_navigation which
when clicked on is supposed to launch the end users e-mail program
with the address and subject lines pre-populated. This works fine
when tested from another internal server, however, from a remote
machine only a box with the "click here to activate this control"
pop up appears. The original site was created outside of
Dreamweaver using raw html code and Cascading style sheets. Any
help is greatly appreciated!Are you using DW 8.0.2? Have you uploaded the Scripts folder?
Active content not displayed in browser after converting page
in
Dreamweaver 8.0.2
http://www.adobe.com/go/9c3f9367
David Alcala
Adobe Product Support -
I have Flash buttons on my site but I have to double-click
them to do the action. Once to activate the button and once to use
it. Is there a setting I can use to only have to click them once to
use them? Thanks. I am using IE 6 and 7.Please see these links for more details on what you're
seeing. If you
have DW 8, there's an 8.0.2 Updater that will make the code
changes
for you.
Active Content Developer Center
http://www.adobe.com/devnet/activecontent/
Converting Active Content with the Dreamweaver 8.0.2 Updater
http://www.adobe.com/go/2f98fbe7
David Alcala
Adobe Technical Support -
How to converting a flash clip into a bmp file quickly
Hi,
I’d like to get help on converting a flash clip into a
bmp file. I have an application developed with ActiveX technology.
There is a flash control embedded in the ActiveX control, which has
a printing button. The end users can press the printing button to
print the flash picture as well as other text content.
I get the flash picture for printing in follow steps:
1.Create a BitmapData object
var bmp:BitmapData = new BitmapData(w, h, false);
2.Obtain the image of current flash
bmp.draw(mc, mc.transform.matrix, new ColorTransform(), 1,
new Rectangle(x, y, w, h));
3.Get pixels of flash image one by one in loop, and save them
into a PixelCollection
bmp.getPixel(col, row);
4.Move the PixelCollection into flash container
fscommand("print", load_PixelCollection);
5.Ocx control gets the PixelCollection and converts it into
BMP format
But I find it is very slow when action script gets pixels one
by one. Getting pixels of a middle size flash may spend one minute.
It is hard for our customer to stand. Does anyone have idea to get
the flash image quickly?
Any help is appreciated.
Shi HangWhat about the built-in print methods, wouldn't it be better
to use those here?
Getting all pixel values is a time intensive process, because
of the amount of pixels. It may be a bit faster if you split the
getPixel() loop over some frames, but I'm not exactly sure how to
do that (just read it somewhere).
If the content is fixed, you could create the pixel array in
the background while the user looks at it. This is quite some
overhead, but when the user decides to print, the array would
already be there.
Finally, not helpful here, but interesting:
quote:
BitmapData.getPixels()
No longer do you have to loop through every pixel in a
bitmap, one at a time with getPixel to send a bitmap to the server.
This method returns a ByteArray containing the hexadecimal color
value of each of the pixels in the specified rectangular region of
a bitmap. Use this method in conjunction with the new ZLib
compression method; ByteArray.compress() to compress and send a
bitmap over the wire to a server so it can be converted into a file
ready for downloading.
(from
http://www.flashguru.co.uk/actionscript-3-new-capabilities/)
This will be available in AS 3.
hth,
blemmo -
Flash buttons in dreamweaver 8
Hi,
i am having a problem with inserting flash button in
dreamweaver 8, when i insert the buttons it appears on the page as
a grey box with "F"(flash) and not displaying the proper text. The
user is a standard windows users and has not administrator
privilidges. but if an administrator loggs into the pc and does the
exact same process then the flash button work.
has anyone come across this problem ? does anyone know how to
resolve
cheers
davidYou'll need to go back into Flash and build the links into the buttons before you create the swf's. Look in the Flash help docs regarding the getURL function as far as the code you'll need for linking. If you have problems, post in the Flash AS1 and AS2 forum.
Beyond that, don't be surprised if some feedback arises here regarding using Flash buttons. -
Hey Everyone
So i have these Flash buttons on my website(which is done in
Dreamweaver), and when i go to 'test' the site... the buttons will
work when the page first loads(Home)... but if i go to click on a
link, lets say "Contact", the buttons aren't there anymore! And if
i go back to "Home" they arent there either!!
Does anyone have any suggestions or solutions to this
problem?!
Thanxs much in advance!!
-Liz>>actually, i do have the OBJECT tags...
>> but if i go to click on a link, lets say "Contact",
the buttons aren't
>> there anymore!
Do you have the Flash buttons on all web pages was my point.
In other words,
did you have the same Flash buttons on the Contact page?
>>Can someone take a look at my code and see whats
wrong with it?
/intro_buttons.swf
Is the intro_buttons.swf in the web site root folder -- what
/ means? On the
local drive the / could mean the root folder of the computer
if you are not
testing under
http://.
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"EBTurner" <[email protected]> wrote in
message
news:e3bdng$2df$[email protected]..
actually, i do have the OBJECT tags...
Can someone take a look at my code and see whats wrong with
it?
Thanxs!
<tr>
<td colspan="14">
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="422" height="25">
<param name="movie" value="/intro_buttons.swf" />
<param name="quality" value="high" />
<embed src="/intro_buttons.swf" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="422"
height="25"></embed></object>
</td>
</tr> -
Flash buttons won't work in Dreamweaver
Hello,
I recently watched/read tutorials about how to add Flash buttons into Dreamweaver. I followed the instructions perfectly: insert>media>flash button, and played around with that options. After I clicked ok/apply, though, the only thing that popped uo was a little grey box with the "f" Flash logo inside. It could be resized, but thats it. When I tried previewing it in a browser, all I saw was a little box in the color i had set as the BG color. In the properties window, it says "undefined" next to file. I am using CS3on a macbook, and am a beginner with Dreamweaver. Anybody know why this is happening and how i can fix it?
-New userThat's correct. There's no difference. But Flash buttons should be avoided however you make them.
Use text-based CSS formatted buttons instead.
Easier to maintain and update and search engines love them.
Google CSS Buttons and you'll find plenty of tutorials. -
Dreamweaver Flash Buttons Paths
Hello all,
I am a novice site designer. My first challenge is to design a navigation bar once and used by all web pages. I built it using Flash buttons. The concept works fine in a flat file, but when I'm viewing a web page that sits in a different directory than the flash navigation buttons, the buttons point to a file in the current directory which doesn't exist. I want the buttons to still point to the flash files in the parent directory.
I'm using Dreamweaver CS2 to create my flash buttons. I'm using PHP include statements to include my flash navigation bar. When I create the php file in another directory, click on flash button, all heck breaks loose. I look at the URL and the link appends the PHP file that the flash button should be pointing to whatever directory my current web page is in.
It seems like, I should just create each button as a absolute path, http://rootdirectory.com/filename.php, but it still uses relative path when I'm looking at web page that sits in another directory and appends the navigation link to the current directory http://rootdirectory.com/currentdirectory/filename.php although it points to a link in the root or parent directory.
Do I not know how to create flash buttons using the absolute paths?If you want to use Flash for navigation, consider this -
1. Some people don't have Flash installed - what do they do?
2. Search engines don't parse Flash links - your site will
not be spidered
3. Screen assistive devices don't parse Flash links - what
will those users
do?
4. DW cannot maintain links within a Flash movie, so if you
move or rename
a linked file, your navigation will break - what will you do?
It's usually a very bad idea for these reasons...
Adding in frames makes it even worse - you are in the deep
stuff here. Why
are you using frames?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"LeichterLernen" <[email protected]> wrote
in message
news:er5fua$3am$[email protected]..
> Hey, I use some standard flash buttons from Dreamweaver
to navigate. I
> have two
> frames in this web. The buttons are in frame "A" and
refer to a target in
> frame
> "B". This worked perfectly fine, even with IE 7 in
Windows XP it still
> works.
> But in Windows VISTA every button opens a new browser
windows.
>
> Windows VISTA, IE 7, Dreamweaver 8, running the web on
my HD
>
> Thanks in advance.
>
> Sky
> -
Adobe Captivate Flash Buttons in Moodle
I am using flash SWF files to control Captivate Course in Moodle and I have trouble with CLOSE pop up window flash button. It works in IE and FIrefox but not in Chrome and OPERA when course is opened via Moodle. I have created simple html page with link that opens pop up window containing the same course and this way the button works in all browsers. ????? Again, in MOOdle it doesn't.
In Chrome Developer Tools I have tracked this error when clicking on close pop up window flash buttom: Ignoring cross-frame javascript URL load requested by plugin.
The button itself is using this AS3:
pbcExit_mc.addEventListener(MouseEvent.CLICK, myBtnClicked);
function myBtnClicked(e:MouseEvent):void {
navigateToURL(new URLRequest("javascript:window.opener=self; window.close()"), "_parent");
Does anyone have a clue what is the problem?
Thank you,
VitoI am using flash SWF files to control Captivate Course in Moodle and I have trouble with CLOSE pop up window flash button. It works in IE and FIrefox but not in Chrome and OPERA when course is opened via Moodle. I have created simple html page with link that opens pop up window containing the same course and this way the button works in all browsers. ????? Again, in MOOdle it doesn't.
In Chrome Developer Tools I have tracked this error when clicking on close pop up window flash buttom: Ignoring cross-frame javascript URL load requested by plugin.
The button itself is using this AS3:
pbcExit_mc.addEventListener(MouseEvent.CLICK, myBtnClicked);
function myBtnClicked(e:MouseEvent):void {
navigateToURL(new URLRequest("javascript:window.opener=self; window.close()"), "_parent");
Does anyone have a clue what is the problem?
Thank you,
Vito -
Dreamweaver Flash Buttons / Frame Navigation in VISTA
Hey, I use some standard flash buttons from Dreamweaver to
navigate. I have two frames in this web. The buttons are in frame
"A" and refer to a target in frame "B". This worked perfectly fine,
even with IE 7 in Windows XP it still works. But in Windows VISTA
every button opens a new browser windows.
Windows VISTA, IE 7, Dreamweaver 8, running the web on my HD
Thanks in advance.
SkyIf you want to use Flash for navigation, consider this -
1. Some people don't have Flash installed - what do they do?
2. Search engines don't parse Flash links - your site will
not be spidered
3. Screen assistive devices don't parse Flash links - what
will those users
do?
4. DW cannot maintain links within a Flash movie, so if you
move or rename
a linked file, your navigation will break - what will you do?
It's usually a very bad idea for these reasons...
Adding in frames makes it even worse - you are in the deep
stuff here. Why
are you using frames?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"LeichterLernen" <[email protected]> wrote
in message
news:er5fua$3am$[email protected]..
> Hey, I use some standard flash buttons from Dreamweaver
to navigate. I
> have two
> frames in this web. The buttons are in frame "A" and
refer to a target in
> frame
> "B". This worked perfectly fine, even with IE 7 in
Windows XP it still
> works.
> But in Windows VISTA every button opens a new browser
windows.
>
> Windows VISTA, IE 7, Dreamweaver 8, running the web on
my HD
>
> Thanks in advance.
>
> Sky
> -
Adding a url to flash buttons in Dreamweaver
I have a web site built and I have recently added Flash buttons and I need to add my web pages to the buttons. How would I go about doing this?
Let's say you create a button symbol. Since it is a button, it is already a self animating object that will react to mouse interactions, but only visually at this stage. The first thing you need to do to make it useful code-wise is to assign it a unique instance name. So you drag a copy of it out to the stage from the library, and while it's still selected, you enter that unique instance name for it in the Properties panel... let's say you name it "btn1"
In AS3, to make a button work with code, you need to add an event listener and event handler function for it. You might need to add a few (for different events, like rollover, rollout, clicking it, but for now we'll just say you want to be able to click it to get a web page to open. In the timeline that holds that button, in a separate actions layer that you create, in a frame numbered the same as where that button exists, you would add the event listener:
btn1.addEventListener(MouseEvent.CLICK, btn1Click);
The name of the unique function for processing the clicking of that button is specified at the end of the event listener assignment, so now you just have to write that function out:
function btn1Click(evt:MouseEvent):void {
var url:String = "http://www.awebsite.com/awebpage.html";
var req:URLRequest = new URLRequest(url);
navigateToURL(req);
Maybe you are looking for
-
How to get current slide from embedded HTML5 output
I am using php to run a web application that displays HTML5 captivate files embeded in a HTML web page. What I need to be able to do is when a user clicks a button OUTSIDE of captivate (say maybe a "Finish" button) I need to be able to check if they
-
Ssrs 2008 r2 rectangle causes first page to be blank
In an SSRS 2008 r2 report I have 6 matrixes that I placed into 1 rectangle so that all the individual items do not float. The problem is that the first page of the ssrs 2008 r2 report is blank when the report is executing. I have set the report prope
-
Possibly Corrupt files on my iPhone 3GS?
Hi everyone, hopefully someone can guide me int he right direction. Last summer I upgraded my 3G to a 3GS, I imported all of my content from my 3G onto my 3GS. I can exactly pinpoint when the problems started, but here's the list of what has been hap
-
Tablespace resizing taking too much time
This is my database setup: 3 node rac on 32 bit linux (rh 4) 2 SANs (3gb + 2 gb) current datafiles: 3.2T out of 5.0T (autoextend on) before adding the second SAN, the resizing tablespace isn't bad (13s/gb) now it is taking way too long: this is how I
-
Mirroring suspended possibly due to errors 948 and 1453
I've been having a difficult time setting up a test network around SQL mirroring. After 3 days of effort I've gotten what I hope is almost there. The current state of my efforts is when I start the mirror it tries to preform the update and goes almos