Adding PayPal code to Flash button
I want to use my own .swf button for PayPal payments with a "hidden format", but when adding the generated PayPal Website code to my html page, only a red X and the alt PayPal text is showing where the button should be. I have changed all Active X controls to Enable.
Every time I contact PayPal I get a different reply. The last one was that I have to add a "static" image, but I really want to use my own button.
I would rather find a way to paste the PayPal code into my buttons action script and then I only have to paste the Flash button to the html, but don't know how to manipulate that because the only code generated by PayPal is a "form" in html format. I am also adding text fields and guess that's why I don't get an generated email code from PayPal which I get if I don't add text fields.
Any ideas how I can transform the code generated by PayPal to my action script are welcomed. I have about 150 buttons to add!
This is my link: http://www.astondenwoodjewellery.co.uk/Jewellery%20html/Gold%20Rings/GR02_button_test.htm
I will definitely mark when I have managed to do this, thank you. Still can't get it to work and I don't know where I'm going wrong, but shall continue trying...
I have added the form in my html, but deleted the button which appeared as an X. Instead I've added my button with the code you gave me in AS.
I don't know what I am doing wrong, but I keep receiving action script error messages:
**Error** Scene=Scene 1, layer=glas, frame=1:Line 1: Statement must appear within on handler
var sendLV:LoadVars=new LoadVars();
**Error** Scene=Scene 1, layer=glas, frame=1:Line 2: Statement must appear within on handler
var receiveLV:LoadVars=new LoadVars();
**Error** Scene=Scene 1, layer=glas, frame=1:Line 3: Statement must appear within on handler
receiveLV.onData=function(src){
**Error** Scene=Scene 1, layer=glas, frame=1:Line 10: Operator '=' must be followed by an operand
sendLV.on0= ;// use selected option for man/woman
**Error** Scene=Scene 1, layer=glas, frame=1:Line 11: Operator '=' must be followed by an operand
sendLV.on1= ;// use selected option for size
**Error** Scene=Scene 1, layer=glas, frame=1:Line 8: Statement must appear within on handler
GR02_test.onRelease=function(){
Total ActionScript Errors: 6 Reported Errors: 6
Similar Messages
-
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); -
Any help on this matter is greatly appriciated. This is
probably a stupid question but it is driving me nuts.
I was updating my site in dreamweaver and I added a bunch of
flash buttons.(slider type) When I upload the site to my server ,
you have to click each button one time before the flash starts
working. If I remember correctly, when I first started adding
buttons, the properties at the bottom had 2 check boxes on the left
hand side to continouisly play the flash. I do not have those check
boxes now. I opened the buttons in flash and everything works fine
in flash. If I hit the play button(in properties) the flash will
work correctly until you preview in browser.
I'm an amatuer at best with this stuff so any help at all
would be extremly appreciated. You can see what I mean on my web
site. It is www.brtguitarsllc.com
I didn't know what place was the correct place to post, so I
posted in 2 fourms.Answered on the DW forum.
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
==================
"BRT Guitars" <[email protected]> wrote in
message
news:f1ptf1$h6b$[email protected]..
> Any help on this matter is greatly appriciated. This is
probably a stupid
> question but it is driving me nuts.
>
> I was updating my site in dreamweaver and I added a
bunch of flash
> buttons.(slider type) When I upload the site to my
server , you have to
> click
> each button one time before the flash starts working. If
I remember
> correctly,
> when I first started adding buttons, the properties at
the bottom had 2
> check
> boxes on the left hand side to continouisly play the
flash. I do not have
> those
> check boxes now. I opened the buttons in flash and
everything works fine
> in
> flash. If I hit the play button(in properties) the flash
will work
> correctly
> until you preview in browser.
>
> I'm an amatuer at best with this stuff so any help at
all would be
> extremly
> appreciated. You can see what I mean on my web site. It
is
> www.brtguitarsllc.com
>
> I didn't know what place was the correct place to post,
so I posted in 2
> fourms.
> -
can anyone plz help me code my flash buttons in a drop down
menu, a basic flash button in order to link my pages within
dreamweaver.
now this website has the drop down menu if you look at the
top, i know how to create everything buttons,dropdown menus in
flash but somehow i cannot get the buttons to link to my webpage
within dreamweaver i tried
the actionscrip
On(Rollover)}
getURL("Page")}
but it doesn't work for my webpages but it does work to
external pages like google.com
noW, i know there is way to create this drop down menu or
button thats why this page has it, im trying to make my website for
my school and i would love to know how to code it. plz
help..thanksunless your publishing for flash 6 or earlier, flash is
case-sensitive and your code is incorrect. that should be:
on(rollOver){
getURL("Page.html"); // assuming Page.html is correct.
} -
Adding payPal shopping cart to a Flash website?
Hi there,
I'm a newbie, creating my first flash website and my first shopping cart, so be easy on me.
I've done a lot of research, however was unable to find any tutorials on how to set up a Paypal shopping cart or any other secured shopping cart in a website that was created in Flash professional CS5, actionscript 3.0. Paypal's tutorial is only for html (copy/paste the code in your html website and voila) but how to integrate shopping cart in Flash website? Any help would be appreciated.
This is my first time setting up a cart on a website. I have a "shop" button on my site (see picture below) that I would like linked to an external page preferably with my items that I would like to sale. Not sure if paypal's shopping cart can do what I want it to do. Once the user clicks on the "Shop" button, I'd like for my customer to be able to see a picture of the items I have for sale, price for each item, a box where the buyer can write quantity of item desired, add to cart button and then check out button. With paypal shopping cart, can I add pictures beside each item I am selling when entering the price on paypal's website or I have to add the pictures of the items I am selling directly in my shop section of my website and add a buy now button for each individual item and then copy/paste the email link provided by Paypal to each of my buy now buttons and add that code to my "Actions" layer within Flash? How would the script look like? And what if later on I want to add additional info to an item, change price or delete it completely...would I have to make the changes everytime within paypal only or I'd have to make the changes on both paypal and my flash file and upload new copy to server? I'd like for my cart to integrate with my site (keep the same look and feel, same layout/background color) preferably but what ever way is the easiest. Thanks for your help.Any source that provides embed code to add to your webpage should work. So in other words if E-Junkie provides the HTML code that you simply embed in your own code it will work. If it requires a certain plugin be installed it may or may not.
-
I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcome page and all I get is the code. No button. Can you help me?
OT
-
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:
-
How to copy and pasted PayPal code and Buy Now Buttons on my iWeb Home page? New to iMac and first time to put up web site. May update to iMac 09 to upload web site material.
FYI---This is what I learned and did. Put up new welcome page with PayPal buttons. Looked ok on GoDaddy viewed with Safari. Viewed with Explorer the PayPal buttons were mingled with the text. Same was true when my son viewed with his browser. After a long discussion with a web site designer for major companies I am using GoDaddy's Web Site Tonight. Stopped using iWeb 08'--too many conflicting code problems (my take). I learned from another savvy man to copy my web pages text from word.Mac to Text Editor and then onto the GoDaddy web templates--this to eliminate any code and text problems. Web site www.septicalert.com is now installed on GoDaddy. Have to use browser to locate til search engines do their thing.
Thanks to all who tried to help me. -
Do I need to use additional mobile PayPal code to use a PayPal button on Muse Mobile Site
Hi guys n gals
I have designed a mockup Mobile (Phone) site using Adobe Muse (latest version) and uploaded to business catalyst see here HOME (Only on a Phone).
Under Concert Travel Tickets, I have included some PayPal buttons using the same PayPal code as is on the existing live site (Joomla) here http://halpennytravel.com/index.php?option=com_concertandevents&view=concertandevents&Item id=63
I get an error on the mobile phone site.
However, when I access the PayPay button on my phone using the actual link (from the live Joomla site) using Google or Safari - it works and I am asked for payment.
Could it be that because the phone site is temporarily hosted on halpenny.businesscatalyst.com - that is causing the problem.
Or is there any difference in a PayPal button and code for a Desktop Website or a Mobile Version website in Adobe Muse?
Many ThanksHi
I am afraid, its not possible to have the page name without ".html" extension as Muse by default attach the same extension to every page you create. -
I'm trying to put flash nav button in a template that I built
for a web site. Within 'Inset Flash Button' under Link: I browse
for the .html page that I want to link the button to. When I'm
finished and click 'OK' I get a error message; this is a site
related Link. Please use either an absolute or document-relative
link.
All the .swf (flash buttons) files are in my Template folder
that also houses my main_elements.dwt file.
What an I doing wrong?
ThanksMust you use Flash buttons? You can avoid this problem
altogether by using
ordinary graphic buttons or even CSS styled text. Besides,
there are many
disadvantages to the use of Flash navigation -
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...
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Mike4177" <[email protected]> wrote in
message
news:fp1o44$5ps$[email protected]..
> I'm trying to put flash nav button in a template that I
built for a web
> site.
> Within 'Inset Flash Button' under Link: I browse for the
.html page that I
> want
> to link the button to. When I'm finished and click 'OK'
I get a error
> message;
> this is a site related Link. Please use either an
absolute or
> document-relative
> link.
>
> All the .swf (flash buttons) files are in my Template
folder that also
> houses
> my main_elements.dwt file.
>
> What an I doing wrong?
> Thanks
> -
Say Goodbye to FLASH Buttons?!
Previous posts I've seen on the subject of Flash Button
extensions indicate that these options have been removed in the CS4
version!
One of the MODS wrote:
David Powers(Moderator)December 1, 2008
James, Flash text and Flash buttons were removed for several
reasons. First of all, they were quite primitive in the effects
they created. More importantly, many inexperienced designers used
them without understanding the implications of embedding text and
navigational elements in Flash. Any Flash elements need the user to
have the Flash player embedded in their browser. Although Flash
Player is very widespread, its use is not 100 percent universal. As
a result, such people see no content or navigation if everything is
embedded in Flash elements. If you understand how to use Flash, you
should create such elements in Flash CS4 Professional or Flex.
If this is true then I would like to be the one to decide
whether I should use this option for the Web I'm creating!
I'd really hate to manually have to add these codes into
everypage, and although I've used Dreamweaver since it's first
version, doing this may perhaps get me to re-evaluate whether or
not to switch to MS Expression which will me a hassle but all the
same I will do!
Anyhow, I hope this get's fixed, cause I think all of the
extension options are an important part of the software! Alot of us
have been using the software since it was first released, have
bought numourus extentions for Dreamweaver and I think it sucks
that these options are not included since they have been a major
part of the software from the very beginning!
What I add into the Website is my business and I would think
it would be in Adobes best interest to support the features their
customers use!
Comments anyone? (Please me kind :)CrazyCopyCat wrote:
> What I add into the Website is my business and I would
think it would be in
> Adobes best interest to support the features their
customers use!
This is the point, not that many people use this feature and
keeping it around takes time and effort to make sure it still works
in the new version of Dreamweaver, time and effort that would be
better spent on testing and updating features that are used, as
well as any new features being added.
Remember that noone is pulling the old version of Dreamweaver
off of your system, so you should still be able use the older
version to access the old feature.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
Play sound behavior in CS4 fails to play sound on click of a flash button
For my college coursework I have created several flash buttons to use as track preview images. The button works fine however trying to get the track to play seems an impossibility!
I've inserted the SWF flash button into the place I want it in my table and added the "playsound" behavior to it to try and play the preview - no luck.
The sounds are currently 128kbps MP3s.
Any light into this matter would be much apreciated as i really want this to workYou need to code your MP3 Player in Flash with Action Script.
Check the Flash forums and specify which Action Script version (1, 2, 3) you're using.
http://forums.adobe.com/community/flash
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
Hello all,
I've been having a bit of a hard time understanding how to get a button which I have created in Flash to navigate to the next slide of the PowerPoint presentation which it has been added into. I'm fairly new to Flash, so I believe that this is slightly out of my natural skill range, so hopefully someone will be able to help.
I understand that I somehow need to make use of fscommand in ActionScript, but I'm not sure how I can get Flash and PowerPoint to communicate between themselves. If anyone could write a walkthrough on how to do this, I would be bery grateful.
I'm using Flash MX 2004 7.0 and Powerpoint 2003.
ThanksHi. Why not to make the whole presentation in FLASH? What you have to do is to import all the slides inside FLASH. Then place one by one in the stills and then create the code to make the stills advance and show the slides by means of the button. The code for the button goes as follows:
on (release) {
nextFrame();
to introduce this code make sure you press the button and no the frame.
Then in order to make the presentation open and cover the screen, no matter how big it is, you need to enter the following code in the first frame:
stop();
fscommand ("showmenu",false);
fscommand ("fullscreen", true);
You will need also a button to quit the aplication. This is the code:
on (release) {
stop();
fscommand ("quit");
Now write all of this in your application and let me know your experience. MamenFLASH$ -
Flash button not showing on page
just new to flash cs3, but have been using dream weaver cs3
for a while now, I am trying to add a flash button to a page its
showing up when i preview it on my own computer, I uploaded all the
files to root folder just cant under stand whats wrong, the site is
http://www.poxh.com in case any one
needs to see code, any help on this would be great
ThanksDavid,
I don't know what that file is. Can you elaborate?
Thanks,
Chris
quote:
Originally posted by:
Newsgroup User
chriscatalano wrote:
> Hopefully this is a simple problem. I've added a Flash
Button via the Insert
> Media -> Flash Button in DW8. Unfortunately the
button does not show up when
> the php page is loaded up to the server. And yes, I did
make sure to upload
> the button file.
But did you upload this file?
Scripts/AC_RunActiveContent.js
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Flash Button not showing on php page
Hi Folks,
Hopefully this is a simple problem. I've added a Flash Button
via the Insert Media -> Flash Button in DW8. Unfortunately the
button does not show up when the php page is loaded up to the
server. And yes, I did make sure to upload the button file. When I
look at the source code from the server, the flash part looks a
little different compared to how it normally looks on a .htm page.
Here's what the 'view source' in the browser shows:David,
I don't know what that file is. Can you elaborate?
Thanks,
Chris
quote:
Originally posted by:
Newsgroup User
chriscatalano wrote:
> Hopefully this is a simple problem. I've added a Flash
Button via the Insert
> Media -> Flash Button in DW8. Unfortunately the
button does not show up when
> the php page is loaded up to the server. And yes, I did
make sure to upload
> the button file.
But did you upload this file?
Scripts/AC_RunActiveContent.js
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
Maybe you are looking for
-
My itunes wont load and i need it because i locked my ipad
Help my itunes wont load and i need it because i had locked my ipad
-
What about iCal event tagging for better event organization ?
Actually, it is possible to create several calendars (e.g., Work, Personal, Kids, ...) to organize your events. Then, you can choose to simultaneously view events of one or many calendars. But what about a more flexible tagging mechanism ? We would b
-
Has anyone used Aperture 2.0 with 8800GT?
Has anyone used Aperture 2.0 with the new 8800GT? I'm about to order a new Mac Pro and wonder if Aperture will get a speed boost with the 8800GT over the HD 2600XT. I've read many times that Aperture is very GPU dependent, but then I've also read, on
-
Disks not visible on StoreEdge 3300
Hello everyone, I have a problem with the new disks mounted to our StorEdge 3300. "sccli> show enclosure-status" lists my new disks (DiskSlot3,DiskSlot4) But "sccli> show disks" don't . And of course i cannot use them. Do you have any idea ? sccli> s
-
Tracking Undelivered E-Mail using UTL_SMTP
I am sending e-mail using UTL_SMTP. If there is any error in the e-mail delivery for e.g. say if the E-Mail bounced etc. then can i capture those events in my code? E-Mail can bounce back for any reason. for e.g. e-mail address is not valid. What all