Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 07:56
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Recent Tutorial Support
| |-+  Flash Ecards (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis)
| | |-+  Unable to view Ecard
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Unable to view Ecard  (Read 2574 times)
Renwaar
Server what's that
*
Posts: 4


View Profile Email
« on: 08/24/09, 09:36 »

Hi there, I've tried searching the forums but I am unable to find a solution, apologies in advance if this is answered elsewhere.

I have installed the demo (tutorial) files and with a bit of tweaking i have email sending ok, however the link then looks fine but only shows a blank page, I'm pretty sure this is something to do with the way the flash is embedded.

The source is not showing the variables, as below.

Please can anyone advise.

Andy

<HTML>
<HEAD>

<TITLE>Here's your Flash Ecard - from the Flash-dB.com Tutorial</TITLE>

</head>

<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">

<center>

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
 >
 <PARAM NAME=movie VALUE=""> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="" quality=high bgcolor=#FFFFFF   TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
 >
 <PARAM NAME=movie VALUE=""> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="" quality=high bgcolor=#FFFFFF   TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</center>
</BODY>
</HTML>
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #1 on: 08/24/09, 10:12 »

did you check, that the data files are created ok?

Could you give a life link to where it is installed?

I am pretty sure it is a rights problem Wink
Logged

happy flashing
Cool
Ronald
Renwaar
Server what's that
*
Posts: 4


View Profile Email
« Reply #2 on: 08/24/09, 10:51 »

Hi Ronald,

Thank you for your super quick response, yes I checked the .txt file was created and it looks ok.

ToName=andy&ToEmail=andy@videoshed.com&FromName=andy&FromEmail=andy@videoshed.com&Greeting=greetings&IntroMessage=messages&Created=Ecard Created on Monday 24th 2009f August 2009 ( 04:46:27 PM )

I have set this up on my server to test, I am finding that the SelectCard.php is not showing any flash, it doesn't seem to be getting variables so not showing the card.

My test area is here. http://videoshed.com/Ecards/ecard_test.html

I have only changed the AS in Ecard2

Thanks for this.

Andy

Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #3 on: 08/24/09, 15:06 »

check your php code - the swf file name and parameters are not inserted.

maybe you are using old php3 coding, but running current php4 or even 5.

Usualy with php4 and up the globals are set to off - so you have to retreive the GET Variables explicte with $_GET['variablename'].
Logged

happy flashing
Cool
Ronald
Renwaar
Server what's that
*
Posts: 4


View Profile Email
« Reply #4 on: 08/25/09, 02:42 »

Thanks Ronald,

This is indeed where the problem lies, I've not worked with php for some time, so all looked ok to me.

I have tried a number of different options, could you just confirm what I need to change as I am still having problems, from what you told me I assumed that I would just need to change SelectCard.php...

to  <PARAM NAME=movie VALUE=<? print $_GET["goto"];?>>

Am I missing something as I am still not getting the variables.

Thanks Again.
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #5 on: 08/25/09, 04:27 »

the variables you are receiving are EcardText and ENum.

So you have to retreive them with $_GET function.

You can do this:

$ENum=$_GET['ENum'];
$EcardText=$_GET['EcardText'];

This should be doing it, if you didnt make any further changes to the php script.

Be aware of phps capability to see the difference between capitalized and non capitalized letters in variable names !
Logged

happy flashing
Cool
Ronald
Renwaar
Server what's that
*
Posts: 4


View Profile Email
« Reply #6 on: 08/25/09, 06:26 »

My thanks for your help Ronald, this is sorted.

Best Wishes
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #7 on: 08/25/09, 08:59 »

keep on flashing Cheesy
Logged

happy flashing
Cool
Ronald
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything