Jump to content


Show php page after transition


  • You cannot reply to this topic
5 replies to this topic

#1 Magnetronkip

    Young Padawan

  • Members
  • Pip
  • 26 posts

Posted 10 February 2007 - 01:58 PM

Oke i am a real noob in flash and got a small problem over here,

When i press the buttons the doors of my project will go open but when the doors are going open you should see the php page, but i dont have a idea on how to do that. Somebody got a tutorial for it? or a sample code when i got that peace of code i can go further with working on the php code. I hope somebody will help me Thanks in advanced!!!!

Code for the button
on (press) {
	play();
}

Transition names
Transition 1
Transition 2

Greetz Dion

#2 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 10 February 2007 - 05:16 PM

Are you trying to load the page inside the Flash applet I take it?

You can look up some tutorials for loading external files into Flash, and use the last frame of the transition to do that action.

#3 Magnetronkip

    Young Padawan

  • Members
  • Pip
  • 26 posts

Posted 10 February 2007 - 06:44 PM

View PostDemonslay, on Feb 10 2007, 11:16 PM, said:

Are you trying to load the page inside the Flash applet I take it?

You can look up some tutorials for loading external files into Flash, and use the last frame of the transition to do that action.
yes in the flash applet.
but when i add a frame after the 2 transitions it wont show me the test.php
this would work i think
loadVariablesNum ("test.php", 0, "POST");

#4 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 10 February 2007 - 06:48 PM

View PostMagnetronkip, on Feb 11 2007, 10:44 AM, said:

View PostDemonslay, on Feb 10 2007, 11:16 PM, said:

Are you trying to load the page inside the Flash applet I take it?

You can look up some tutorials for loading external files into Flash, and use the last frame of the transition to do that action.
yes in the flash applet.
but when i add a frame after the 2 transitions it wont show me the test.php
this would work i think
loadVariablesNum ("test.php", 0, "POST");
You can't actually load a page into Flash, only variables, which is what you are trying to do (loadVariablesNum). You could make a div to overlay your webpage, and set its transparancy to 0, so it would appear to be Flash based. Although browsers such as Firefox aren't very good at handling transparent Flash movies, and would slow it down quite a bit.

#5 Magnetronkip

    Young Padawan

  • Members
  • Pip
  • 26 posts

Posted 15 February 2007 - 09:52 AM

I only need show the some text and some images, so i though i could put it in a swf file and then load it in the main swf file.

i tryed it with this code

on (press) {
	play();
loadMovieNum("contact.swf", 1); 
}




Now my question is, How do i get it in the red cross section?

Thanks in advanced

Regards,
Dion

Edited by Magnetronkip, 16 February 2007 - 08:37 AM.


#6 Magnetronkip

    Young Padawan

  • Members
  • Pip
  • 26 posts

Posted 16 February 2007 - 08:37 AM

Thanks for all your help but i did it on my own. i did it the hard way but there was a easier way

This topic can be locked !





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users