PayPal button action works in preview but not when published

Hi! 
Any thoughts as to why this works correctly in CS5 publish preview but when I publish it I either get no action or (XP comupter) or a blank page (vista).  Any thoughts or insight would be appreciated.  Also, I'm new to flash and here's the button action:
on (release) {
        //create the LoadVars that will hold our paypal information
        var paypal = new LoadVars();
        //specify the business, amount of the item, shipping, etc.
        paypal.cmd="_xclick";
        paypal.upload="1";
        paypal.business="[email protected]";
        paypal.currency_code="USD";
        paypal.amount="275.00";
        //paypal.handling = "0";
        //paypal.no_shipping = "0";
        paypal.item_name="One Session";
        //added
        //paypal.lc="GB";
        paypal.bn="PP-BuyNowBF";
        //paypal.no_note="1";
        //send our information to PayPal, including all the optional  variables we have collected from customer
         paypal.send("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
Thanks!
Robert

Hi Robert,
as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
It might be even necessary to have a look at the fla itself.
M

Similar Messages

  • Works in preview but not when published in captivate 8?

    My youtube widget used in captivate 8 works just fine in the preview, but when published there's nothing where the video should be, any idea as to why?

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • Masking works in preview but not when published

    I am dynamically loading higher-res images into a movie clip
    that
    correspond to the place in a 360 degree rotation the main
    clip is at,
    then resizing that movie clip to "zoom" the image. Since I
    don't want
    to overflow the whole screen, I've created another movie clip
    that
    masks the loader movie clip.
    When I preview the flash file, it works perfectly. When I
    publish the
    file, the mask doesn't get applied. Thoughts?
    zoom_btn.onPress = function(){
    if(iszoomed == false){
    loadMovie("zoomimages/" + Math.floor((_currentframe-4)/3) +
    "big.jpg", image_mc);
    stop();
    zoom_btn.onRelease = function(){
    if(iszoomed == false){
    Loading progress loop begins, extra code
    removed...
    if (pcLoaded >= 99){loader_mc._alpha = 0;
    image_mc._visible = true;
    myMask_mc._visible = true;
    image_mc.setMask(myMask_mc);
    .....Loading progress loop ends}
    iszoomed = true;
    }

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • Load swf works in Publish Preview but not when published

    Hi Folks,
    I having a problem where im trying to load two 1mb SWF movies into my Flash piece. It works fine in Publish Preview but not when I finally publish. I get this error in IE:
    SecurityError: Error #2000: No active security context.
    I have googled around and there is some talk online of a hack where by you get a timeout to overcome this. However im not so technical do I dont really know how to do this to my code in AS3. My code at the moment is below.
    Any help would be much appreciated and rewarded with Karma
    movieClip_12.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_9);
    var fl_Loader_9:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_9:Boolean = true;
    function fl_ClickToLoadUnloadSWF_9(event:MouseEvent):void
    if(fl_ToLoad_9)
      fl_Loader_9 = new Loader();
      fl_Loader_9.load(new URLRequest("search.swf"));
      addChild(fl_Loader_9);
    else
      fl_Loader_9.unload();
      removeChild(fl_Loader_9);
      fl_Loader_9 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_9 = !fl_ToLoad_9;
    movieClip_14.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_10);
    var fl_Loader_10:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_10:Boolean = true;
    function fl_ClickToLoadUnloadSWF_10(event:MouseEvent):void
    if(fl_ToLoad_10)
      fl_Loader_10 = new Loader();
    fl_Loader_10.load(new URLRequest("refunds.swf"));
      addChild(fl_Loader_10);
    else
      fl_Loader_10.unload();
      removeChild(fl_Loader_10);
      fl_Loader_10 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_10 = !fl_ToLoad_10;

    I think this is either a problem with my site preLoader or my external .swf Loader. I was checking out the bandwith profiler and saw something weird and I wondered if anyone could explain...I've added a picture. I have a blank frame on only my actions layer to export classes to and it seems that frame 2 is "bleeding" into frame 1. Could this be my problem? Why would this happen? Thanks

  • SWF plays in preview but not when published

    I have seen similar issues posted but none dealing with this
    precise problem. I have two SWFs, one of which loads at the end of
    the other. When SWF 1 is played back in Flash or when published in
    HTML format, SWF2 plays as is should. When SWF is exported to
    another program (e.g. Frontpage or Ektron, CMS), SWF2 will not
    play. Interestingly, when SWF2 is exported to the other program on
    its own, it plays fine so font support is not an issue.
    I have also tried altering the level in the LoadMovieNum
    script (0, 1, 2) as well as republishing both SWFs from the
    original FLA file. So far zippo.
    Any ideas??

    At least on my side it only plays the first video and does not progress.  There are twenty-five videos after this, they are all very short  but they progress.   Is this progressing for you?  Perhaps it is my computer if so. Please let me know.
    Thanks again,
    Mark.

  • Site works in preview but not when uploaded to the web

    I have been trying to add a link from my website to another project I have been doing, a mini site made with Flash.
    I wanted the link to open up a new window with the animation playing inside, and it works perfectly when I use "preview in safari" within dreamweaver, but now I've uploaded to the web it just opens up a blank window.
    This is the url for the homepage:
    http://kayleighthompson.com/
    and the link is the ActiveAid button at the bottom of the navigation list.
    If anyone knows how to get this working I'd be very grateful! It's for a uni project due in this afternoon :S

    I think you may be having a problem with how Flash is displayed. The Flash on the first page doesn't display in IE8... although it does in Chrome. The second page doesn't display in either. Your link is correct. I checked that.
    Wish I could be more helpful, I'm having the same issue with IE and DW CS4 myself, and can't figure it out.
    This may help: http://code.google.com/p/swfobject/wiki/documentation
    Good luck! Let me know if you figure it out.
    [email protected]

  • Query works in preview, but not when added under a Query Group

    Hello Experts-
    I'm trying to use this query as one of the options under the drop down on the Supplier Search under the Supplier Management.
    Error message:
    while trying to invoke the method com.sap.odp.comp.query.QueryParamValue.getPromptParamDef() of a null
    object loaded from local variable 'paramValue' while trying to invoke the method
    com.sap.odp.comp.query.QueryParamValue.getPromptParamDef() of a null object
    loaded from local variable 'paramValue'
    The query itself is complicated, but it works fine when executed under preview.
    Wondering if any one has ever seen this behavior and knows of any typical causes?
    Thanks,
    Mike

    Thanks for the offer, Vignesh.
    Sorry, I'm currently having trouble duplicating it, but next time it happens I'll try to get some screenshots.
    I have narrowed it down to blank values in optional string fields when the query loads. I fixed (kind of) the ones I was having trouble with by rearranging the filter parameters so there would not be blanks.
    Thanks again,
    Mike

  • Spy Collapsible Pane Works in Preview, but not when I put it online

    Hello,
    I am trying insert collapsible panels at
    this
    site. They work fine in all the browsers when I preview them, but
    they do not work online. I am very new to dreamweaver and could use
    any help. Thanks

    nhw1908 wrote:
    > I am trying insert collapsible panels at
    >
    http://www.udel.edu/History/testgrad/prospective/prostud.html
    site. They work
    > fine in all the browsers when I preview them, but they
    do not work online.
    You haven't uploaded SpryCollapsiblePanel.js.
    Another problem with your page is that you have applied
    styles to your
    library items. This results in style blocks being embedded in
    the body
    of the page, which creates invalid code. You should use
    Design Time
    Style Sheets to apply styles to library items (press F1 and
    search the
    help system to find out how to use them).
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Dynamic text works in preview but not when uploaded

    Can someone help me resolve as to why my dynamic text works
    in DW8 preview by I get an error after FTPing the page.
    Warning: require_once(/Connections/oneandone.php)
    [function.require-once]: failed to open stream: No such file or
    directory in /homepages/0/dxxxx/htdocs/xxxcom/index_by_town.php on
    line 1
    Fatal error: require_once() [function.require]: Failed
    opening required '/Connections/oneandone.php'
    (include_path='.:/usr/local/lib/php5') in
    /homepages/0/dxxxx/htdocs/xxxcom/index_by_town.php on line 1
    My testing server is my remote server.
    Thanks

    ah ha sorted - seems to have something to do with relative
    links. Changing site root relative links to document relative links
    has done the trick.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=263&threadid=1154447&hi ghlight_key=y&keyword1=virtual%28%29

  • Website displays fine in Preview but not when 'Published' to BC

    Hi
    I've posted this question twice in the Adobe Muse discussion forums and had zero response so hopefully people with more experience form the BC perspective might be able to shed some light on this.
    Basically I have a subscription to Muse and with that the ability to host one site with Business Catalyst. When checking the first site I designed I'd use 'Preview in Browser' and the site occasionaly displayed incorrectly, so I changed my habits to publishing the work-in-progress site to the BC url with this current site.
    Unfortunately there are multiple display problems with doing this; the two images below show the difference between 'Publish' to the BC domain and 'Preview site in browser'.
    I've cleared the cache of the browser multiple times and used both Firefox and Safari and the problem still remains. I'm assuming it's a problem with Business Catalyst?
    Does anyone have a solution for this? Has data become corrupted in BC, and if so is there a way of 'flushing' the data held on the BC site clean to start from scratch?
    Would really appreciate some help here as it's impossible to show my client the current state of the site
    Thanks in advance
    Phil

    Hi Liam
    Tried it in Safari and Firefox (I'm on a Mac), cleared the cache and still was getting issues.
    http://httpwiles06businesscatalystcom.businesscatalyst.com/clients.html
    If you go to the client page there I'm getting the images behing strangely like the top pic I posted, also the top type image has moved over.
    i set up a subdomain on my own site to use as a test space for this client site and it works perfectly; that's on
    http://martinedwardstest.phunction.net/
    Appreciate any fedback, opinions or help on what might or might not be wrong.
    Cheers
    Phil

  • Button hyperlinks work in project preview but not in published .swf

    Captivate 6, button hyperlinks work in project preview but not in published .swf, the cursor changes the “the hand” but the hyperlink does not redirect.
    Any ideas?
    Like I said my buttons work great in preview mode after publishing, one click and the PDF opens in a new browser window. Open the project through the published .swf files and the links will not work.
    Using Captivate 6 on WIndows 7

    Hello,
    Welcome to Adobe Forums.
    Once your project published, add the .swf file in Flash Global Setting :
    1) Right Click on the content (Published .swf file) and click on Global Settings
    2) Go to Advanced Tab and Click on Trusted Location Settings  (Scrool down to see this button)
    3) Click on "Add" button and then "Add file", browse for the Captivate 6 published file and click on OK
    4) Launch the .htm file again (Location where Captivate publish your project)
    Hope this helps !!
    Thanks,
    Vikram

  • Flash work in preview but not in the browser!?

    Hi there:)
    I have a .swf file in a table in Dreamweaver. When I preview it in place and in Safari, it plays. When I upload eveything, it is not in any browser on the server.. any ideas?
    Thanks!
    V

    Hi John!
    Yes, sorry about that.. here it is.
    http://farmingtonfarm.com/appraisal.html
    Thanks for your help!!
    v
    Date: Thu, 8 Apr 2010 18:52:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: flash work in preview but not in the browser!?
    Can't really help without a link to the site. Can you provide one?
    >

  • Wifi works at home but not when away from home

    My Wifi works at home but not when away from home, what is wrong?  I thought with a phone plan I didn't need to have a wifi connection.

    You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
    Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some.

  • Captivate 3 shows skin in preview but not when I run after published?

    Captivate 3 shows skin in preview but not when I run after published.  It shows it is included, what's up?

    Is the Skin externalised?  If so, perhaps Flash Global Security is interfering:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/how-to-set-up-flash-global -security
    You could also try NOT externalising the skin.

  • Simple buttons working in Preview, but not on iPad

    Hello everyone. I have a Button (I'm working in InDesign CS6), with instructions "Go to State". It links to a photo on a seperate layer. The link works perfectly in the SWF preview (shift-command-return). But when I update the file to view it in Adobe Viewer it does not work. (I am using Viewer Vers 25) There are no other functions on the page that could be "blocking" it. In fact, on some pages where there are two or three buttons (all of them with instructions of "Go to State"), 2 may work and one not. I am confused as to how I can see it working in the Preview, but not on the iPad. Any suggestions appreciated. Many thanks!!

    Bob, just got in and downloaded the patch - the buttons are working perfectly now!!
    Thank you for taking the time to help me out!! I'll be more diligent from now on in checking for updates. Thanks again. James

Maybe you are looking for

  • Why doesn't the Macbook work lid-closed??

    I've only just discovered that the Macbook will try to go to sleep every time i close it's lid. For me, this is possibly the most annoying thing that any laptop could ever do! I know the Macbook is designed for lid closed use when external keyboard,

  • Problem in Sales Order BAPI

    Hi All, M using BAPI_SALESORDER_CREATEFROMDAT2 to create Sales Order. It is working fine & creating sales order. But i also want to give Order Quantity in sales order. What is the field name for that in BAPI. Thanks in advance.... Regards AK

  • Problems with scrolling through premiere timeline using arrow keys and shift arrow

    This is a really weird problem in cs6. When I load a clip into the source monitor i can scroll throughit fine using the arrow keys, and shift arrows and my shuttle pro controller. When I place the same clip on to the timeline it really struggles to s

  • FPN XSS - issues with UWL on consumer portal

    Hi UWL gurus, We are trying to implement FPN with ESS/MSS installed on one of the producers. I'm trying to configure the UWL in the consumer and copied the ESS and MSS roles from producer into the consumer as similar location. So the UWL tasks that r

  • My Zen touch is really, really irritating me

    the simplest shock makes it stop playing. It is only week old, I could have gotten an Ipod but I got this because I was told it was superior. It plays perfectly when I am sitting, but once I start walking it will just stop in the middle of a song and