Welcome, Guest. Please login or register.
Did you miss your activation email?
05/21/12, 03:36
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)
| | |-+  previewing of an ecard - text doesn't show- solution with pop up!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: previewing of an ecard - text doesn't show- solution with pop up!  (Read 3592 times)
trudiemaria
Server what's that
*
Posts: 7


View Profile WWW Email
« on: 05/05/05, 04:52 »

 Cry
Hey, I like this tutorial very much, and I've come a long way with adjusting it butt want to refine it more and more.
A few pages back there was a description of 'how to make a preview', This works allright, with just one problem:
The text that was typed inn previously, doesn't show on the preview.
The preview file is almost the same as the original Ecard file, I removed the line of code referring to the URL to load the vars.
But the textfields are the same, still there is no text.
Should there be a loadvars somewhere referring to the previous frame (where you typed in all the textfields)?

Could you please help me on this?, I've searched the net for similar themes, but there's nothing there...
And I really would like to have a good working preview.
Sincerely yours,
Trudie
« Last Edit: 06/02/05, 06:03 by trudiemaria » Logged

don't be afraid to be different
trudiemaria
Server what's that
*
Posts: 7


View Profile WWW Email
« Reply #1 on: 06/02/05, 06:01 »

Got no reply to this subject, so I just had to find a solution my self!!
Since I notified that this subject is interesting for others as well, I share my ideas with you!
It might not be the best way, but it works!!

In stead of giving a preview of the chosen ecard in the running swf file,
I make a new pop up window open, with the chosen ecard in it.

My timeline has to frames with the ecards/buttons showed, the third frame is the 'write information scheme' and the fourth gives the feedback of the send message.

On the Ecards invisible button I gave the action:

        on (release) {
   gotoAndStop(2);
   EcardSelect = "1";

In the second frame (actions layer), I gave the action;

stop();
var winAttrib = "width= 500, height= 350, menubar=0,status=0,toolbar=0";
_root.getURL("javascript: void(window.open('Preview"+EcardSelect+".swf"+"','popupWin','"+winAttrib+"'));");
gotoAndStop(1);

This gives you a pop up, with your preview ecard, while the timeline goes to the 1. frame again.

I hope this might be usefull for some of you!
have a nice day!
Logged

don't be afraid to be different
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #2 on: 06/02/05, 06:54 »

Hi trudiemaria !

Thanks for sharing your finds, for sure will be helpful to ohers.

Jorge
Logged

koerperklaus
Server what's that
*
Posts: 2


View Profile
« Reply #3 on: 10/08/09, 10:17 »

Insert in the Preview.fla instead of
loadVariablesNum("http://xxxx.de/ecard/dBText/"+EcardText+".txt",0);

this one:
IntroMessage = _root.IntroMessage;

Thats all!
Logged
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!