{Flash mx 2004} Ayuda con ActionScript, eventos y componentes
Buenos días,
Necesito ayuda, debido a que soy aprendiz y tengo
problemillas, os cuento:
Tengo 2 radioButton en un formulario que indican el sexo de
una persona
(masculino o femenino). Dichos radio Button los tengo
asociados mediante la
propiedad groupName.
Por otro lado tengo 2 textInput no visibles, y dependiendo de
si pinchan en
un radiobutton u otro quiero poner visible un textInput u
otro.
No se si hay algún evento que detecte al instante cuando
se pincha en un
radiobutton o en otro.
Se que esto es fácil, pero no se como hacerlo.
¿Me ayudas?
Muchas gracias.
Buenos días,
Necesito ayuda, debido a que soy aprendiz y tengo
problemillas, os cuento:
Tengo 2 radioButton en un formulario que indican el sexo de
una persona
(masculino o femenino). Dichos radio Button los tengo
asociados mediante la
propiedad groupName.
Por otro lado tengo 2 textInput no visibles, y dependiendo de
si pinchan en
un radiobutton u otro quiero poner visible un textInput u
otro.
No se si hay algún evento que detecte al instante cuando
se pincha en un
radiobutton o en otro.
Se que esto es fácil, pero no se como hacerlo.
¿Me ayudas?
Muchas gracias.
Similar Messages
-
Director MX 2004 + Flash MX 2004 - Problema con formulario flash con combos dentro de director
Buenas,
He desarrollado una aplicacion con base Director, que lleva
dentro un
formulario flash con varios combos tirando del componente
combobox del
mismo. Hasta ahora lo habia usado en otras aplicaciones con
una integracion
similar sin problemas, pero en este caso me ha surgido algo
realmente
extra�o, esto es, si pulso muchas veces en los combos
hay momentos en los
que estos se vuelven locos y se quedan como colgados (de
hecho la aplicacion
esta como colgada cuando pasa esto). Esto pasa mas a menudo
en windows 2000
por no decir la mayoria de las veces, y en XP pasa en
determinadas
circunstancias. He probado a quitar el direct to stage del
sprite flash,
ademas de quitarle la "animacion" que realiza al desplegarse,
y creo que en
xp el problema esta resuelto, pero en win 2000 me parece que
estamos en las
mismas.
El problema es que necesito combos para ese formulario, y no
me valen los
que trae Director por defecto, basicamente por el aspecto.
Tampoco puedo
permitirme el lujo de cambiar todo el formulario a Director
aunque usara un
xtra o un behavior, ya que esto lo entrego ma�ana y
tengo que matizar mas
cosas. Alguien ha hecho algo parecido, o ha tenido un
problema similar?
Muchas gracias y saludos a tod@sBuen dia, el problema que tienes radica en la version de xtra
que
utiliza director para mostrar la info que hasta el momento
esta en la
version 7, lo que debes hacer es exportar los ficheros a una
version 7y funcionaran perfectamente.
"Tony" <[email protected]> escribi� en el
mensaje
news:e85ovc$s0j$[email protected]..
> Buenas,
>
> tengo una aplicaci�n hecha en Director MX que
necesita abrir ficheros
> flash. El problema radica que si estan hecho con la
versi�n 8 no me los
> abre. Alguien sabe por qu�? en PC tengo instalado
la �ltima versi�n del
> Flash player.
>
> Salu2 y gracias de antemano.
>
> -
Hola a todos, estoy instanciando los clips usando FOR pero al hacer clic sobre los botones no abre los vinculos xfavor espero q me puedan ayudar soy nuevo en AS3 les dejo el ejemplo www.peruhostingplus.com/duda2/
Gracias x la respuesta q me pudieran dar......Yo hablo espanol un poco solamente. Habla Ingles? If so...
change line 12 to be...
botones.addEventListener(MouseEvent.CLICK, vinculos);
Do not nest your vinculos function inside the loop, move it outside, and change it as follows...
for(var...etc){
// botones code solamente
function vinculos(evt:MouseEvent):void {
switch(evt.currentTarget.nombres.text){
case "Home":
navigateToURL(etc....;
break;
case ""About us":
navigateToURL(etc...;
break;
case "Client":
navigateToURL(etc....;
break;
case ""Contact":
navigateToURL(etc...;
break; -
cada vez que juego en facebook el flash se detiene (shockwever) Y AUNQUE VUELVA A CARGAR LA PAG SE VUELVE A DETENER LA APLICACION ,QUE PUEDO HACER PARA SOLUCIONARLO? ,EL FLASH ESTA INTEGRADO EN EL CROME
Por favor, consulte este FAQ para obtener ayuda con asuntos relacionados con accidentes de Chrome:
How do I report a bug against Flash Player for Google Chrome? -
Problem using CSS in Flash MX 2004
While working through a tutorial using Flash MX 2004 and CSS
StyleSheets, publishing the page produces the error below each time
I attempt to publish the page and I am unable to continue. There
doesn't seem to be a problem with the code, and the TextField.as
file is in the location where this error indicates that it is not.
Can anyone help?
//********************************* Error Message
**Error** C:\Documents and Settings\Administrator\Local
Settings\Application Data\Macromedia\Flash MX
2004\en\Configuration\CLASSES\TextField.as: Line 47: The class
'TextField.StyleSheet' could not be loaded.
var styleSheet:TextField.StyleSheet;
**Error** Scene=Scene 1, layer=a, frame=1:Line 4: The class
'TextField.StyleSheet' could not be loaded.
var cssStyles:TextField.StyleSheet = new
TextField.StyleSheet ();
Total ActionScript Errors: 2 Reported Errors: 2
//********************************* /Error Message
//-------------------------- The code that produces the error
var cssStyles:TextField.StyleSheet = new TextField.StyleSheet
cssStyles.load("styles/styles.css");
cssStyles.onLoad = function (success) {
if (success) {
loadedInfo.styleSheet = cssStyles;
} else {
loadedInfo.text = "There has been an error loading the
requested information. Please contact the Webmaster and report your
error.";
//-------------------------- /The code that produces the
error ----------------------\\
TX!
David Marion
Email: [email protected]I found the problem!!
While exploring the Fireworks MX 2004 folder located under
"C:\Documents and Settings\USER\Application Data\Macromedia\"
folder I discovered that this folder was empty. So, I connected the
old hard drive and investigated the contents of the corresponding
folder on that drive. Discovering the wide assortment of files and
folders in that folder, I simply copied the contents of that folder
to the Fireworks MX 2004 folder and retried running the application
and IT WORKED!
Thanks for all your communications and in depth
troubleshooting steps, I will keep them in may Application
troubleshooting Tool Tips for future reference. I have included the
actions used here which brought about the successful resolution of
this issue so that if you'd like you might include them in any Help
Desk Methods you may have. It was truly a collaborative effort
because I would not have thought to explore the Application Data
folder to resolve this issue without you pointing me in that
direction.
Thanks again! -
Trouble opening Flash MX 2004 files in CS3
Has anyone encountered any problems trying to open orignal
.fla files created in Flash MX 2004 in the CS3 version? I get an
error stating "unexpected file format".I tried opening your test file in my version of CS3 and it
shut it down completely - CS3 quit
unexpectedly. Rare for me as I have been using/testing CS3
for months and not seen this issue - i
suspect the file is corrupt in some way but then again it
would open in flash 8 - can you save as
from flash 8 with a new name and upload again?
Chris Georgenes
Animator
http://www.mudbubble.com
http://www.keyframer.com
Adobe Community Expert
*\^^/*
(OO)
<---->
penmyles wrote:
> Since last posting this, I have been talking to tech.
suport, but I still don't
> have a solution.
>
> The MX files can open in Flash 8. But if I save them
from Flash 8 and try to
> open them in Flash CS3, it still doesn't work.
>
> Also, I have been able to open some MX files that were
created as test files
> (however, they were very simple, animation without
actionscript).
>
> Here is a sample of one of the files that I cannot open
in Flash CS3:
>
http://www.pennymyles.com/testfile.fla
> I'm just wondering if it's the file or my
computer/version/installation of
> Flash
>
> Thanks.
> -
Macromedia Flash MX 2004 books
Macromedia Flash MX 2004: Training from the Source by Jen
deHaan
Macromedia Flash MX 2004 ActionScript: Training from the
Source by Derek Franklin and Jobe Makar (Paperback - Nov 19, 2003)
Macromedia Flash MX Professional 2004 Application
Development: Training from the Source by Jeanette Stallons
(Paperback - April 30, 2004)
I read (1) , well which I must read after, from the other two
books(2,3) ? tell me about level / content ?Once the trial period has end, Adobe Support cannot assist you in extending your trial, even if the trial ended prematurely
You can install the trial on a new computer.
please check: http://kb2.adobe.com/cps/187/tn_18759.html -
Problem using a Flash MX 2004 Progress Bar Component within a Movieclip
I'm try to setup a progress bar to show the percentage loaded
of a mp3 audio file using the Flash MX 2004 Progress bar component.
I can get the progress bar to the work normally by the having the
component on the stage (not in a movie clip) with the component set
to:
mode: polled
source loader
with the following actionscript on the layer above:
pBar.setStyle("themeColor", 0xFF0000);
var loader:Object = new Sound();
loader.loadSound("http:/www.mywebsite.co.uk/mymp3.mp3",
true);
But I won't to put the preloader inside a Movie Clip (the
movie clip is called 'content_MC') as the website has alot of
content. When I do this the mp3 file still streams but the Progress
Bar doesn't work.
I think I just need to change the action script so that it
links with the component telling it to calculate the progress of
the audio streaming file.
Am I right? Where am I going wrong?I found the problem!!
While exploring the Fireworks MX 2004 folder located under
"C:\Documents and Settings\USER\Application Data\Macromedia\"
folder I discovered that this folder was empty. So, I connected the
old hard drive and investigated the contents of the corresponding
folder on that drive. Discovering the wide assortment of files and
folders in that folder, I simply copied the contents of that folder
to the Fireworks MX 2004 folder and retried running the application
and IT WORKED!
Thanks for all your communications and in depth
troubleshooting steps, I will keep them in may Application
troubleshooting Tool Tips for future reference. I have included the
actions used here which brought about the successful resolution of
this issue so that if you'd like you might include them in any Help
Desk Methods you may have. It was truly a collaborative effort
because I would not have thought to explore the Application Data
folder to resolve this issue without you pointing me in that
direction.
Thanks again! -
New iMac with 10.6.2 - but when tried to install Flash MX 2004 pgm crashes
HI,
First, perhaps there's a list somewhere of pgms that won't run under snow leopard?
We just got a new iMac 21.5" with 10.6.2
Trying to migrate pgms we had on our old G4 - like Flash MX 2004. After a clean install - it keeps crashing. Console log shows:
1/8/10 7:56:40 PM [0x0-0x28028].com.macromedia.flash.7[318] Authentication Service: Started
1/8/10 7:56:41 PM ReportCrash[325] Saved crash report for Flash[324] version ??? (???) to /Users/mahlenius/Library/Logs/DiagnosticReports/Flash_2010-01-08-195640Jude.crash
1/8/10 7:56:41 PM ReportCrash[325] Saved crash report for Flash[326] version ??? (???) to /Users/mahlenius/Library/Logs/DiagnosticReports/Flash_2010-01-08-195641Jude.crash
1/8/10 7:56:41 PM [0x0-0x28028].com.macromedia.flash.7[318] translate: MACHRCV_PORTCHANGED - invalid pointer, rcv buffer not swapped
It would seem that I probably will have to spend a lot more $ just to get pgms to run on this new system.
Any clues on getting this to run?
thanks
'markFlash MX 2004 is quite ancient. Latest shows it's viable for OS X 10.3. For compatibility info, start with http://www.macintouch.com/specialreports/snowleopard/slcompat.html
-
Sizing photo's in Photoshop to use in Macromedia Flash MX 2004
Am trying to create a gallery for webpage using Macromedia Flash MX 2004, have imported photo's into library and got the Flash gallery to publish. But am concerned as the flash .swf file is only 273kb with 20 images in it, the existing gallery file I am wanting to replace is approximaately 2.5mb.
I was advised to downsize each photo to 300x200 pixels which seems to fit the display in the flash file. Thought maybe I am doing something wrong in Photoshop when I am resizing each photo from original 3 or 4 mb photo down to the 300x200 pixel size. Any clues out there?I really know nothing about Macromedia Flash, but since no one has given any responses my thought is that if doing an action you need small pictures so they will load quickly.
If you resize save as new image so the quality images are not destroyed. If you have a lot of pictures to resize check out Bridge/tools/photoshop/image processor. -
How to load other obejects in flash file after intro using ActionScript 3.0
How to load other obejects in flash file after intro using ActionScript 3.0 or any other method all in same fla file. see blow intro screen shot ,this one playing repeatedly without loading other fla pages .only way to load other pages is click on Skip intro .see second screeshot below .i need that site to load after intro .
see codes already in
stop();
skipintro_b.addEventListener(MouseEvent.CLICK, skipintro_b_clicked);
function skipintro_b_clicked(e:MouseEvent):void{
gotoAndStop("whoweare");
There is another script there
/* Simple Timer
Displays a countdown timer in the Output panel until 30 seconds elapse.
This code is a good place to start for creating timers for your own purposes.
Instructions:
1. To change the number of seconds in the timer, change the value 30 in the first line below to the number of seconds you want.
var fl_TimerInstance:Timer = new Timer(1000, 30);
fl_TimerInstance.addEventListener(TimerEvent.TIMER, fl_TimerHandler);
fl_TimerInstance.start();
var fl_SecondsElapsed:Number = 1;
function fl_TimerHandler(event:TimerEvent):void
trace("Seconds elapsed: " + fl_SecondsElapsed);
fl_SecondsElapsed++;
i have no knowledge about these thing ,any help really appreciated .Ned Murphy Thank you very Much .It is working .Great advice
-
Adobe Premiere Pro 2 and Macromedia Flash MX 2004
I'm using Adobe Premiere Pro 2.0 and have recently installed Macromedia Flash MX 2004.
Now when I go to export to Flash I don't get the Adobe Premiere's Flash Export dialog box when I press "Options" from the Export Settings. I get the Flash MX Professional 2004 "Flash Video (FLV) Exporter." It doesn't allow me to change any of the parameters.
I then un-installed Macromedia Flash MX 2004 but still get the same "Flash Video (FLV) Exporter."
Any ideas on how to get the Premiere exporter back?Well there is no answer to my question, but I did finally get the Adobe Media Encoder dialog box to come back again.
After uninstalling Premiere and QuickTime, then shutting down the computer, rebooting and logging on to the Admin account, shutting down again, rebooting again, logging in to the Admin account again ...
I then went in to the registry and removed all the Entries that had either of these in it:
C:\Program Files (x86)\Common Files\Adobe\DVA\COM
C:\Program Files (x86)\Common Files\Adobe\DVA\FLASH
and these as well
C:\Program Files (x86)\QuickTime\QTComponents\FLV.qtx
C?\Program Files (x86)\QuickTime\QTComponents\FLV.qtx
Rebooted the computer, logged back in to Admin.
I then re-installed QuickTime, and rebooted.
I then installed Premiere and the Adobe Media Encoder Flash dialog now shows up.
I'd be careful messy with the registry if you are trying to fix this type of problem. Try uninstalling quicktime and premiere and do the above shutdown, reboot sequence a number of times before doing anything to the registry.
I'm not sure what I'm going to do about that Flash Website I've working on... -
I installed Macromedia Flash MX 2004 yesterday,but I get an
error,unfortunately,it's one of those "Program has encountered a
problem and need to be cosed." errors
All I can get is the error signature
AppName: flash.exe AppVer: 7.0.0.470 ModName: unknown
ModVer: 0.0.0.0 Offset: 646e756f
And I get this tipe of error with Flash 8 as well
As an OS I use XP professional with SP 2
Any ideas are welcome
(ps,I am new here,and I'm clueless if I posted this thread in
the right section)This is not the answer you want, but if you can get yourself
a copy of Flash 8, you'll have almost exactly the same program with
a better interface...and it won't crash on you! (BTW, Flash 8 is
still the standard in most places.) I loved Flash 7, better known
as the 2004 MX versions, but it was buggy and cranky because it was
released too soon. Flash 8 was much better and far more
user-friendly. -
Did macromedia just get crappier with Flash MX 2004?
Did Flash just get cr*ppier? What the h*ll is going on?? Now
that we export our swf, we have to make sure that we f'in mask out
the working area? What genius came up with that bulls**t?? Also,
when we put actions on buttons we have to go thru a lot more sh*t
with typing up all the scripts?? not to mention they are a hell of
lot more bugs!!! c'mon Macromedia, some of us have time constraint
with real deadllnes, so why all the innefficiencies and added
frustrations?? You guys are suppose to make it better with each
version, not f*cking make it sh*ttier..get your head outta your
a$$es. FLASH MX 2004 IS A F'in RIP-OFF!!"just" get crappier is a bit of an outdated statement - MX
2004 is flash version 7 and the currect
version is Flash 8 - MX 2004 came out well over a year ago.
You don't and never have had to "mask" out the work area - I
have no idea what you are referring to
- can you explain in detail what is or is not happening?
Yes they removed normal mode from the AS panel but brought it
back in flash 8 as "Script Assist"
which is even better.
You refer to "Macromedia" which is no longer (again, dating
yourself
) Adobe bought MM so I think
you may have just emrged from the technology cave so to speak
--> Adobe Certified Expert *ACE*
--> www.mudbubble.com
--> www.keyframer.com
dke21 wrote:
> Did Flash just get cr*ppier? What the h*ll is going on??
Now that we export
> our swf, we have to make sure that we f'in mask out the
working area? What
> genius came up with that bulls**t?? Also, when we put
actions on buttons we
> have to go thru a lot more sh*t with typing up all the
scripts?? not to mention
> they are a hell of lot more bugs!!! c'mon Macromedia,
some of us have time
> constraint with real deadllnes, so why all the
innefficiencies and added
> frustrations?? You guys are suppose to make it better
with each version, not
> f*cking make it sh*ttier..get your head outta your
a$$es. FLASH MX 2004 IS A
> F'in RIP-OFF!!
> -
How to restore sound to exported avi? - Flash MX 2004 Pro
Hi,
Over the last couple of days I have been tinkering around with Flash MX 2004 Pro. More specifically, I have been importing avi's to the library and then placing the embedded video into a movieclip so I could have more control over it. While in the library I could preview the video along with the sound. Exporting the video again in avi format it would render the sound. However, all of a sudden it will only preview the video and not the sound in the library and the same goes for when I export a video there is no sound. The strange thing is the sound is still present when I test the movie. I have tried reinstalling the program with no luck. Any ideas?
Many thanks.Well there is no answer to my question, but I did finally get the Adobe Media Encoder dialog box to come back again.
After uninstalling Premiere and QuickTime, then shutting down the computer, rebooting and logging on to the Admin account, shutting down again, rebooting again, logging in to the Admin account again ...
I then went in to the registry and removed all the Entries that had either of these in it:
C:\Program Files (x86)\Common Files\Adobe\DVA\COM
C:\Program Files (x86)\Common Files\Adobe\DVA\FLASH
and these as well
C:\Program Files (x86)\QuickTime\QTComponents\FLV.qtx
C?\Program Files (x86)\QuickTime\QTComponents\FLV.qtx
Rebooted the computer, logged back in to Admin.
I then re-installed QuickTime, and rebooted.
I then installed Premiere and the Adobe Media Encoder Flash dialog now shows up.
I'd be careful messy with the registry if you are trying to fix this type of problem. Try uninstalling quicktime and premiere and do the above shutdown, reboot sequence a number of times before doing anything to the registry.
I'm not sure what I'm going to do about that Flash Website I've working on...
Maybe you are looking for
-
How do you install an iOS update on iPhone via iTunes after previously downloading it
How do you install an iOS update on iPhone 5 via iTunes after previously just downloading it
-
Retrieving entire path of metadata column
To emulate document permissions based on metadata, I'm trying to create my own document routing logic through a workflow retrieving the value from a metadata column and moving the file to the appropriate folder. It works fine except for the fact that
-
BI and the all in one solution
Hi We have a situation where we we hqve many clients attched to one central BW system and then some customers wish to have a local installation (which we dont want to do due to many systems etc). So we are looking at the SAP ALL in one solution and
-
Can anyone send me docs about transportations in bw do and donts?
hi all, Can anyone send me the documents about transportation procedure to be carried in bw do and donts. to my email id [email protected] thanxs in advance regds hari
-
Hw do i sharpen my font within freehand? When import the image after making it in fireworks , import it into freehand it looks very pixleated , or somthing like that. How do i make it photo quality? i dont understand. after i finish it in fw it looks