Probably Simple LoadMovie Ques. For JPEGs
I have a target MC that I want to load some JPG's into in my Flash Movie. The Target MC's dimensions are 650x500px. The JPG's are the same. When I attempt to load them, I can notice that something has changed in the tone of the movie clip (I had the target MC a grey color then that color disappears) but the JPG does not load.
I tried a smaller JPG, like 1/4 the size, and it loaded OK. ANyone have a suggestion?
FlashKit > Flash Help > Flash General Help
Posted on: 10-09-2003, 10:40 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Simple AS 1.0 Ques
AS 1.0
I have this code in a keyframe on the main timeline:
var score = 0;
if (score == 2500){trace("winner")}
Othe stage in the maintimeline i have a dynamic text field I labeled "score" in the var box. The instance name is "pts" but i wasnt sure if i needed an instance name anyway here. The score box works fine as far as keeping score but when it reaches 2500, I dont get my trace. What am I missing? Thanks
-Chris
Simple Ques About Blue Border Box
I'm using flash 8. When you draw something or import a picture flash 8 puts the blue border box around it. Well mine is gone. If I draw something and click on it it is a broken shape. How do I get the blue border box back?thanks
AOL Jpegs And Loadmovie
Is anyone out there having a problem with jpegs loading in AOL? I have a slideshow that loads jpegs with the loadmovie action. It works fine in everything else but in AOL it doesn't even try.
I accessed my jpeg directly through the browser and right clicked for the properties. In all other browsers it says Type: jpeg file but in AOL it says Type: ART file.
Is AOL messing with my jpegs? How do I make it stop? Or does my flash slideshow not work on AOL. I thought flash was independent. If you have the player it works, but I guess not.
LoadMovie Jpegs.
What´s the deal with the jpeg feature of loadMovie. I manage to load some jpeg:s while some of my pics just gives me a blank page. I saw somewhere something about nonprogressive jpegs, what´s that?
//tobias
LoadMovie Only Works On Some Jpegs, Why?
I'm trying to load jpegs into my swf dynamically but only certain jpgs work. They are all in the same directory, yet,
loadMovie("image1.jpg",_root.dropZone);
works fine while
loadMovie("hulk.jpg",_root.dropZone);
doesn't work. Will someone please help me its driving me nuts.
-Vin
LoadMovie Problem With JPEGS
I have a one frame movie, with a blank movie clip, instance name bl and a button. The button has the following code attached :-
on (press){
bl.loadMovie("VALIDIMAGEURL");
}
Where VALIDIMAGEURL is what it says! All is fine when I click the button the first time, the image is displayed. When I click the button the second time the image dissapears, when I click a third it re-appears.
Any ideas why this happens and how to go about fixing it? It seems a pointless movie, but i'm looking at having several buttons loading in different images (I've tried it with two buttons loading in different images and the same thing happens, i.e press button one, image loads in, press button two image dissapears, press button two again, new image appears)
THIS IS DRIVING ME MAD!!!!
Any help appreciated.
Richard.
LoadMovie - With JPEGs, F'Player 5
I'm using the loadMovie command to load JPEGs dynamically. It includes a system where the image fades in once it has fully loaded. To do this, I have to check that it has fully loaded before telling the parent clip to increment it's _alpha property.
I'm using:
targetClip.loadMovie("filename"+jpg);
/*
Then there's an enterFrame loop that ends when the image is
fully loaded, and allows the fade in to start:
*/
onClipEvent(enterFrame){
if(loading){
if(targetClip.getBytesLoaded() == targetClip.getBytesTotal()){
loading = false;
}
} else {
//fade in script here
}
}
///////////////////////
//THE ACTUAL QUESTION//
///////////////////////
This works fine on Flash 6 Player, but not on Flash 5 player. I looked in the AS reference, and it says that getBytesLoaded() is only available in Flash 6 player. However, I've only just started publishing for F6 player, and previously all my 'getBytesLoaded()' load bars worked fine on Flash 5 player.
Can anyone clarify what is available for what player, with regards to loading SWFs and JPEGs ? Or otherwise, why isn't this working?
Thanks,
Adrian
LoadMovie JPEGs Don't Appear In FireFox
Guess the title says it all. I have a dynamically-driven array feeding JPEGs to a gallery of (at the moment)about ninety thumbnails.
The FLA itself exports and debugs just fine, and the SWF shows the loaded JPEGs up in Internet Explorer just fine, and also in Opera.
In Firefox the image placeholders are blank. Anyone else have this problem?
[F8] Slow LoadMovie With JPEGS
Yo...
I'm trying to use loadMovie to load external jpegs into an inteface so that they are not all clumped into the main swf and creating a big fat file size.
everything workd from a technical standpoint, but the issue is that they load rather slow so that the wash-in technique i have created is rendered useless b/c the jpegs take about 5-7 seconds to load. even once they have been cached they still take 2-3 sec to load.
any way to code it so that they load faster? like as fast as they do when i test the movie locally on my laptop...or do i have to bite the bullet and have them all in one swf?
the location that the images are being called from is a folder in the holding folder of the swf file.
i.e.
loadMovie('img/image1.jpg',imageLoader_mc);
HELP!
(thanks!)
Fade In JPEGS With Loadmovie Help
Hello and Merry Christmas,
Currently I have this code in my movie:
_root.loadMovie("portfolio1.JPG");
I wish to fade in this picture but am not sure how and after searching the forum
I did not find a useful solution. Thanks for any help!
LoadMovie() Not Loading JPEGs Into MC
I've used loadMovie() often in the short time I've been using Flash. But never to load a JPEG dynamically. For a site interface, I have little thumbnails, which open to new browser windows. This is partly annoying though, as each one opens in it's own window, so the user would have to close a whole bunch of 'em after clicking all those thumbnails. To try to fix this, I read that JPEGs can be loaded at runtime onto the stage. I've already seen the photo gallery tut, but I only require a pop-up window with one image and no left/right buttons, etc. I've tried following the tutorial for the first few steps, making a shape the size I want the images to be, converting it to an MC, and naming the MC instance on the stage. Then, I created a new layer on frame 1 with
Code:
loadMovie("CS_00_1.jpg", _root.picture);
, but when testing it, I see nothing. I've tried a few different things. Before, the fla was in a separate folder, so I had to include "Screens/" in the name. Just in case that was the problem (I didn't get any errors in the Output), I moved it into the directory with the images. I tried absolute and relative addressing. I opened up the image in PS and resized it to the size of the symbol on the stage and made sure it wasn't Progressive (I read in a thread that Flash doesn't load Progressive JPEGs), but still nothing. I even tried loading a file that didn't exist to make sure it was looking in the right place the other times (as it didn't give me any error). So yeah, I'm basically lost, hopelesly If anyone can help (I know this is a basic question, but I've no idea), ta. I'll include the almost empty fla if anyone cares to look at it.
Cheers,
The Red Fall
EDIT: Grr, I thought KirupaForums allowed fla format attachments?
LoadMovie() Not Loading JPEGs Into MC
I've used loadMovie() often in the short time I've been using Flash. But never to load a JPEG dynamically. For a site interface, I have little thumbnails, which open to new browser windows. This is partly annoying though, as each one opens in it's own window, so the user would have to close a whole bunch of 'em after clicking all those thumbnails. To try to fix this, I read that JPEGs can be loaded at runtime onto the stage. I've already seen the photo gallery tut, but I only require a pop-up window with one image and no left/right buttons, etc. I've tried following the tutorial for the first few steps, making a shape the size I want the images to be, converting it to an MC, and naming the MC instance on the stage. Then, I created a new layer on frame 1 with
Code:
loadMovie("CS_00_1.jpg", _root.picture);
, but when testing it, I see nothing. I've tried a few different things. Before, the fla was in a separate folder, so I had to include "Screens/" in the name. Just in case that was the problem (I didn't get any errors in the Output), I moved it into the directory with the images. I tried absolute and relative addressing. I opened up the image in PS and resized it to the size of the symbol on the stage and made sure it wasn't Progressive (I read in a thread that Flash doesn't load Progressive JPEGs), but still nothing. I even tried loading a file that didn't exist to make sure it was looking in the right place the other times (as it didn't give me any error). So yeah, I'm basically lost, hopelesly If anyone can help (I know this is a basic question, but I've no idea), ta. I'll include the almost empty fla if anyone cares to look at it.
Cheers,
The Red Fall
EDIT: Grr, I thought KirupaForums allowed fla format attachments?
Loading Jpegs With Loadmovie
Hello-
I am using the following code to load a jpeg:
on (release) {_root.createEmptyMovieClip("clip1",100);
clip1.loadMovie("pickoweek.jpg");
clip1._x = 100;
clip1._y = 100;
}
It works when I test the movie, but not when I test the page in Dreamweaver. i.e., it only works in an individual flash player window, and not in a browser window....
Why is this?
Unable To Load Certain Jpegs Using Loadmovie
I have a weird problem using loadmovie to load jpeg files into flash. For some unknown reason, some jpegs will load into Flash while others will not. As far as I can tell there is nothing to distinguish between the jpegs. Are there different types of JPEGs and if so does flash only load certain types?
Setting Up A Loader For LoadMovie JPEGS?
Sorry if the thread title is a little confusing. Here's what I'm looking for help with...
I've been using loadMovie for smaller jpeg images that are used repeatedly throughout different SWF's for a site that I'm working on. I'm doing this for a few reasons... Namely so that it only needs to load once, and then will be instantly referenced between the different SWF files.
This works fine for smaller jpeg images, but I got to wondering; Is it possible to setup a progress bar or some other form of preloader for larger jpeg images. If so, I could see this being an incredibly valuable developmental asset. It would make updating certain sections as easy as swapping out a static image in a directory.
Any insight on my dilemma would be marvelous!
regards,
mike
Loadmovie And Jpegs, Compresion Quality Question
Hi,
when a jpeg is placed you can set it to "use imported jpeg data" or a new compression using the bitmap properties dialog.
I assume when you use loadmovie to load a jpeg flash uses the imported jpegs compression. Is that right?
Also the Bitmap properties box has an "allow smoothing" checkbox which is on by default.
Is any smoothing applied to imported jpegs?
I do not want any
thanks
Mark
Turning Dynamic LoadMovie JPEGS Into Buttons
I am using PHP and XML to make a dynamic list of pictures. Each picture also has attributes with information concerning that picture. I have successfully loaded these images with the following code:
Code:
for( var x=0; x<Card.length; x++ )
{
loadPic.createEmptyMovieClip("pic" + x, x);
setProperty("loadPic.pic" + x, _x, move);
loadMovie(Card[x].attributes.pic, "loadPic.pic" + x);
move += 25;
}
The above code displays each image 25 px from each other.
Here is the question: Now, I would like to make each of these images a button. When a user clicks on the button a variable changes in _root that contains an attribute I have already set in the XML code.
I tried a couple of things, like looking for something along the lines of createEmptyButton instead of MovieClip but that does not exist.
I have also tried loading a 2nd MC that I have already added a button to and placing it on top of the pictures. However, trying that made the pictures dissappear.
Could someone please lead me in the right direction as to how I could change these loadMovie JPEGS into Buttons? I think I may have been on the right track with the 2nd MC, but I must grossly have the code wrong. This is what I used (placing it below the code above):
Code:
tellTarget("loadPic.pic" + x)
{
this.createEmptyMovieClip("button" + x, x);
this.setProperty("pic.button" + x, _x, move);
this.loadMovie(ButtonMC, "pic.button" + x);
}
XML Simple Preloader For Large Jpegs
I am absolutly kicking butt with the setup for calling jpegs to load into flash through XML (thanks to everyone whose been helping me). My last issue is building a simple preloader for each jpeg that is called through the XML. I'm building a photography site and don't want to have to compress the images too badly if i can get away with it. Seems it shouldn't be that hard, but i'm having trouble finding some examples of preloader for XML online. Anyone have some suggestions? I really don't even need a crazy "filling bar" animation. just a nice percentage loaded display. Thanks!
LoadMovie SIMPLE Question For Simple Minded Graphic Artist
OK! So this will be EASY EASY for all of you.
I need to load a seperate SWF file onto the stage on a level above the main swf.
the seperate SWF file is in the same folder as the original all located in the "flash" folder of the root directory.
How do I get th e outside SWF to load on top of the movie.
The original movie is called grid.swf the outside movie is called liquid-print.swf
If anyone can help me with giving me the code I'd appreciate it. I really am quite dense when it comes to coding.
Intermittent "Error Opening URL" Problem With LoadMovie For External Jpegs + LoadXML
Hi everyone,
I wonder if anyone has come across this problem before? or if I am doing something wrong? (I've searched the internet, these forums, the documentation and can't find anything of help.)
I'm using Flash 8 for Windows under Linux using Wine - I don't believe the platform is the issue here - feel free to correct me if I'm wrong though!
I'm loading an external image:
var mcLarge = _root.imageMenu_mc.mcLargeImages.createEmptyMovieC lip(id, mcLargeImages.getNextHighestDepth());
mcLarge.loadMovie(this._siteprefix+src);
where, for example:
id = "Boy_CRT01"
src = "assets/boy/CRT01m.jpg"
this._siteprefix = "http://localhost/"
System.security.allowDomain('localhost');
A number of images are added to mcLargeImages movie clip.
Some times this works and other times I get an error, e.g.:
Error opening URL "http://localhost/chateau/assets/products/boy/accessories/thumbs/180x180/CRSC02m.jpg"
The file is definitely there - I can access it with Firefox using the same URL - and the server logs for the request don't show any errors. Equally, this is intermittent and seems to affect random images.
ALSO
In the same block of code, it's affecting XML.load but I've overcome this by trapping the failure in the XML.onLoad() function and retrying the load() again.
AGAIN
In the same block of code, images embedded in HTML occassionally fail to load with the same "Error opening URL".
As I said above, the server logs show the right requests and no errors.
The problem also happens (albeit less frequently) with the compiled swf when working with the Linux Flash 9 plugin for Firefox.
I've just tried it with Flash CS on Mac OS X and the problems still occurs.
TRAPPING THE ERROR
After a digging around, I found that I was able to modify my preloader code to wait until getBytesTotal() != 0.
I found that when an "Error loading URL" occurred, getBytesTotal() was then set to -1, which I could trap and force a retry.
Code:
// check whether we can advance to the next stage
var unknown = 64000;
var total = 0;
var loaded = 0;
for (var movie in this._preload) {
if (typeof this._preload[movie].getBytesTotal == 'function') {
var t = this._preload[movie].getBytesTotal();
var l = this._preload[movie].getBytesLoaded();
if (!t) t = unknown;
if (t < 0) {
t = unknown;
var url = (this._preload[movie].url) ? this._preload[movie].url : this._preload[movie]._url;
this._preload[movie].loadMovie(url);
trace('RETRY: '+url);
}
loaded += l;
total += t;
} else {
loaded += unknown * this._preload[movie].loaded;
total += unknown;
}
}
ANY SUGGESTIONS?
Is this a known problem? A request timeout setting or something?
Any help, insights, comments, etc would be very gratefully received!!!
Thank you.
Adrian
Nav Ques
Hey guys I seem to remember a thread regarding how to make this kinda of NAV :
http://dopepope.com/ntps/Build_onff/
Anyone remember the thread or have a link on a tutorial to dup that kind of load jpg and have the window resize automatically...thanks all
_parent. Ques
im trying to load an external jpg. and the file name of this jpg is the name of the mc 2 levels above the command.
if u dont understand this is thi code im trying to use
Code:
x = _parent._parent._name;
loadMovieNum("x".jpg, 1);
i also tried putting th eparent crap in the load move itself like this
Code:
loadMovieNum("_parent._parent._name".jpg, 1);
and its still not working. any one able to give some advice
AttachMovie Ques
Hi -
I'm using the code below to bring mcs from the Library to the stage. It works fine until I tried to add the x,y at the end.
I thought there was a way to include _x and _y coordinates to the same statement as the attactMovie. Is there?
TIA the correct way to accomplish this.
jl
Attach Code
mc_btn2.btn2.onRelease = function():Void {
attachMovie("Q2WithGame","Q2Game",this.getNextHighestDepth,[_x=45,_y=110]);
};
Stupid Ques
hello new be ere (welsh) i got a prob wanderin if some1 could help im tryin to get a news page that updates ive got this off yahoo
this
so now tryin to use it but flash does ntlike it im prob doin some thing stupidly wrong now on the verge of not botherin
PLEASE HELP
Attaching MC Ques
hi.. anyone out there can give me a tutorial which teaches attaching a MC to another MC?? urgent..
Stupid Ques
hello new be ere (welsh) i got a prob wanderin if some1 could help im tryin to get a news page that updates ive got this off yahoo
this
so now tryin to use it but flash does ntlike it im prob doin some thing stupidly wrong now on the verge of not botherin
PLEASE HELP
Flash Ques
please can you explane me how can I make this file like on this site:
http://www.t-s-k-b.com .You go on this site and press SAKUBA WORKS and then button Painting/Drawing
I would like to make a picture gallery like in Painting/Drawing: So how I can make when the mause on the button to show small image of the picture and when I press the image to open the picture how is on the site(not in a new window)?
Please tell give me advice how could I make it!
thank you
Another Loading Ques
Is it possible to make the movie load let's say... only the 1st 2 frames of movie that has 8?
Button Ques
Ok real dumb ques..I have this animation..u can dl it from here: www.zeroxposur.com/test/nav.fla
So what I want to do is have 5 buttons fade in ..onto the bar as it finishes its animation..but I dont know how to do it.. Can anyone point me in the right direction. Thanks
Easy AS Ques.
ok so I have a flash doc..theres a an MC called target on mainstage that has the entite site in it (doing a fullscreen centered website)..now I have MC nav buttons on the stage (inside target). Inside one of the nav buttons I have a line of AS that says
ActionScript Code:
this.onRelease = function(){
_root.target.loadMovie("bioresume.swf", "loader");
}
Now im not sure If im doing that right..but what i want to happen is; after u release the button, load the ext swf into the empty MC called "loader". But what seems to be happening is it loads the ext swf but everything else on the site disappears. See I originally had this as my AS cause i thought this made sense but it ends up not doing anything:
ActionScript Code:
this.onRelease = function(){
loadMovie("bioresume.swf", "loader");
}
So if anyone knows what I did wrong, much appreciation. Heres the site link if u want a visual:
www.josephsernio.com/test
Easy As Ques.
Ok for some reason the end of this code doesnt work.. on release, i want it to take me to frame 2..and it wont...btw this a movie clip that has button properties through AS:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
gotoAndStop(2);
}
MC Loader As Ques.
im working with the moviecliploader AS..so a button loads an ext SWF and also has a percentage loader .. so on my mainstage i have a loader mc (instance name "loader")and a holder mc (instance name "holder")..heres my AS on the main timeline:
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target,loaded,total) {
loader.percent.text = Math.round((loaded/total) * 100) + "%";
}
mclL.onLoadInit = function() {
loader._visible = false;
loader.percent.text = "";
}
mcl.addListener(mclL);
Now i have another MC that houses about 20 or so buttons..so within the buttons MC i have say this for one of the buttons:
b4sub.onRelease = function() {
_root.loader._visible = true;
_root.mcl.loadClip("LevisCampaign.swf",holder);
And unfortunetly it doesnt to load the ext. swf..did I code the _root incorrectly?
Thanks for your help.
Fscommand Ques
Hi all, I was working with fscommand, when it struck me what FSCOMMAND stands for.
"Future Splash Command"
Can anybody confirm this, or am I mad, lol
Later
ORANGE900
LoadVariables Button Ques
Hello all. I have this code attached to a button calling up a different text file to a dynamic text field and it works fine, except I'm having to hit the button "twice" for it to work. Can't figure out why. Can someone enlighten me please?
code:
on (release) {
scrolltext = scrolltext1;
loadVariables ("scrolltext1.txt", scrolltext1);
}
Thanks in advance
Easy - Pong AI Ques.
Ok just to see if I could do it(never really got into game programming) I tried to make a pong game everything works so far but I have a problem with this:
Flash code:
PHP Code:
onClipEvent(enterFrame) {
if(_global.cspeed == 0) {
}else{
if (this._y != _root.ball._y){
if(_root.ball._y < this._y){
this._y -= _global.cspeed;
}else if(_root.ball._y > this._y){
this._y += _global.cspeed;
}else{
this._y = this._y;
}
}
}
}
The problem is that instead of moving smoothly up the screen it looks like it s shaking up and down really quickly, but I would like it to be smooth.
Please help.
Movie Clip Ques
Hey i just started doing flash yesterday and i am doing a text fade
I made the motion tween and and everything and when i go to control and play everything is smooth but when i go to test movie nothing it just stays the same and doesnt fade :> plz help me
Movie Clip Ques
Hey i just started doing flash yesterday and i am doing a text fade
I made the motion tween and and everything and when i go to control and play everything is smooth but when i go to test movie nothing it just stays the same and doesnt fade :> plz help me
Quick Mask Ques
Im sure this is an easy one.. on the foofighters website http://www.foofighters.com When U click a button that flourish/swashy graphic looks like it is unwinding or growing rather. I would like to get the same effect.. Its obviously a mask of some sort. I know who to mask, im just figuring its a mask that is animated somehow. Anyone have an idea? Appreciate any insight into this. Peace
-R
Quick Actionscript Ques.
Ok so im building a portfolio website and basically if you click on the art image it goes tothe next art image..I have it set up so the art images are buttons and when u click it, it is coded to goto next scene..On one scene however the art image is a movieclip (fading effect)...now how do you write the actionscript so if you click on the movieclip it goes to the next scene? I dk im right but...my guess is to put the MC within a button symbol? But I dk. Thanks guys.
UI Text Input Ques.
Ok so Im making a form in flashmx2004..I drag out onto the stage the UI compnent textinput box..now I want to make this box multiline but it doesnt give me the option to do so. Do I have to make input boxes in a different way?
Motion Guide Ques
Hi all,
Is it possible to create a motion guide, so the object connected to the motion guide is always in the centre of the screen.
What I mean is, if we were trying to go from point A to point B
we could see the full journey of the object travelling along motion guide in the centre of the screen.
A-------->--------->-------->------B
The sort of thing I mean is included, but with no motion guide instead, the car remains in the centre of screen and is able to move around the track which in turns moves the the track below.
Thanks for your time, sorry for the broken language. Hope you can help.
--------------
FLA = MM2004
<> QUICK QUES RE:Positioning After Dupe
Hi Im using a while loop and the dupliacteMovieClip() to dupe a certain number of my Mc's. I want to postion each duped Mc after its created with setProperty but I cant figure out how to do this within the same loop.
It complains in output box:
Symbol=playlist_Mc, Layer=Layer 2, Frame=1: Line 9: Expected a field name after '.' operator.setProperty(_root.playlist."box" + count, _y, vertpos);
Obviously I cant do the <"box" + count> bit, but how else can i do it?
(see code below)
Code:
onClipEvent(load){
var vertpos = 46;
var count = 0;
//create
while(count!=4)
{
duplicateMovieClip(_root.playlist.box, "box" + count, 1);
-->this doesnt work//setProperty(_root.playlist."box" + count, _y, vertpos);
trace(count);
count++;
}
//position
}
-Rich
Pleez Help With Random Keyframe Ques.
I have four different movie clips on four different keyframes (2-5) the first key frame has a clip with an invisible button over it. WHat I would like to achieve is onMouseover of the button in the first frame......I would like the playhead to randomly gotoAndStop on of the other frames (2-5). To give the illusion of random movement. The on mouseout return to the first keyframe. any help greatly appreciated....either a .fla I can study or some AS would be great.
Action Script Ref Code Ques
Hello i keep getting this this action script error when i attempt to render this swf could some one explain what this error message means ......i am not sure what the variables are looking for ....... the version is Flash 8 - the action script is below and the error message is below that.......
#include "lmc_tween.as"
//classes are loaded on this frame
var state:com.collection.State = new com.collection.State(this);
// start program
var main:com.collection.Main = new com.collection.Main(this)
//
bg_img.tween("_alpha",100,1,"linear",.5)
stop()
Error message (below)
**Error** Scene=Scene 1, layer=actions, frame=5:Line 1: Error opening include file lmc_tween.as: File not found.
#include "lmc_tween.as"
**Error** Scene=Scene 1, layer=actions, frame=5:Line 3: The class or interface 'com.collection.State' could not be loaded.
var state:com.collection.State = new com.collection.State(this);
**Error** Scene=Scene 1, layer=actions, frame=5:Line 5: The class or interface 'com.collection.Main' could not be loaded.
var main:com.collection.Main = new com.collection.Main(this)
Total ActionScript Errors: 3 Reported Errors: 3
Action Script Ref Code Ques 2.0
Hello please see this link it is a follow up to the thread i created before....i am stil trying to figure this error out when i generate the flash swf it works but not properly... below is a link to what the swf looks like there are buttons that should show and i get this message (shown below) in the flash error box that says (output) when i hit ctrl+enter to generate the swf.... any suggestions...?
b1,b2,lgText,redText,arrow,a:link,a:hover
yo
http://www.amjaydesign.com/mainCol.html
http://board.flashkit.com/board/showthread.php?t=744878
Loading Clips Into Levels? -quick Ques
Hi, I need a quick bit of code or at least somebody to give me an idea on how to actually have a clip load itelf into a specific level depending on the value of a variable. I want to do this as my duplicateMovieClip() code is putting MC's on higher levels than other elements (other Mc's) in my movie, and one of these elements in perticular needs to be the 'highest'.
I tried using setProperty() as below but it doesnt work, flash complains (I gather it doesnt consider '_level' as a property?)
Code:
setProperty(need2BHighest_Mc, _level, highestLevel);
Any help appreciated
Html Code Inside Flash Ques
I have a client who wants me too put some html inside the flash actionscript. He's not sure it will work and I'm not sure if it's possible or how to do it. Here's the code any suggestions thanks
<form action="/gift/save/1234" enctype="multipart/form-data"
method="post">
<input name="file" type="file" />
</form>
Simple LoadMovie Help
Hi!
I'm trying to better myself ActionScript-wise and so I'd like a little enlightenment on what I think is a pretty common techique. I already know how to load an external .SWF into a level on the main timeline:
loadMovieNum ("mySwf.swf", 1);
That I know. I'm having a little trouble with loading an external .SWF into a MC on the stage. I must be doing something wrong with my syntax. I'm trying this:
onClipEvent (load) {
loadMovie ("mySwf.swf", this);
}
Attached to my containter MC with the external file in the same folder as the main file. But I can't seem to get it to work. I've tried it with either "expression" checkboxes checked and I either get nothing or errors. What is the standard method for doing this? Does the container MC have to be the same size as the external .SWF? Help please.
Thanks,
EC
LoadMovie The Simple Way
why doesn't this work?
there is a simple button on the stage.
on (press, release) {
_root.container.loadMovie("5_gfg.swf");
}
i have a simple button on the stage which is trying to fill up a blank movie also on the stage with the instance name container. the movie which i am trying to call in to the blank movie is 5_gfg.swf.
i thought this was the way to do it. no?
|