Autor |
Nachricht |
ill
Threadersteller
Dabei seit: 18.04.2004
Ort: -
Alter: -
Geschlecht:
|
Verfasst Di 26.10.2004 11:31
Titel [Flash MX] externes MC zu hauptfim-komunikationsproblem |
|
|
hallo leuts!
arbeite gerade an einer seite:
http://www.illdesigns.ch/html/martindahanukar-test.html
nun komm ich bei einigen sachen nicht mehr weiter!
- wie kann ich das hauptmovie von einem extern geladenen swf steuern?
in dem reingeladenen MC ist ein "back" knopf welcher das externe MC schliessen soll und im hauptfilm zu einem bestimmten bild springen sollte...
müsste doch eine oftgenuzte funktion sein!? wusste aber nicht nach was ich suchen soll...
hab die externen MC zu einer position geladen nicht in ein container!
auch die preloader in den externen MC funzen nicht
versteht jemand was ich meine, hat jemand eine idee?
|
|
|
|
|
shaly
Dabei seit: 19.11.2002
Ort: -
Alter: -
Geschlecht:
|
Verfasst Di 26.10.2004 11:33
Titel
|
|
|
mit _parent?
|
|
|
|
|
Anzeige
|
|
|
digitalremedy.de
Dabei seit: 14.05.2003
Ort: Nürnberg
Alter: 44
Geschlecht:
|
Verfasst Di 26.10.2004 11:37
Titel
|
|
|
Du solltest deinen "externen" MC in einen Leeren MC deines Hauptfilmes laden. Und gleichzeitig einen Button im Hauptfilm machen der wieder zum Ausgangspunkt zurückspringt.
Wenn der Film jedoch nicht eingebunden ist so musst du das über "localconnection lösen ....
|
|
|
|
|
tuxedo
Dabei seit: 10.10.2002
Ort: ~/
Alter: 51
Geschlecht: -
|
Verfasst Di 26.10.2004 11:38
Titel
|
|
|
_level0
|
|
|
|
|
ill
Threadersteller
Dabei seit: 18.04.2004
Ort: -
Alter: -
Geschlecht:
|
Verfasst Di 26.10.2004 11:41
Titel
|
|
|
ok, also die externen MC in ein container (leeren MC) reinladen nicht zu einer position...
werd ich erstmal umbauen!
thanx
|
|
|
|
|
l'Audiophile
Dabei seit: 16.09.2004
Ort: Berlin
Alter: 43
Geschlecht:
|
Verfasst Di 26.10.2004 11:43
Titel
|
|
|
Wie hast du's denn bis jetzt gemacht?
|
|
|
|
|
ill
Threadersteller
Dabei seit: 18.04.2004
Ort: -
Alter: -
Geschlecht:
|
Verfasst Di 26.10.2004 11:49
Titel
|
|
|
bin flash anfänger, habs noch nie gemacht! dachte das kleine zeugs also texte kann ich mit sprüngen lösen und die grösseren sachen extern laden... zu einer position (markierung)
nur will er mir kein externen text reinladen
und die preloader der externen MC gehen auch nicht...
Zuletzt bearbeitet von ill am Di 26.10.2004 11:52, insgesamt 1-mal bearbeitet
|
|
|
|
|
tuxedo
Dabei seit: 10.10.2002
Ort: ~/
Alter: 51
Geschlecht: -
|
Verfasst Di 26.10.2004 11:52
Titel
|
|
|
solltest du deinen content-mc in eine container nachladen, musst du selbstredend
auf den instanznamen selbigen referenzieren, und zwar ausgehend der tiefenebene...
sprich _levelX.mcX....
Zitat: |
_level
Availability
Flash Player 4.
Usage
_levelN
Description
Property; a reference to the root movie Timeline of _levelN. You must use the loadMovieNum action to load movies into the Flash Player before you use the _level property to target them. You can also use _levelN to target a loaded movie at the level assigned by N.
The initial movie loaded into an instance of the Flash Player is automatically loaded into _level0. The movie in _level0 sets the frame rate, background color, and frame size for all subsequently loaded movies. Movies are then stacked in higher-numbered levels above the movie in _level0.
You must assign a level to each movie that you load into the Flash Player using the loadMovieNum action. You can assign levels in any order. If you assign a level that already contains a SWF file (including _level0) the movie at that level is unloaded and replaced by the new movie.
Example
The following example stops the playhead in the main Timeline of the movie in _level9.
_level9.stop();
The following example sends the playhead in the main Timeline of the movie in _level4 to frame 5. The movie in _level4 must have previously been loaded with a loadMovieNum action.
_level4.gotoAndStop(5);
See also
|
Zitat: |
_root
Availability
Flash Player 4.
Usage
_root.movieClip
_root.action
_root.property
Parameters
movieClip The instance name of a movie clip.
action An action or method.
property A property of the MovieClip object.
Description
Property; specifies or returns a reference to the root movie Timeline. If a movie has multiple levels, the root movie Timeline is on the level containing the currently executing script. For example, if a script in level 1 evaluates _root, _level1 is returned.
Specifying _root is the same as using the slash notation (/) to specify an absolute path within the current level.
Example
The following example stops the Timeline of the level containing the currently executing script:
_root.stop();
The following example sends the Timeline in the current level to frame 3:
_root.gotoAndStop(3);
|
Zitat: | _parent
Availability
Flash Player 4.
Usage
_parent.property
_parent._parent.property
Description
Property; specifies or returns a reference to the movie clip or object that contains the current movie clip or object. The current object is the object containing the ActionScript code that references _parent. Use _parent to specify a relative path to movie clips or objects that are above the current movie clip or object.
Example
In the following example, the movie clip desk is a child of the movie clip classroom. When the script below executes inside the movie clip desk, the playhead will jump to Frame 10 in the Timeline of the movie clip classroom.
_parent.gotoAndStop(10);
|
|
|
|
|
|
|
|
|
Ähnliche Themen |
externes pdf im flash projector 6 öffnen
Flash-Projektor spielt externes .flv-Video nicht ab
Flash-Frage: Externes Fenster öffnen und wieder schließen...
externes mc ansteuern
Externes Video in SWF
externes SWF in den Hauptfilm laden
|
|