Forum Moderators: open

Message Too Old, No Replies

iFrames in Flash?

         

jbensous

3:59 am on Jun 14, 2003 (gmt 0)

10+ Year Member



Someone asked me if I could do an iFrame design using Flash MX. I have never done this and I don't think it can be done. Someone please correct me if I'm wrong. can you use iFrames and html code in a flash site at all?

kingkelly

5:18 pm on Jun 14, 2003 (gmt 0)

10+ Year Member



Yesh you can use HTML in FLash files (SWF). How? Beats me... So im sure you can use an iframe, or at least something in flash that looks like that...

Caimin

9:45 am on Jul 2, 2003 (gmt 0)

10+ Year Member



You can use HMTL 1.0 formatting on the text in a textField. You can't use iFrame - but you could use the new scrollPane component that comes with Flash MX, that would give you an iFrame effect.

kingkelly

5:35 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



So you can only use HTML on textfields? what good is that?

Could I use CGI scripts with fLash? like inbed SSI into a flash movie?

Caimin

6:50 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



The point is to be able to more easily format text used in Flash. Flash is a multimedia format, rather than a server side programming substitute. If you need to SSI, iFrame and the rest you'll need to use HTML, CGI, etc.

kingkelly

3:41 pm on Jul 3, 2003 (gmt 0)

10+ Year Member



Yes, but i thought it would look cooler if i can get variables from a cgi script and have them displayed in a flash movie...

Caimin

7:48 pm on Jul 3, 2003 (gmt 0)

10+ Year Member



You can do that but you don't need to use an iFrame or even HTML. In your CGI script have the variables printed in this way:

&var1=value

You can then use loadVariables in Flash to load your variables and display them in Flash.

kingkelly

7:19 pm on Jul 4, 2003 (gmt 0)

10+ Year Member



So i could make a form in flash using a cgi script (add to database), then have each record printed in a table in flash? I dont know if i could get the script to print out the records into flash format.

Caimin

9:31 pm on Jul 4, 2003 (gmt 0)

10+ Year Member



Yes, except that you wouldn't be able to use an HTML table (not HTML 1.0) - but you could make the records list look like a table quite easily.

kingkelly

3:21 am on Jul 5, 2003 (gmt 0)

10+ Year Member



So if the script already prints out something like

<TR><Name: $name , Age: $age></TR>

for each record, how would i replace that to have flash build that into a table?

killroy

9:53 am on Jul 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you use action script to draw something that looks like a table ;)

SN

Caimin

6:20 pm on Jul 5, 2003 (gmt 0)

10+ Year Member



Change your output so that it reads like this:

&record1=<Name: $name , Age: $age>
&record2=<Name: $name , Age: $age>

..etc.

As killroy said, you can use actionscript to fake the look of a table.