Load Swf Into Emtpy Mc On Startup
Why in the world won't this work? I have an empty MC on the stage and nothing else. On the empty MC (named "clip") I have:
ActionScript Code: onClipEvent(load){this.loadMovie("myexternal.swf");}
I've also tried _root.clip and yes I've quadruple checked instance names etc.
What am I missing? I've done this a hundred times and today it doesn't work?
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 01-31-2005, 11:20 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Load Swf Into Emtpy Mc On Startup
Why in the world won't this work? I have an empty MC on the stage and nothing else. On the empty MC (named "clip") I have:
ActionScript Code:
onClipEvent(load){this.loadMovie("myexternal.swf");}
I've also tried _root.clip and yes I've quadruple checked instance names etc.
What am I missing? I've done this a hundred times and today it doesn't work?
Not Load Certain Objects On Startup
Is it possible to not load certain elements of a flash movie when it begins, and if so will this decrease the initial load up tim efor the movie.
I'm using Flashmx and preferably need to stop some picyures loading.
Thx
Load Random Fram On Startup
Hey guys! I want to make a .swf file with 10 pics on 10 different frames. I want it to load a random frame and stop on it everytime it is loaded. I'm sure this is really really really easy. I just can't seem to get it right. I've tried to use
gotoAndStop(random(10)+1);
and it's just loading the same frame everytime... GRRRR
Thanks a ton,
-Peter
Load Multiple XML Files At Startup
The ActionScript 3 XML Basics tutorial at gotoandlearn.com has convinced me to get into AS3. The new XML loading process is so much better in AS3
What I want to do however, is load in more than one XML (each with different structures) at startup. This tutorial is just dealing with one standard RSS feed. I can probably work something out, but i was wondering if anyone can suggest a good way to go about it? I would probably duplicate the code below for every XML file i need to open, but i feel like theres a better way..
This is the AS from the tutorial (ive taken out the listbox and textarea parts):
ActionScript Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoaded);
var xml:XML;
function onLoaded(e:Event):void
{
xml = new XML(e.target.data);
var il:XMLList = xml.channel.item;
for(var i:uint=0; i<il.length(); i++)
{
trace(il.title.text()[i]);
}
}
loader.load(new URLRequest("http://theflashblog.com/?feed=rss"));
Load On Startup/minimize To Tray
Hi, does anybody know if it is possible to create a swf or projector file and have it load on start-up, and also is it possible to minimize swf or projector file to system tray
Many thanks
ORANGE900
External Sound Doesnt Load On Startup In IE
i have a script on a frame at the root of the movie.
// background sound (war environment)
_global.bgsound = new Sound();
bgsound.loadSound("sounds/mp40.mp3");
bgsound.setVolume(100);
bgsound.onSoundComplete = function() { bgsound.start(); }
the problem is, that the sound isnt loading in Internet Explorer. I thought it may have been SP2 causing problems but i went and tested it on school's computer SP1 and it still didnt work. In firefox it works fine, so the AS must be correct (which im positive it is) i just cant work out for the life of me why it isnt loading.
Anyone got any suggestions?
Loadmovie Into Emtpy Mc
I have created a Flash movie where I play a short video(in swf format) in an empty mc. I put it in this empty mc so I can position it at a specific x,y location...it works great.
Now I want to load this movie into another, and again need to place it in a specific x,y coordinate. I can do this too, but what is happening is the video from movie one is not being found nor played. I have everything in the same folder so the path is absolute.
I tried this but it failed: where acq10.swf is the base movie and t1.swf is the video file in swf format. The mc "empty" is a frame in movie 2.
loadMovie("acq10.swf", "_root.empty");
loadMovie("t1.swf", "_root.empty");
Any help? Please bear in mind that I'm a Flash DESIGNER, not a coder (as you can see), so I need a reply that I can understand ;-)
thanks,
John
Flash PHP Email Form Help - Emtpy Values
I've got a swf that has a form inside a movie as follows
_parent.contentMain (an instance of formclip movie)
inside the contentMain I've a form witha submit button with the following code.
===================================
on (press) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
this.loadVariables("email.php", "POST");
}
================================
In the same directory I've got an email.php file with the code as follows. All I get is empty result strings without the actual form variables. Am I a using the loadVariables command wrong?
my server does support php most definately. Cause the email comes through just fine. Just no results in it.
===========================
<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
************************************************* **/
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "andrew@intetech.co.za";
$subject = "CJD Emailer result";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: CJD Website
";
// next include a replyto
$headers .= "Reply-To:andrew@intetech.co.za
";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could send
// email to a hotmail account. (hosting provider settings may vary)
// technically bounced email is supposed to go to the return-path email
$headers .= "Return-path:andrew@intetech.co.za";
// now we can add the content of the message to a body variable
$message = "Gender| " . $_POST["gender"] ." Race| ". $_POST["race"] . "Income| "
. $_POST["income"] . "Buycar| ". $_POST["buycar"] ."Kind of kid| ". $_POST["kindofkid"] ."
";
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
=========================
I Need Some (startup) Help
I'm quite new at Flash5 and I want to try and build my own website annex homepage with it to improve the interface as well as to make it look better. Can anyone tell me how to make a simple flash movie for me to practise? Or does anyone know where to find a site with a good and clear (and simple) explanation of how to make a flashmovie?
The more help you guys and girls can give me, the better...;-)
The only easy day was yesterday...!!!
Startup
Is it possible to make a flash EXE or SWF open when you first start your computer? It's for a joke at work.
_level1 Won't Go To _x & _y On Startup...
As the title suggests, I can't seem to place the movie clip in _level1 on startup.
onClipEvent (load)
{
this.loadMovie("movie.swf",1);
_level1.instance._x=150;
}
this only seems to work if I place it in the enterFrame event. As though the movie isn't quite loaded by the time I set its properties...
I tried onClipEvent(load)... but it doesn't seem to work either...
I don't suppose there is a way to tell if the movie is loaded or an efficient way of placing an instance of another movie on startup?
thanks...
Startup Page
Hi all,
Has anybody any idea if it is possible to set the users (browser) startup page via flash. I want to create a button which onpress sets the users startpage to whatever you want.
I know how to do this with javascript...but how does this work with flash?!
thanks in advance
Natsurfer
XP Startup Question
Run>msconfig>startup
Look at the attached and if anyone knows what the highlighted prog please tell me.
Can't find anything on the web or the MS site, even the chaps at pacs-portal don't know.
Fullscreen At Startup
hello everybody
I made a flash file and published it as .exe, now I want this file to be fullscreen when I want to open it.I know that I can achieve it with the actionscript fscommand('fullscreen','true') but I dont know where to write it,thank you
Startup Code Run
is there any function like onEnterFrame that only happens once?
No Toolbar At Startup...
Well I dunno how it happened but somehow now whenever I open Flash MX 2004 It loads without the main toolbar (paintbrush ect). I know how to get it to appear (that's easy) ctrl+F2 but it always appears in the middle of the screen and I'm using Vista. For those who don't know Flash MX 2004 is not supposed to be compatible with vista and whenever you attempt to move the toolbar Flash immediately crashes!
Is there any way I can get Flash to load with the toolbar at the side of the screen again without having to move it manually?
Startup Error
When I start up flash it gives me the error:
Quote:
The application "Flash 8" cannot be Launched
-10810
Does anybody have any idea how I can fix it or just what it is?
Crash On Startup
I'm running Studio 8 on my work Windows XP machine, which I initially installed for Dreamweaver (which works absolutely fine). Every single other Studio 8 application (Flash, Contribute, Fireworks etc) all crash on startup with varying errors. For Flash, it gets to the "Initialising Fonts" bit and then crashes out. I've done what people in other posts have suggested and removed all non-standard fonts, and run FontDoctor on my system to be sure, but the error still persists.
The errors are different for other applications. For Contribute I get an error saying "The procedure entry point GetProcessImageFileNameW could not be lcoated in the dynamic link library PSAPI.DLL". This error repeats immediately about 15 times, and then the application just disappears (i.e. stops running). Fireworks gets to "Initializing Plugins" and then generates a pop-up window saying "Could not launch Fireworks. An internal error occurred", and then it stops too.
I'm not so fussed about Contribute & Fireworks, but I really want to get Flash working (and I'm hoping they are all linked, hence why I have posted so much non-Flash info here).
I've uninstalled and reinstalled the entire suite several times. I've deleted the data from the "Application Data" and "Local Settings -> Application Data" folders within my profile. I've even tried manually editing the registry (although I can never be sure I got all the keys related to Studio 8), but all to no avail - I get the same errors every single time.
If anyone has any suggestions as to what I can try, I'd greatly appreciate it.
Many thanks in advance.
Mac Startup Preloader?
I would like to make a preloader for an upcomming project. I would like to make a preloader like the startup of a Mac. I mean the little round thing that looks like it's spinning round (with the different shades of grey).
Can somebody help me with it please? I've been trying for a few hours, and I don't get anywhere. It's been a while since I use Flash...
Thanx
Cd Startup Question
Hey everyone,
i'm making a cd portfolio of my work and i need a shockwave player to run on the entering of the cd and to be full screen. Can anyone tell me how to make it run on startup and run full screen?
Thanks alot
matt
Mac Startup Preloader?
I would like to make a preloader for an upcomming project. I would like to make a preloader like the startup of a Mac. I mean the little round thing that looks like it's spinning round (with the different shades of grey).
Can somebody help me with it please? I've been trying for a few hours, and I don't get anywhere. It's been a while since I use Flash...
Thanx
Mac Startup Preloader?
I would like to make a preloader for an upcomming project. I would like to make a preloader like the startup of a Mac. I mean the little round thing that looks like it's spinning round (with the different shades of grey).
Can somebody help me with it please? I've been trying for a few hours, and I don't get anywhere. It's been a while since I use Flash...
Thanx
Startup Animation
Hello Guys I dont know if I can post in this question here but anyway, can anyone just explain to me or give me a link on how to make a startup animation using flash. I am a newbie. I dont even know anything about frames or tweening motion.
Thanks
Variables Not Showing Up On Startup
check this out...
i have one scene...
one mc in that scene...
a preloader checkin it's status...
when downloadin, it displays the progress bar and dynamic text box fields that show the number that adds up everytime a frame is loaded...
the variables don't show... and when the small mc is done downloading, then it shows everything, starts to count and play the mc...
whatta gwan brothers...
whatta dilly?
i have no clue
peace
Change Flashmx Startup
I want to be able to configure things on flash when it starts up besides size and bg color.
I want to have like snap to objects off and and stuff. certain windows open. can someone tell me how?
Movieclip To Play At Startup
hi,
i have a movieclip in the main timeline that is controlled by a button, when it is pressed it plays.
i also want this to play once when the movie is loaded. i have tried a series of statements similar to:
onClipEvent (load) {
_root.homepage.gotoAndPlay("2");
}
on an mc, but it plays only the second frame (the stop action is on the first frame).
can someone please advise why it is not playing the full clip, and offer a solution??? this is driving me mad!
thanks very much in advance.
Steve.
Initializing Data From A Db At Startup
I am sure this is another of those problems that has a very simple answer that I am just not seeing, so I would appreciate any help you folks can offer.
I have a mc called Main.swf that loads another .swf into a holder mc called mcSum. McSum has a button that will load data from a database and display it in the mc. There is a similar button on the Main.swf at the root level that will also load this same data into the mcSum mc. It is used strictly for testing at the moment and will be removed later. These all work fine. When either button is pressed, the data is loaded and displayed in mcSum correctly.
The problem is that I want to have the Main.swf automatically load the mcSum mc at startup and populate the data fields. The Main.swf will load the mcSum mc at startup and display it correctly. However, I cannot get the data downloaded at this point. I have removed the same code from the buttons~{!/~} ~{!.~}onRelease~{!/~} function and placed it in the root timeline along with the following code:
.
.
.
loadMovie("Summary.swf", mcSum);
gettingData = setInterval(checkLoaded, 10);
}
function checkLoaded(){
if (mcSum.getBytesLoaded()>=mcSum.getBytesTotal()){
//trace ("checkLoaded called");
// The following is code from the buton ~{!.~}onRelease~{!/~} function, which works both from the main timeline and from the mcSum mc.
mcSum.onLoad = function(){
//Send these vars to the database
mcSum.XMLDoc = new LoadVars();
mcSum.XMLDoc.Session = thisSession;
mcSum.XMLDoc.sDate = startDate;
mcSum.XMLDoc.eDate = endDAte;
mcSum.XMLDoc.AccountID = AccountID;
mcSum.XMLDoc.CompareTo = Compare;
mcSum.XMLDoc.ShowBy = ShowBy;
// Use this URL when online or testing with live data
//mcSum.XMLDoc.sendAndLoad("LdData.asp", mcSum.XMLResponse, "POST");
// Use this URL for testing. Comment out when not in test mode
//mcSum.XMLDoc.sendAndLoad("LdData.xml", mcSum.XMLResponse, "POST");
//trace ("onLoad called");
clearInterval(gettingData);
};
}
}
Individually, everything works as expected. Together they do not.
Thanks for any help.
Regards,
WTG
Library Panel On Startup?
i use the library panel a lot, and as such id like it to load as a default panel on flash startup. ive saved my own panel set, so i can always get to it by either loading my set or just opening the panel itself, but is there a way to customize the default set flash uses when it opens? i seems to use the last setup you had open as the default one to load with, but for some reason it dosnt load the library. i am using flash mx2004
example: i use the color mixer, align, info, and library as my own panel set. when i load flash it loads the mixer, align, and info panels but not the library.
-thanks
Flash 8 Crashes On Startup
I just got flash 8 and when i start it up, it does 'Reading fonts' and then crashes with 'Program has caused an unknown error and will now be closed by Windows'.
I thought this may be caused by a corrupt font but I have used software to check my fonts and none are corrupt.
Dr Watson log reports Exception number: c0000005 (access violation)
Can anybody help me get Flash 8 working?
Flash CS3 Crashing At Startup
Man. I've never been so disappointed in a company relating to its technical support. First off, I just wrote a new post (few hours ago) about a Flash problem that it crashed during startup. I'm still having this problem. But the big issue now is that my post isn't even listed anymore in the forum? It was there when I posted it. Did you guys at Adobe decide to remove it for whatever reason?
To add to that, I've been on the phone with Adobe 3 times today. And as I write this I've been on hold for 67 minutes. I called the same line from another phone and it says their hours are up. So does this mean I'm holding on their support lines because I called prior to closing and they just left me on hold? Anyone else run into this issue?
Talk about disappointing. But now that I've spoken up about that, I'll leave my post here again in case someone can help me. And I'd sure prefer it if Adobe decided not to remove this post on me.
So anyone out there that can help me I would appreciate it. But the fact that three people from Adobe have not been able to help, it seems it might be a lost cause. I'm running Flash CS3 on a MacBook Pro. I was running it wonderfully for a bit over a month. Last week I clicked on the application to open it up and it crashed on me. I haven't been able to open the application since. I've uninstalled and reinstalled numerous times and have gotten nowhere. I've even done a Clean Uninstall as recommended by Adobe and that didn't work either.
Right now I have a $700 application that I can't even load onto my computer anymore. Please help. And sorry for the words of frustration above.
Thanks
Flash 9 Startup Problem
I am a CS2 user, considering upgrade to CS3. Weeks back I installed trial versions of Photoshop, Illustrator, and InDesign. All work fine. Now deciding to upgrade to the Professional addition, two days ago a downloaded and installed trial versions of Dreamweaver and Flash. The installation appeared to be normal. The problem is that neither of these 'new' programs will start. The hourglass cursor appears a couple of times. The application appears in the Processes list of Task Manager. But no flash screen and the applications never appears, even if I allow it five minutes.
Does anyone have an idea? Maybe you know of something that is causing a conflict? Thank you.
Startup Problems In .fla File
Hi Friends!
Im a newbiw in the flash environment.Having doubts in the flash scripting,Done a sample application of retrieving records from xml and show up in the flash dynamically.But struck of the following issue to move further.(I attached the zip files which contains the .fla and associated file to overlook my sample applaication)
(I) At the run time of .swf (Initially) it show up a blank page,if i clicked the right mouse button and click the option of 100% in the pop up menu.it shows the objects? How to solve this?
(II) Im using Flash-Xml (Retrieving xml contents from the xml file and show up in the flash).At the start it shows the blank page if i pressed the next button it shows the first record,But i would like to view the first record at first of opening the .swf (Im new to flash so dont know about the designing section) (Hereby i attached the .fla to overlook it.)
(III) How to close the flashfile using the command script? (Because after viewing the EXE the user has to navigate to the close button and exit the application) How to solve this?
Startup Text With Fading
I was wondering if someon could help me out I'm using the two version of flash. Flash Mx and Flash MX 2004 at school I wanted to accomplish the following the test comes and increse the sezi and fading at the same time before the other text finish fading and droping down the other comes up. you can follow the following link to see the example
intro page
also I attached the file which I started working on it
Startup Problems In .fla File
Hi Friends!
Im a newbiw in the flash environment.Having doubts in the flash scripting,Done a sample application of retrieving records from xml and show up in the flash dynamically.But struck of the following issue to move further.(I attached the zip files which contains the .fla and associated file to overlook my sample applaication)
(I) At the run time of .swf (Initially) it show up a blank page,if i clicked the right mouse button and click the option of 100% in the pop up menu.it shows the objects? How to solve this?
(II) Im using Flash-Xml (Retrieving xml contents from the xml file and show up in the flash).At the start it shows the blank page if i pressed the next button it shows the first record,But i would like to view the first record at first of opening the .swf (Im new to flash so dont know about the designing section) (Hereby i attached the .fla to overlook it.)
(III) How to close the flashfile using the command script? (Because after viewing the EXE the user has to navigate to the close button and exit the application) How to solve this?
Startup Text With Fading
I was wondering if someon could help me out I'm using the two version of flash. Flash Mx and Flash MX 2004 at school I wanted to accomplish the following the test comes and increse the sezi and fading at the same time before the other text finish fading and droping down the other comes up. you can follow the following link to see the example
intro page
also I attached the file which I started working on it
Tweeking The Panels For On Startup
hello
i wonder if there's a way to make my saved panel layout come up by default instead of mx's own default
can i just overwrite the deafult file?
MX Fireworks Hangs On Startup
On startup, Fireworks MX just started hanging on the beginning blue little screen. I have a PowerBook G4 with plenty of memory and this problem just started with FWMX. Any idea why this is happening? Please help. Thanks!
Startup Problems In The .fla File
Hi Friends!
Im a newbiw in the flash environment.Having doubts in the flash scripting,Done a sample application of retrieving records from xml and show up in the flash dynamically.But struck of the following issue to move further.(I attached the zip files which contains the .fla and associated file to overlook my sample applaication)
(I) At the run time of .swf (Initially) it show up a blank page,if i clicked the right mouse button and click the option of 100% in the pop up menu.it shows the objects? How to solve this?
(II) Im using Flash-Xml (Retrieving xml contents from the xml file and show up in the flash).At the start it shows the blank page if i pressed the next button it shows the first record,But i would like to view the first record at first of opening the .swf (Im new to flash so dont know about the designing section) (Hereby i attached the .fla to overlook it.)
(III) How to close the flashfile using the command script? (Because after viewing the EXE the user has to navigate to the close button and exit the application) How to solve this?
Im expecting your suggestion and peice of snippets to solve this issue.Any help would be highly appreciated.Thanks in advance.
How Do You Stop A Movie Looping On Startup
I have a movie in which I have three static pages which i navigate with a button on each and I want them not to be animated or to move in any &^%&*!£*$ way. But whenever I start them up it goes back in to loop and flashs in between the three pages (great for the epeleptics out there). Can some one tell me how to stop this or should I put my foot through the monitor and give up and this bloody stupid pursuit
help
the once sane MrNiceUK
Making URL Default Startup Page
I know you can have a button to bookmark a page... But is it possible to have a button to make it the default startup/home page when clicked??
(I have seen this in html on pages... and I'm wondering if this can be adapted/incorporated to Flash).
TIA!
FMX - DLL Error On Startup After Removing RoboDemo
I had the RoboDemo Demo with the FLA module, I uninstalled it, now when FlashMX starts it always throws an error about the missing DLL's for it.
Can I get it to stop loading these on startup, or do I have to reinstall it?
Startup Problems With Flash Mx 2004
Flash Editor Error part 1 of 366
Hey anyone know what the heel is wrong wiht flash?
My problem is i have the 31 day trial of flash mx 2004, but i installed and everything and i used it one day but when i clicked on the starup icon it wouldnt load up. if anbody knows how to fix it please post it i need some flashy stuff for my site its dull with out it thanx.
[F8] Browser Issues: Popup And Startup
Got a couple of vague q's, only because I haven't had a chance to try it out on the wild. Creating a page that links to a pop-up html page with an embedded swf.
First question...I noticed in IE 6 there's a dang white border around the SWF and the user has to click the swf (and acknowledge a warning) before interacting with the swf...what's the deal? It's some security thing, obviously, but I don't have that problem with other Flash applet sites.
Second question...and a general one. This popup comes up because someone clicks a link...is this going to be blocked by a pop up blocker? My impression was that blockers mostly blocked pop-ups that don't come from a direct link click. What are ways I can code the html to prevent the blocker from blocking a legit popup?
|