Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

flash cs4 button

New Here ,
Feb 01, 2009 Feb 01, 2009
I create a button in flash cs4 and click "publish preview - flash" and my button works. I save my file and click "publish preview - flash" again, my button doesn't work anymore.??
I'm using Flash CS4 on an IBM compatible.
TOPICS
ActionScript
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 01, 2009 Feb 01, 2009
what code doesn't work after saving?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 01, 2009 Feb 01, 2009
HI,
this is the code for my button:

btn1.addEventListener(MouseEvent.MOUSE_UP, sls);
function sls(Event)
{
var site = new URLRequest(" http://www.thunderspider.com/2nd/lu/slideshows/bartreng09/bartreng09.htm")
navigateToURL(site);
}
I attached the generated html file with the java script.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 01, 2009 Feb 01, 2009
you probably have a security issue. either upload your file to a server and test there or go to the flash security settings page and ok your local swf to load data from the internet sandbox.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 02, 2009 Feb 02, 2009
I uploaded a red and a blue button with different code to the following URL: thunderspider.com/test/index.htm
None of these buttons work. I changed the flash security settings, but it didn't help.
I created a button on my computer at work and this button works perfectly well. Where else can I look, or what can I do to find out why buttons from my home computer don't work. I disabled my anti virus software, I changed some of the "publish settings" but so far, I had no luck.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2009 Feb 02, 2009
upload one swf with the html file generated by flash and retest.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 02, 2009 Feb 02, 2009
I uploaded the html file generated by cs4. URL: http://www.thunderspider.com/test/test2.html
As far as I can see, the button is not even visible.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2009 Feb 02, 2009
your publish settings are problematic.

change your settings to publish the default html and the default swf files. then upload both test2.html and test2.swf to your server and retest.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 02, 2009 Feb 02, 2009
My publish settings were set to default. I uploaded again to URL: http://www.thunderspider.com/test/test2.html.
There is still no button. I'm thinking about reinstalling the software and try again. What is your opinion?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2009 Feb 02, 2009
you're not publishing with default settings but that latest html page has a prayer of successfully embedding test2.swf. is the swf in the following directory relative to the test2.html:

../pics/flash/test2.swf

ie, your sever's directories are something like:


somedirectory/pics/flash <- contains test2.swf

somedirectory/test <- contains test2.html
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 03, 2009 Feb 03, 2009
If I'm not publishing with default settings, where exactely are these settings in flash CS4 and where can I find out what the default settings are supposed to be?
To upload my code to the remote server I use Dreamweaver MX2004. Dreamweaver is set up in such a way that it always uploads dependent files to the server. Test2.swf is relative to test2.html. Both files are on the server and up to date. I can send you my password to freehomepage.com, preferably to your private E-mail address.

I really appreciate your help - thank you
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 03, 2009 Feb 03, 2009
to use default names for your files click file/publish settings/formats/use default settings.

(and i don't offer help outside the adobe forums unless i'm hired to fix the problems.)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2009 Feb 04, 2009
(sorry for that misunderstanding, I do not want help outside the forums, but I was concerned about putting my password into the forum and make it accessible for the whole world).

I uploaded one more file onto the web: URL: http://www.thunderspider.com/test/buttons.htm
the button at the top is working (created at work) and the one at the bottom (created at home) does not.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 04, 2009 Feb 04, 2009
(no problem. and absolutely do not post your server login/password in a public forum.)

i see you link with one working button and one non-working button. open the work-created fla on your home computer and publish another Untitled.swf, upload to your server and test.

does the 2nd button work now? if so, create a new fla on your home computer, copy the frames from the work-created fla to the new flas and publish Untitled.swf, upload and retest.

if the 2nd button works you have some problem in your original non-working Untitled.swf.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 07, 2009 Feb 07, 2009
I've done a lot of testing --- I reinstalled Flash cs4 from 2 different web sources, reinstalled flash player 10, stopped my anti virus software and firewall and installed Flash cs4 on my laptop. I can't get the buttons running on both machines. As soon as I store or publish the buton it does not link to the URL anymore. I uninstalled and reinstalled flash cs4 on my computer at work, I changed lots of settings - the buttons always work. In 10 days, the trial period of cs4 at home is over, in 14 days the one at work. I don't know what to do anymore. Any button that works at my work place stops running after I save or publish it on my home machine. Before storing them, they work in "publish preview", after saving they do not link anymore.. Opening a working file of a good button at home runs as long as I do not resave or publish the file. I don't know what to do anymore??? I would like to work use this software, but I cannot buy it, knowing that it might not run. What can I do. I was reading in many forums on the net, it looks like I am the only one with this problem.
On all computers I use Windows XP/service pack 3.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2009 Feb 08, 2009
create a new fla using your home computer and create a button the open an html page in your own domain. does that work?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 09, 2009 Feb 09, 2009
Hi,
I have good news.
Adobe offers Debug Versions of Flash Player 10, Active X and Flash Player10 Plugin. I installed these and now my buttons work perfectly well. I uninstalled and replaced them by the Release Versions (included in the same download) and my buttons still work. Thank you very much. Without your help I would have given up a long time ago. I'm pretty sure that there will be more problems in flash in future and I look forward to get the same competent help and information from your side again. Thank you once more.
http://www.thunderspider.com/thanks.htm
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2009 Feb 09, 2009
LATEST
you're welcome.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines