# \[MX\] Sending variables from PHP to Flash

**URL:** <https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603>\
**Category:** flash\
**Created:** [May 11, 2003, 2:11am UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603 "2003-05-11T02:11:23Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:28pm UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603/21 "2003-06-19T21:28:19Z")

</div>

ok attached is the fla, the html and the swf for the other movie i want to load. G/L

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:31pm UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603/22 "2003-06-19T21:31:40Z")

</div>

page = “contact.swf”;  
\_root.loadMovie(page, 1);

here it imidiatly give an error that it cannot load contact.swf… coz it dozn’t exists, meaning it works

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:37pm UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603/23 "2003-06-19T21:37:39Z")

</div>

**\_root.** loadMovie(page, 1) ?

Dont know why but it works with **\_root.**.

Hmm.

:thumb: Well thanks for all the help every one! :thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:39pm UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603/24 "2003-06-19T21:39:27Z")

</div>

> 

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);

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:43pm UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603/25 "2003-06-19T21:43:14Z")

</div>

But I thought actions in the main timeline were already at \_root .

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:44pm UTC](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603/26 "2003-06-19T21:44:46Z")

</div>

but the action ur using needs to have an target were to load the movie to…

in this case the main timeline… wich is \_root 🙂

[Previous page](https://forum.kirupa.com/t/mx-sending-variables-from-php-to-flash/20603.md?page=1)
