Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 05:32
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
|-+  General
| |-+  Flash MX 2004 (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Andresss, papachan)
| | |-+  loadMovie in movieclip "HELP!!!" pls
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Print
Author Topic: loadMovie in movieclip "HELP!!!" pls  (Read 8476 times)
chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« on: 09/12/07, 12:51 »

hello

i am working on a new design for my homepage purly made in flash,
but im not that pro in all the actionscrtipt stuff

so i got a single movie which has the menu of the homepage in it and is loaded via action script into a movie in the next scene.

on (release){
   menu.loadMovieClip("menu.swf");

this.createEmptyMovieClip("menu", 3);


menu._x = 58;
menu._y = 54;
}
on (release){
   gallery.loadMovie("digital_gallery.swf");
   

this.createEmptyMovieClip("gallery", 3);


gallery._x = 158;
gallery._y = 86;
}

just like that but the problem is that the menu keeps on playing .. this means that the animation of all the buttons just plays over and over again ! so my question is that i wanted to know how i do get that to stop ...

please help me!!

thank you

Christian
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 09/13/07, 08:34 »

Add a stop() in the frame where your movie should stay

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #2 on: 09/15/07, 05:59 »

hello again

sorry that it took me so long, but im quite busy these days

http://chriscracker.ch.funpic.de/index.swf

follow that link to see my problem ... and i tried out the stop(); but it doesnt do.
please help me! thanks

http://chriscracker.ch.funpic.de/menu.swf this link is the menu

thanks 4 your help
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #3 on: 09/15/07, 07:18 »

If the animation is a timeline tween, just look at the proper timeline to add the stop. If you use code, post it (nothing related in the code you posted)

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #4 on: 09/17/07, 14:00 »

well .... im sorry but i didnt understand a word you just sad^^

well the menu has only one frame and in that frame in the bottom layer there are the animated buttons in form of movieclips.

so please would you be so kind and explain it a second time what you ment.

thank you very very much

Christian

Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #5 on: 09/17/07, 15:02 »

Double click the MovieClips to edit his timeline, add the stop there.

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #6 on: 09/18/07, 09:55 »

if i add a stop in each MC

the whole menu will function as i want it when i only open it up

but it wont work in combination with the actionscript  loadMovie... there the animations wont play.
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #7 on: 09/18/07, 10:23 »

If you load a movie with a stop in the first frame, the movie stops (in fact that's the way preloaders works) so probably you're missing something

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #8 on: 09/20/07, 12:19 »

okay well i wil work on it

thanks for your great support ^^

*thumbs up*

but now a new question ,

how can i get a html file to open up filled up with the whole flash movie???
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #9 on: 09/20/07, 15:40 »

In menu, File->Publish options, mark the HTML option and flash will generate the HTML for you

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #10 on: 09/21/07, 10:45 »

no i kinda mean like this

http://www.hejz.com/#folio

how do i get  a flash in html looking like this what kinda options i have to select???

thanks a lot#

Chrisitan
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #11 on: 09/22/07, 08:26 »

Basically the page use a 100% div and write there the swobject, study the page source code (knowledge of basic HTML and CSS needed)

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #12 on: 10/10/07, 08:22 »

okay

well i guess that a little to hard for me to beginn with
but i am acctually learning whole bunch of new stuff


so thank you very very much

but i am currently working on a email contact form in flash and php
but i dont know much about php so i got this tutorial which says that
i need to put this:

<?
  & lt ; ? $to = "chrischracker@hotmail.com"
   $msg = "$name\n\n";
   $msg .= "$message\n\n";

  mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>


into a php file
but if i wanna create this php file on my webspace there comes this error:


#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?
  & lt' at line 1


so could you maybe hlep me out there a last time ^^
you would be my personal hero
no oyu acctually already are.

thanks so much for the great and quick support

Christian
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #13 on: 10/10/07, 08:36 »

Use <?php instead

Jorge
Logged

chrisb.net.ms
Server what's that
*
Posts: 18


View Profile WWW Email
« Reply #14 on: 10/11/07, 02:52 »

now i put in this

<?php
   $to = "chrischracker@hotmail.com"
   $msg = "$name\n\n";
   $msg .= "$message\n\n";

  mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>

and then this comes:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php
   $to = "chrischracker@hotmail.com"
   $msg = "$name\n\n"' at line 1
Logged
Pages: [1] 2 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