SWF File question...PLEASE HELP

I've been asked to edit a Flash web site. The page they want
me to edit has a form on it, but they only have the .swf file. I've
opened it in Flash and am able to make the required changes, but
they thing I wanted to know is will the form be affected if I then
re export it as a .swf file or will it still work as it did before?
Thanks for your help,
Lucy

Lucy4,
> The HTML file is for a seperate form on the site.
Okay. Sometimes people provide two versions ... a "jazzy"
Flash version
and a "plain vanilla" HTML version. If that form is a
different one
altogether, then the variables required by form-mail.pl might
have nothing
to do with the variables required by the script to which your
SWF must
submit. Until we know how form-mail.pl works, we simply don't
know what to
send to it.
It *might* be the case that form-mail.pl was written to
receive *any*
variables. You won't know until you try. Send whatever
variables you like
and see what comes out at the other end (whoever it is that
receives the
email sent by the Perl script).
Then again, it might be the case that form-mail.pl requires
a certain
set of variables. If those variables are different from the
ones you showed
me in that HTML form, you'll have to find out what those
variables are.
That only makes sense, right?
> So does that mean then that I don't need to add any
> additional code to the HTML page that the Flash
> form will be on?
An HTML page *could* have both an HTML form and a Flash
form, by why
would a developer do that? It would confuse people ... you
can already hear
them asking, "Which form should I fill out?" When a developer
produces two
versions, they're both completely separate. Some developers
like to provide
site visitors with a Flash version of the site and a
non-Flash version of
the site -- but they're never provided side-by-side on the
same HTML page.
Your Flash form has nothing to do with existing HTML on the
page --
other than the <object> and <embed> tags
necessary to embed the SWF in the
document. There shouldn't be a form on the SWF's HTML page at
all.
> Also I've added the following code to the submit button
> on the Flash file, but am not sure if it will work okay:
>
> on (release) {
> if (!realname.length) {
> EmailStatus = "Please Enter your name before Sending";
> }
This code might work and it might not. Without know what
it's supposed
to do, I can't answer the question.
First, you're checking of an
object, realname, has a length property greater than zero.
The way this is
written, you're coincidentally checking of the realname
object has a length
property at all. My question to you is, what sort of object
is realname?
Is it a String? Is it an Array?
My guess is that it's a String (after all the String class
does define a
String.length property), but if so, where is this string
coming from? Does
realname represent an input text field somewhere in your SWF?
If so, you
should probably be referencing that text field's
TextField.text property.
In other words, you presumably have an input text field in
your movie, and
that text field's instance name is realname. Since realname
is an instance
of the TextField class, you'll use the TextField.text
property to retrieve
the text inside that text field. And since TextField.text
returns a string,
you can use the expression realname.text in place of your
string in the
expression myString.length. Combined, that would be ...
if (realname.text.length == 0)
... or ...
if (!realname.text.length)
Does that make sense to you? If it doesn't, that's fine, but
it means
you need to familiarize yourself with what it means to use
objects in
ActionScript.
The next part ...
EmailStatus = "Please Enter your name before Sending";
... might mean something, too. But I have no idea what
EmailStatus is. Is
that a variable you'll be using later? There is no
EmailStatus entry in the
ActionScript Language Reference, so this must be something
you've defined or
written somewhere. Without that description from you, I have
no way of
telling you what EmailStatus is for -- or, for example, if it
can be set to
a String, as you've done here.
> loadVariablesNum ("snowMailPHP.php", "0", "Post");
> EmailStatus = "Sending...";
Now, this part may be fine. I don't know what
snowMail.PHP.php is.
Presumably, it's a form handler. If so, it's either a form
handler that can
handle exactly the variables you'll be sending or any
variables at all.
Your second parameter, "0", is incorrect. That needs to be a
Number, not a
String (see the loadVariablesNum entry of the ActionScript
Language
Reference for details).
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Problem With Swf File. Please Help!!!!

    Hi! I recently got adobe flash cs4 and i tried to create swf wallpaper (flash lite 1.1), so everything looked good, untill i opened the file. The problem is its constantly blinking, like its refreshing with every second or frame or something. Then i transfered it to my phone and theres no change. I had the same problem with CS3...I attached the sample, if someone cares to see...Please can somebody help me??? Thank you!

    I think (at a first look) that you should put a stop() command at each frame of your movie.
    Playhead is running through your movie from one frame to another and back to beginning if you don't stop it with stop() command.
    What I mean is:
    in frame one of your movie put ActionScript: stop();
    in frame two of your movie put ActionScript: stop();
    etc.
    If navigation through your movie is linear, like some animations then don't put this AS in frames, but it seems to me that this will solve your problem.
    For more (if this isn't helping) upload your movie along with ActionScript.

  • Preloader not working for 35 MB swf file. Please help!

    Hello,
    I'm working on a glorified slideshow, it has a music track that is 3+ minutes long, pretty nice graphics, and transitions. I started builing in Flash and am halfway done... it looks great too !
    Problem is, when I'm testing the preloader with the download profiler set to DSL - it crawls and at 1% and on, the soundtrack starts to play... by the time the download is at 42% its at least a minute into the soundtrack and it's in and out, coming on then cutting out but not starting over. Needless to say, this is not okay! I know it's a huge file. SHould I maybe export it as an mov and put it in a FLV player?
    Thanks for reading & helping
    Ms.Lee

    Ok, so my preloader code was all wrong, now it's this:
    import flash.events.ProgressEvent;
    var request:URLRequest = new URLRequest("HitTheGround6.swf");
    var ldr:Loader = new Loader();
    this.addChild(ldr);
    ldr.x=0;
    ldr.y=0;
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
    ldr.load(request);
    function progressHandler(evt:ProgressEvent):void {
        var percent:Number = evt.target.bytesLoaded / evt.target.bytesTotal;
        preloader.fill.scaleX = percent;
    function completeHandler(evt:Event):void {
        this.removeChild(preloader);
        evt.target.content.gotoAndPlay(2);  //this is the key
    This awesome blog post has the files & explaination!!!
    http://www.negush.net/blog/how-to-preload-as3-clips/

  • I have an MS word doc saved from a Macbook in my flash drive. Now i want to print this from an IBM compatible laptop. problem is -- I can't access the file. Please help.

    I have an MS word doc saved from a Macbook Pro on m flash drive. Now i want to print
    th same doc from an IBM Compatible laptop. Problem is, I can't access the file. Please help.

    I suggest you post your question on Microsofts own forums for their Mac products as it's their software you're having issues with:
    http://answers.microsoft.com/en-us/mac

  • My iTunes won't open! It keeps saying 'The iTunes Library.itl is locked on a locked disk or you not have write permission for this file.' Please Help!

    My iTunes won't open! It keeps saying 'The iTunes Library.itl is locked on a locked disk or you not have write permission for this file.' Please Help!

    this may happen on external drives if:
    The external drive was hotpluged (removed) without going the correct "eject" way
    The iTunes library (database) got corrupted
    First Aid for external drive
    Close iTunes
    Unmount (eject) external drive the right way.
    Mount drive again
    Go to Workplace -> right click external drive -> choose "clean up" This will force the filesystem to rescan the file structure of the drive and rebuilding the file system table and journaling file.
    After the tool shows "done" (could last some time depending on size of drive) restart iTunes
    If your iTunes library is on your internal drive, this may happen
    The system was not shoot down correct, e.g. "pulled the plug"
    The iTunes library (database) got corrupted
    First Aid for internal hard drive
    Close iTunes
    Reboot system
    Go to Workplace -> right click external drive -> choose "clean up"
    After the tool shows "done" (could last some time depending on size of drive)
    Reboot system, restart iTunes
    If none of the above fixes your problem, post here.
    Lupunus

  • HT2968 I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    Hi AlphaCentori,
    If you are having issues accessing the Apple ID that was used to originally purchase those apps, you may find the following article helpful:
    Apple Support: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Regards,
    - Brenden

  • While Installing adobe reader and acrobat im getting error 1406 this error. I had already tried every possible step including special permission in registry file. Please help..

    While Installing adobe reader and acrobat im getting error 1406 this error. I had already tried every possible step including special permission in registry file. Please help..

    What is your operating system?  Is there anything else beside the number 1406?

  • I want to change my apple id password but I forgot the security questions please help me some using my icloud I'd

    I want to change my apple id password but I forgot the security questions please help me some using my icloud I'd and if confirmation is must so please phone number is mine please send a code please help me my apple

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • I have a sony rx100 and my version of lightroom (4) will not recognize the raw (.ARW) files. Please help!

    I have a sony rx100 and my version of lightroom (4) will not recognize the raw (.ARW) files. Please help!

    I have version 4.4.1 on my computer now, which is functioning properly - but does not read the .ARW files. When I download the link you sent and try to open it, it pops up as version 5 and I get this image (attached). This is my first time in one of these threads, not sure if i have to reply to each of you individually?
    DdeGannes, could you please tell me how to recover the serial number from my operating system?
    Thank you SO much everyone!

  • My apple id have been blocked an i do not remember the identity or security question please help what can i do?

    my apple id have been blocked an i do not remember the identity or security question please help what can i do?

    If your account is disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your iPhone and iPad by tapping on your id in Settings > iTunes & App Storeand then log back in so as to 'refresh' the account on it.
    For your security questions, if you have a rescue email address (which is not the same thing as an alternate email address) on your account then the steps half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699 (you can also try this link if you can't get your account enabled via the above)
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • Have bought service below to convert pdf files into word excel, Have followed instructions but cannot convert file. Please help.  AD003225761BR Produtos pedidos: Qtd. produto 1 Adobe ExportPDF, Annual (Outro,Todos os idiomas disponíveis) My email: toledo-

    Have bought service below to convert pdf files into word excel, Have followed instructions but cannot convert file. Please help.
    AD003225761BR Produtos pedidos: Qtd. produto 1 Adobe ExportPDF, Annual (Outro,Todos os idiomas disponíveis) My email: [email protected]

    Hi Jwalter,
    Thank you for posting on the Adobe forums,Please let us know what is the exact issue.
    Also, if you want help on how to use the service, kindly try the link below.
    Adobe ExportPDF FAQ
    http://tv.adobe.com/watch/insights-on-acrobat-solutions/introduction-to-adobe-exportpdf/
    Thanks,
    Vikrantt Singh

  • I can't login, keep geting "Your  Startup Disk is Full" and asking me to delete file. if I cant login how can I delete files? Please help

    I Keep getting "your startup disk is full" ..... "You need to make more space available on your startup disk by deleting file..."  If I can't have an acess, how can I delete files. Please help..

    That means the hard drive of your computer is full, and you don't have enough free space on your computer, to do what you are trying to do. 
    You need to clear up space on your computer. 
    If you hard drive is full, check the following places to ensure they are not holding unwanted data.
    - your trash can in the dock
    - if you use iPhoto, your trash in iPhoto - launch iPhoto, and select trash in the left hand column.  iPhoto has it's own trash, and is often overlooked
    - your download folder - finder / home user / downloads - every time you download something, it stores it here. This is often overlooked as well
    - do you have more than one user on the computer?  If you do, ensure they are needed.  If not, delete them, and the contents of their home folders
    If you hard drive is very full, you may want to consider the following:
    - putting in a newer larger hard drive - (call you local apple store for prices on this)
    - deleting data off your computer
    - moving data to an external drive - (iPhoto Libraries, iTunes Libraries or iMovie events, as they are the biggest space hogs)

  • Hi, I have traveled the country and have forgotten my security questions please help me thank you

    Hi, I have traveled the country and have forgotten my security questions please help me thank you

    Call Apple to help reset your Security Question.
    http://support.apple.com/kb/HT5699

  • HT201303 I forgotten my answer of security questions, please help me. Thank you !

    I forgotten my answer of security questions, please help me. Thank you !

    You need to ask Apple to reset your security questions; as described in this article, it can be done in Vietnam by phoning 1-201-0288 and then 800-708-5413.
    (107433)

  • HT1338 I am using iPhoto '11 version 9.4.2 on Mac OS X.  I have a Leica D-LUX 6 and cannot get iPhoto to read my RAW files.  Please help.

    I am using iPhoto '11 version 9.4.2 on Mac OS X.  I have a Leica D-LUX 6 and cannot get iPhoto to read my RAW files.  Please help.

    Answered here:
    https://discussions.apple.com/message/20493786#20493786

  • HT201363 Hello, I have my pass word, I have my Apple ID, but itunes think I am buying a song for the first time and is asking me 2 security questions, please help, what should i do?

    I cannot remember the answeres to my security questions, please help.

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105959)

Maybe you are looking for

  • Why can't I access the iTunes store on any of my devices or computer?

    I keep getting network errors but my connection to the internet is fine and I have used my AppleID to log in here...

  • Element not allowed

    Hi, I've imported some business components from a UIX project to an ADF project I'm setting up in Jdeveloper 11.1.2.0. I get the following error when I try to run the application. I get this for all the BC projects I've imported. <17.jun.2011 kl 10.0

  • Java.lang.NullPointerException at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:5110)

    We have deployed our ADF application in production. We developed using JDeveloper Version 11.1.2.1.0. In a page fragment, there is a inputComboboxListOfValues which is binded to a list of values binding. This list of values binding is mapped to an at

  • No proper signal with NI-4351 DAQ-card

    Hello, I am trying to use a NI-4351 for temperature  measurement (together with TX-68T connector block). However, I don't get a proper signal in our laboratory. Using the MaX  and looking at  the test panel: there is sometimes the right voltage but m

  • LocalConnection issues- works great and then fails

    I'm having trouble with LocalConnection.  I'm using it to have a button in the main swf file control another sub swf file. This is my AS2 in the main swf: outgoing_lc = new LocalConnection(); about_btn.onRelease = function() { outgoing_lc.send("lc_ex