Zoom Into External Loaded Jpg
I have a movieclip that loads an external jpg image into it. How can I now add a button to my movie that lets me zoom into it.
FlashKit > Flash Help > Flash Newbies
Posted on: 03-05-2003, 09:10 AM
View Complete Forum Thread with Replies
Sponsored Links:
Zoom In Zoom Out For An External Swf Movie
Hi all,
Just wondering if anybody has done a zoom in and zoom out, as well as panning left to right using the mouse, for another movie (swf) which is loaded externaly. This can be simulated by right-clicking on any swf file, and clicking on the ZOOM IN button, after which the user can drag the entire page of the swf movie. Just wondering if this could be one. I've checked the forum, but I can't find anyhting relevant to my query. Might be 'cause I don't know which key word to use, haha. Thanks again1
View Replies !
View Related
Zoom In Zoom Out For An External Swf Movie
Hi all,
Just wondering if anybody has done a zoom in and zoom out, as well as panning left to right using the mouse, for another movie (swf) which is loaded externaly. This can be simulated by right-clicking on any swf file, and clicking on the ZOOM IN button, after which the user can drag the entire page of the swf movie. Just wondering if this could be one. I've checked the forum, but I can't find anyhting relevant to my query. Might be 'cause I don't know which key word to use, haha. Thanks again1
View Replies !
View Related
Zoom In On Externally Loaded Map From Center
Hey gang! I'm building an xml driven mobile application in Flash and have hit a road block. I'm loading external jpg maps. I've added controls to the maps such as zoom and scroll however these aren't working as I intended. Here's a link to view what I'm talking about.
http://home.aadlcolab.org/staff/pwir...lash_Card.html
So click on map and then zoom in. How do I get it to zoom in from the center? Essentially I'd have to change the registration point correct? Also, do I need to get the bounds to set limitations on how far a user can scroll the map? Ideally I'd like to prevent the user from scrolling off the map. I've searched and looked at numerous maps but haven't be able to find anything I could work from.
Here's some of the code I wrote:
ActionScript Code:
zoom_in_mc.onPress = function(){
_parent.map_loader.map_mc.onEnterFrame = function (){
if (this._xscale >=200){
_parent.map_loader.map_mc.onEnterFrame = null
}else{
this._xscale += 10;
this._yscale += 10;
this._x -= 30;
this._y -= 30;
}
}
}
zoom_in_mc.onRelease = function(){
_parent.map_loader.map_mc.onEnterFrame = null;
}
//*************************************************************
zoom_out_mc.onPress = function(){
_parent.map_loader.map_mc.onEnterFrame = function (){
if (this._xscale <=100){
_parent.map_loader.map_mc.onEnterFrame = null
}else{
this._xscale -= 10;
this._yscale -= 10;
this._x += 30;
this._y += 30;
}
}
}
zoom_out_mc.onRelease = function(){
_parent.map_loader.map_mc.onEnterFrame = null;
}
zoom_out_mc.onReleaseOutside = function(){
_parent.map_loader.map_mc.onEnterFrame = null;
}
//*************************************************************
scroll_right_mc.onPress = function(){
_parent.map_loader.map_mc.onEnterFrame = function (){
this._x += 10;
}
}
scroll_right_mc.onRelease = function(){
_parent.map_loader.map_mc.onEnterFrame = null;
}
scroll_right_mc.onReleaseOutside = function(){
_parent.map_loader.map_mc.onEnterFrame = null;
}
As you can see, nothing extroadinary.
View Replies !
View Related
[F8] Zoom In, External Swf Into Swf, Preloader
I am sorry I am new to flash.
I am having a problem, at the worst time to have a problem ... lol
I need to load an external swf into another swf and have the ability to zoom in and out of it.
The external swf is huge, so I need to include a preloader
The below link shows an example of what I want to do
http://www.gogoat.com/2006/08/07/flash-zoom/#more-20
I have been stuck on this all day.
Either the preloader will not load and skip to the movie,
or
When loading the external swf the file's level will over lap
the zoom tool and I can not use it
So, how do I
1. load an external swf into another swf?
2. keep a preloader for the external swf?
3. load the movie so it is below all the images in the
swf I am loading into
I am assuming there are many ways, any sugestions?
Thanks in advance
View Replies !
View Related
[MX04] E-catalog Zoom In/Out Button To View External Swfs
Hi,
I have done a lot of searching on this site for "zoom" and have not yet found out how to handle zooming from a button outside the target MC.
Here is the basic idea. I have an E-catalog. My navigation panel is in the main swf. I have a container movie clip where the pages will load from external swfs. In my navigation panel, I have zoom tools (in and out). I am fine with the zoom happening at the registration point and then adding scroll bars for the user to see the rest of the page. I would like 2 depths of zoom in and just one zoom out (back to original size). I just don't know how to write the script to make the zoom happen and where to put it (and how to reference the currently loaded swf in the AS). From what I've read, it's not efficient to code the button/mc itself - correct?
Also, my external swfs are raster images, so I am obviously concerned about load times. Would I create seperate swfs for each level of zoom for each page (there are 70-80 pages)? Sorry for so many questions in one post.
Here is an example of the Zoom function I am trying to acheive: http://www.frontgate.com/jump.jsp?it...RY&sku=FG0608A
Any guidance and help would be greatly appreciated.
View Replies !
View Related
Preloader For External Swf That Pauses External Swf Until Completely Loaded
I'm fairly new to all of this stuff, so bear with me . . .
I want to load an external swf into a main swf movie. (This much I can do).
I would like a separate preloader movie in the main swf movie to display the amount loaded.(I've found tutorials for that, so that's not the issue.)
The problem is that I want the external swf not to start playing until it is completely loaded.
If I put a stop on the first frame of the external swf, that will keep it from playing, but, I'm not sure how to get the external swf to recognize that the load is complete.
I could put a preloader in the external swf, but I'm trying not to so that I can reuse the preloader for other external swf files without having to put it in each one.
Maybe I put a preloader without a visual component on each external swf?
Any help would be greatly appreciated.
Thanks.
View Replies !
View Related
Preloader For External Swf That Pauses External Swf Until Completely Loaded
I'm fairly new to all of this stuff, so bear with me . . .
I want to load an external swf into a main swf movie. (This much I can do).
I would like a separate preloader movie in the main swf movie to display the amount loaded.(I've found tutorials for that, so that's not the issue.)
The problem is that I want the external swf not to start playing until it is completely loaded.
If I put a stop on the first frame of the external swf, that will keep it from playing, but, I'm not sure how to get the external swf to recognize that the load is complete.
I could put a preloader in the external swf, but I'm trying not to so that I can reuse the preloader for other external swf files without having to put it in each one.
Maybe I put a preloader without a visual component on each external swf?
Any help would be greatly appreciated.
Thanks.
View Replies !
View Related
CSS File Loaded In External SWF That Is Loaded In
CSS file loaded in external SWF that is loaded in the main SWF
Main SWF:
has an action
load "external.swf" in mc target > "content"
external.swf
has following code:
var myStyle = new TextField.StyleSheet();
myStyle.onLoad = function() {
myText.styleSheet = this;
myText.html = true;
myText.htmlText = myHTML;
};
myStyle.load("name.css");
myHTML = "<p class = 'contentheading'>HEADING</p>"
myHTML+= "<br><p class = 'content'>Text.</p>."
The problem is that the text wont appear in the textfield "myText".
Probally it can't find the "name.css". or maybe something else.
The same problem occurs when the code, that is in external.swf, put in the main.swf but placed in a mc.
Anyone who can solve this?
View Replies !
View Related
A Simple Zoom From Senoculars Advance Zoom-and-pan Script
Hi guys,
I've tried to modify the zoom script on senoculars website to a total simple zoom function.
http://www.senocular.com/flash/source.php?id=0.76
I want to use the slider, but without the pan-function and zooming in on different places on the main window.
Only thing I need is the slider to zoom in on the center of my main movieclip. I need to have a max. and min. _xscale and _yscale...
Can anybody help me out here... It should be pretty simple, but never used the slider thingy before, so I'm all lost here...
thanks
View Replies !
View Related
Zoom Large Image (Stream Enlarge) W/ Pan & Zoom?
I have been scouring google looking for more information on how to zoom large map images with pan functionality.
I found one example of EXACTLY to a T of what I need http://www.veer.com/zoom/
Does anyone know where I can find more information as to the process of loading scaled images on the fly when zooming or what the process is called so I can find the information?
I need to get this working TODAY but have no idea what I am looking for. The map that I am using is quite large, and scale zooming will not do.
Thanks in advance...
View Replies !
View Related
Button Mouseover (zoom-in) Mouseout (zoom-out).. How?
OK, here's what I want to do, I have searched and not found anything on it.
OK, I have a button, and when the mouse goes over it, it snaps closer REALLY fast and has kind of a bouncing effect in and out until it finally comes to a complete rest.
Upon mouseout, it should go back to normal size... and before it comes to a stop, it has a little zoom-bouncing effect a well.
Can anyone help me?
Thanks a lot mates!
View Replies !
View Related
I Want To Make A Map That Can Be Zoom In , Zoom Out , Drag And When You Click Any Loc
hi .. Anyone ! I have a problem in my Flash Actionscript 1.0 , I want to make a map that can be zoom in , zoom out , drag and when you click any location in the map for example you can see this site.>> click on this link ::
,http://www.enjoyshanghai.com/2007big...id=1&childid=1
Hope you will help me for this, I really appreciate your kindness if you help me. Thank you and God Bless .. Attached file is the zoom.fla samples of my work and i want to be like enjoyshanghai/venue finder map..
Anyone could help...plllzzz
View Replies !
View Related
Zoom In And Zoom Out But No Loss In Resolution Of The Image
Hi there,
I am currently in the process of making a flash movie. In the first section of the movie I have three scrollers and there are buttons beside these scrollers to choose which components of the scrollers he/she wants.
Below these scrollers I have a button directing to the next page to see the sum of the three scrollers ie. the final result.
The final result image is rather small and I want to allow the user to see the image in more detail.
I have a zoom piece of code and it doesn't seem to work for me.
Can anyone help me out on this please?
Thanks
View Replies !
View Related
Zoom In And Zoom Out But No Loss In Resolution Of The Image
Hi there,
I am currently in the process of making a flash movie. In the first section of the movie I have three scrollers and there are buttons beside these scrollers to choose which components of the scrollers he/she wants.
Below these scrollers I have a button directing to the next page to see the sum of the three scrollers ie. the final result.
The final result image is rather small and I want to allow the user to see the image in more detail.
I have a zoom piece of code and it doesn't seem to work for me.
Can anyone help me out on this please?
Thanks
View Replies !
View Related
Zoom In - Repeat/delay Zoom?
I'd like an effect where after my preloader finishes the countdown, a static image which was part of the preloader zooms in to a much larger version.
That, I can do.
But what I am having difficulty doing, without frame by frame animation, is what I *really* want. That is, as it zooms in and slightly moves to the side, an 'echo' image or three are shown in its wake. I hope you know what I mean, since I am unsure how best to describe it. I'll try anyway.
Basically, the main image scales up from 10% to 100%, moving from center to stage left. As it does so, every 5th or 10th frame is frozen for a moment, while the main image continues to scale and slide. This would create an after-effect or 'echo' image just behind the main image.
Any suggestions on how to do this with the least amount of manual work?
Thanks!
View Replies !
View Related
Adapting Zoom Code To Use Zoom In And Out
i am using my code at the minute whereby when you click a button it activates a cursor and a function which allows you to click 3 times and with every click it zooms in. but i then want to be able to click a zoom out button which activates a different function whereby you can click 3 times dependant on the state.
below is my code
Quote:
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;
import fl.motion.MatrixTransformer;
{
const TWEEN_IN:String = "tweenIn";
const TWEEN_IN1:String = "tweenIn1";
const TWEEN_IN2:String = "tweenIn2";
const TWEEN_OUT:String = "tweenOut";
var tweenDirection:String;
var internalPoint:Point;
var externalPoint:Point;
var tw:Tween;
zoomBtn.addEventListener(MouseEvent.CLICK, activateZoomIn);
function activateZoomIn(event:MouseEvent):void
{
mapContainer.insideMap.addEventListener(MouseEvent .CLICK, zoomIn);
mapContainer.insideMap.addEventListener(MouseEvent .MOUSE_MOVE,redrawCursor);
function redrawCursor(event:MouseEvent):void
{
Mouse.hide();
mapContainer.zoomInPointer.x = mapContainer.mouseX;
mapContainer.zoomInPointer.y = mapContainer.mouseY;
}
function zoomIn($e:MouseEvent):void
{
mapContainer.insideMap.addEventListener(MouseEvent .CLICK, zoomIn1);
mapContainer.insideMap.removeEventListener(MouseEv ent.CLICK, zoomIn);
internalPoint = new Point(mapContainer.insideMap.mouseX, mapContainer.insideMap.mouseY);
externalPoint = new Point(mapContainer.insideMap.mouseX, mapContainer.insideMap.mouseY);
tweenDirection = TWEEN_IN;
tw = new Tween(null, "", Strong.easeOut, mapContainer.insideMap.scaleX, 2, 1, true);
tw.addEventListener(TweenEvent.MOTION_CHANGE, _syncScale);
tw.addEventListener(TweenEvent.MOTION_FINISH, _cleanTween);
}
function zoomIn1($e:MouseEvent):void
{
mapContainer.insideMap.addEventListener(MouseEvent .CLICK, zoomIn2);
mapContainer.insideMap.removeEventListener(MouseEv ent.CLICK, zoomIn1);
internalPoint = new Point(mapContainer.insideMap.mouseX, mapContainer.insideMap.mouseY);
externalPoint = new Point(mapContainer.insideMap.mouseX, mapContainer.insideMap.mouseY);
tweenDirection = TWEEN_IN1;
tw = new Tween(null, "", Strong.easeOut, mapContainer.insideMap.scaleX, 3, 1, true);
tw.addEventListener(TweenEvent.MOTION_CHANGE, _syncScale);
tw.addEventListener(TweenEvent.MOTION_FINISH, _cleanTween);
}
function zoomIn2($e:MouseEvent):void
{
mapContainer.insideMap.removeEventListener(MouseEv ent.CLICK, zoomIn2);
internalPoint = new Point(mapContainer.insideMap.mouseX, mapContainer.insideMap.mouseY);
externalPoint = new Point(mapContainer.insideMap.mouseX, mapContainer.insideMap.mouseY);
tweenDirection = TWEEN_IN2;
tw = new Tween(null, "", Strong.easeOut, mapContainer.insideMap.scaleX, 4, 1, true);
tw.addEventListener(TweenEvent.MOTION_CHANGE, _syncScale);
tw.addEventListener(TweenEvent.MOTION_FINISH, _cleanTween);
}
function _syncScale($e:TweenEvent):void
{
mapContainer.insideMap.scaleX = mapContainer.insideMap.scaleY = tw.position;
var matrix:Matrix = mapContainer.insideMap.transform.matrix;
MatrixTransformer.matchInternalPointWithExternal(m atrix, internalPoint, externalPoint);
mapContainer.insideMap.transform.matrix = matrix;
}
function _cleanTween($e:TweenEvent):void
{
tw.removeEventListener(TweenEvent.MOTION_CHANGE, _syncScale);
tw.removeEventListener(TweenEvent.MOTION_FINISH, _cleanTween);
tw = null;
if(tweenDirection == TWEEN_IN)
mapContainer.insideMap.addEventListener(MouseEvent .CLICK, zoomIn1);
if(tweenDirection == TWEEN_IN1)
mapContainer.insideMap.addEventListener(MouseEvent .CLICK,zoomIn2);
else if(tweenDirection == TWEEN_OUT)
mapContainer.insideMap.addEventListener(MouseEvent .CLICK, zoomIn);
}
View Replies !
View Related
Zoom In Zoom Out Double Click
Hi guys!, I need help, I have this code that allows you to zoom in and out of any flash clip by double clicking on the screen. It works nicely, however I would like to be able to move around by using the mouse once I am zoomed in, I can do it by double clicking again zooming out and double clicking once more to zoom into a different area, but this gets quite tedious.
the code is the following:
onClipEvent (load) {var clickInt;
var pressed = 0;
function doSingle(mc) {
clearInterval(clickInt);
pressed = 0;
trace("single");
}
myZoom = function (myDepth) {
var k = 0;
var zoom = false;
if (myDepth == "deep") {
myDepth = 4;
} else if (myDepth == "medium") {
myDepth = 8;
} else if (myDepth == "light") {
myDepth = 12;
}
trace(myDepth);
_root.onMouseDown = function() {
pressed++;
if (pressed == 1) {
clickInt = setInterval(doSingle, 300, this);
} else {
clearInterval(clickInt);
pressed = 0;
trace("double");
if (k > 0) {
return;
}
zoom = true;
dir == 1 ? (dir = -1) : (dir = 1);
if (dir == 1) {
pt = {x:_root._xmouse, y:_root._ymouse};
}
}
};
this.onEnterFrame = function() {
if (!zoom) {
return;
}
_root._xscale += dir * k * 50 / myDepth;
_root._yscale += dir * k * 50 / myDepth;
var pt2 = {xt.x, yt.y};
_root.localToGlobal(pt2);
_root._x -= (pt2.x - pt.x);
_root._y -= (pt2.y - pt.y);
k++;
if (k == 8) {
zoom = false;
k = 0;
}
};
};
myZoom("medium");
}
View Replies !
View Related
[F8] Image Viewer And Zoom In & Zoom Out
hi friends,
I have attached two attachments with this.
My Query is.
There are nine images are equally displayed. On mouseover on an image The image will be Zoom Out and and displayed in the page center . The background images are diminished or a black color mask will be appear.
I want to done it in the flash If anyone done such thing. give ur views.how to do.
I want your suggestions and Thanks in advance.,
View Replies !
View Related
Zoom In-Zoom Out World Map By ActionScript
i m trying to make a Zoom In-Zoom Out a world map.What i want when i click on 1 particular part(country) at that time that part(country) will be zoom in,and after that when i click on a samepart(part which is zoom in),at that time its will be zoom out(at original size). is is possible by actionscript? if yes plz,How?plz tell me in details....
Thank u.
View Replies !
View Related
Move & Zoom In, But Wont Zoom Out. - HELP PLEASE
I have 2 scripts, that by themselves work just fine.
The first upon clicking moves items to the correct location.
the second zooms the final item in - action script to 300%. when another button is pushed that item is zoomed back out.
when they are combined for some reason the zoomItem holds the script from zoomIn and uses the settings for zoomOut, but does not zoomOut. It loops back to the zoomIn script. Can anyone see where these scipts are fighting?
View Replies !
View Related
Move & Zoom In, But Wont Zoom Out. - HELP PLEASE
I have 2 scripts, that by themselves work just fine.
The first upon clicking moves items to the correct location.
the second zooms the final item in - action script to 300%. when another button is pushed that item is zoomed back out.
when they are combined for some reason the zoomItem holds the script from zoomIn and uses the settings for zoomOut, but does not zoomOut. It loops back to the zoomIn script. Can anyone see where these scipts are fighting?
It appears that the move and then zoom in loops. The zoom in occrus and then for soem odd reason loops back to the start of the move sequence, but since the action is completed it moves to the zoom in.. which is why the zoom out only briefly works.. it zooms out a bit then loops back the the move script then to the zoom in script, which zooms it back to 300%. I have tried settin up catches and set varibles, but nothing seems to release it.
View Replies !
View Related
Loaded External Image Question: Use Default Image If Loaded Image Not Found?
Hello,
I use the following code to load an external logo into a Flash Movie.
Quote:
var myRequest:URLRequest=new URLRequest(logoPath);
var loader:Loader = new Loader();
loader.load(myRequest);
holder_mc.addChild(loader);
What if the logo file is not find? I wish that if the logo is not found, another default logo will be used, i.e.
if (logoPath is here) {
var myRequest:URLRequest=new URLRequest(logoPath);
} else (logoPath is not here) {
var myRequest:URLRequest=new URLRequest("defaultlogo.png");
}
How can I do that?
Thanks and best regards
Alex
View Replies !
View Related
If External Swf Loaded Do?
hi
i have a external MC's which act like pages in my website which i'd like to maybe preload or better..
only show the button as clickable when that -.swf is loaded
i am guessing the algorithm would be somehing like this from the timeline:
===
if the swf_file is loaded
set button property to yelow
else
set button property to grey
===
or if u know any code that calculates if a .swf has finished loading into a MC
cheers, thanks
View Replies !
View Related
Loaded External Swf
What I am trying to is have a navigational drop down menu on my main.swf and when a user presses the button in the drop down menu it will load an external swf file into a blank movie clip. This is pretty easy. The hard part is targeting the drop down buttons in the main.swf file to target specific frames of the external swf file. I can do this with variables and have been successful but I want an if statement where if looks to see if the swf is already loaded into the empty movie clip, if it is then just gotoAndPlay and specific frame, but if it's not I want it to go to my preload movie clip and then load the external movie.
is there a way to tell what external swf file is loaded into the movie clip? Something like
if _root.emptymovieclip=externalfile.swf;
_root.emptymovieclip.gotoAndPlay("about")
}else{
_root.preload.gotoAndPlay
View Replies !
View Related
How To Tell If External .swf Is Loaded
I would like to load an external .swf from a movie the is loaded in level 1 - into level 2 and once that movie has loaded, unload level 1.
Two questions :
Does unloading level 1 from level 2 unload level 2 too as it was called from level 1??
And is there some simple script to unload level one from level 2 once it has determined level 2 is loaded???
View Replies !
View Related
Cant See External Swf's When Loaded After Another
Hi guys,
The site i'm working on loads seperate swf's to view a picture gallery and also a slide show, on one page i load an external swf for the gallery and on another page i load an external swf to view a slide show.
If i click on the gallery first the gallery will load and look fine, if i then goto the slide show page and load the slide show its does not show and vice versa if i click on the slideshow first the gallery does not show, this works fine when testing the movie in flash but when i view the compiled swf it does not work ??
I've tried lots of different instances of loadMovie etc and i'm using unLoadMovie when leaving each page. I think the swf's might be there but hidden by the other. Should i be using levels to load into.
Help much appreciated !
View Replies !
View Related
Which External Swf Is Loaded?
I have used the Loader UI Component to load external .swf files. I would like to know if there is a code that will determine which .swf file is currently loaded or if none are loaded at all. None of my books seem to address this question nor any internet searches I have found.
Thank you for any help.
View Replies !
View Related
Loaded External .swf
im using the full site tutorial for flash.. and when i click a link an external .swf plays.. how do i set the size for the external .swf? heres the site im workin on.. http://esheclothinginc.com/jon.com/home.html .. the home and bio links are the only ones workin right now.. and they are both http://esheclothinginc.com/jon.com/maincontent.swf .. its so i can see if it works.. it will load correctly and play but the size it very large compare to its file.
View Replies !
View Related
My External Swf Isnīt Being Loaded Where It Should Be, Why?
hi!
tryin to load an external swf-movie into my main swf, thou the swf loaded isnīt being placed where i want it.
so i created a main swf and in that swf i made a new layer and made a rectangle called holder, which holds the different movies being loaded. and then i created a layer made a smaller rectangle called loader which is suppose to load the external swf, but the loaded movie isnīt being loaded into the loader-rectangle, itīs being placed somwhere else in the main swf, i donīt understand why.
am i making any sense? haha...sorry,,,kinda hard to explain. however, here comes the code:
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 = true;
loader.percent.text = "";
}
mcl.addListener(mclL);
mcl.loadClip("news.swf",loader);
View Replies !
View Related
External Swf Loaded And Now?
For explaining my self better, I will give an exemple of what I want to do...
3 files... main.swf, menu.swf, content.swf
The menu.swf is loaded into the main.swf, and what I want is that when I press a button in the menu.swf, the content.swf is loaded into the main.swf
can I do it ??
View Replies !
View Related
Loaded External .swf
im using the full site tutorial for flash.. and when i click a link an external .swf plays.. how do i set the size for the external .swf? heres the site im workin on.. http://esheclothinginc.com/jon.com/home.html .. the home and bio links are the only ones workin right now.. and they are both http://esheclothinginc.com/jon.com/maincontent.swf .. its so i can see if it works.. it will load correctly and play but the size it very large compare to its file.
View Replies !
View Related
Controlling Loaded External Swf's
I'm gettin' really frustrated here. I've been working on this pretty big flash website for months now, and wouldn't you know it, it's too big to load all at once on any connection slower than a DSL (it may work on cable). Even though I shouldn't be letting anyone see it yet, it's here http://www.webxinc.com/new_webx13. Keep in mind, it'll probably never load if you're on a 56k modem, but if you're still interested in seeing it, try putting a number lower than 13 after "new_webx" in the adress (like maybe 8). Anyway, my problem....
I've been trying to split this into separate .swf's that'll load into the main one which contains the intro, main page buttons and backgrounds, and content for the top buttons. The "portfolio" and "about us" sections will each be separate .swf's that load into the main one using the "loadMovie" (or "loadMovieNum") commands and be placed in holding MC (or higher level). So I've tried this by making a separate swf out of the portfolio section and deleting the portfolio part out of the main swf (This is not demonstrated in the currently posted version). I put the "loadMovie" command inside of the fisrt client list button inside of the portfolio section, and in that button's object actions, I also tried controlling movie clips that reside inside of the loaded swf. In the Flash 5 Bible, it says that this can be done by specifying the level of the loaded movie and following it with the instance name and then the command, sort of like how the _root command is used. Here's an example:
_level1.pbg.gotoAndPlay(2);
Here, "pbg" is the instance name.
But this doesn't work. For some reason, the MC's within the loaded swf aren't responding to my commands. I need help!!!!!!!!!!!
please
View Replies !
View Related
Showing How Much Of An External MP3 Has Loaded
I am trying to make a sound player for my website which downloads external MP3s and then plays them (not streaming) and I want to display the percentage of the file which has downloaded while the user is waiting. I've tried everything I know but can't get it to work. Anyone have any ideas?
View Replies !
View Related
Centering External Loaded .swf
hello all,
i understand how to load an external .swf, but i don't want it to be in the left hand corner of my movie
i know that i have to create a movie clip to hold the newly loaded movie, but where do i create the the mc and how??
View Replies !
View Related
If External Loaded - Play
help,
I have a file which loads an external .swf. It should loop in the main timeline until its finished loading this .swf. It works when its viewed locally but not remotely - it carries on playing. It should fade the .swf on when its loaded but it just appears.
i think am using the right code
Code:
loadMovie("ads1.swf", "ads");
_root.ads.stop();
if (_root.ads1.swf._framesloaded == _root.ads1.swf._totalframes) {
_root.play();
_root.ads.play();
} else {
_root.gotoAndPlay (1);
}
i have stripped the .fla down to bare bones so if anyone could take a look i'd be very greatful.
i have tried uploading to space but my servers down so could you leave your email address
thanks
View Replies !
View Related
Control Loaded External Swf How To Plz
i used
loadMovieNum("title.swf", 1);
it loads the movie clip into the movie perfectly.
but now i want to control it, since it has no instance name i dont know how to, basically what i want to do is when i click on the button called home,i want to play frame 4 in the movie clip loaded.
any help would be appreciated very much.
thanx
View Replies !
View Related
Control Of External Loaded Swf
Hello all, new here and a seeking little help.
Scenario:
i'm successfully loading an external SWF inside a blank "holder" MC.
A link to the exact code i'm using is here...
http://www.angelfire.com/electronic2...rentframe.html
(note: not my code, it was shared by a kind member on these
boards in an old post and has been very helpful - big thanks
to catbert303)
What i'd like to be able to do:
1) control the loaded SWF with Pause/Play and Restart buttons.
2) have the SWF auto unload when it reaches the last frame.
3) be able to re-load the SWF again by the original load movie button.
I'm guessing #1 is just a matter of getting the control buttons
to communicate with the loaded SWF (or rather, the blank MC the
SWF is loading into). As for #'s 2 & 3 I'm guessing
an if _currentframe == _totalframes evaluation will sort it out.
Thanks for listening. If you are interested in helping with
this please take a quick peek at the code link provided and
let's work from there as a frame of reference.
Any tips are greatly appreciated.
-Tvu
View Replies !
View Related
How To Cache External Loaded Swf 's ?
Hi all!!
Iīm doing a site entirely in flash and each section has an external .swf attached with loadMovieNum("section.swf", level);
The problem is that I donīt know which is the way to cache the loaded .swfīs in order not to load each movie every time you enter a section.
Iīve been thinking about loading each .swf into a different level and detect with a variable which was the previously active section and make that level invisible until itīs selected again, but Iīm sure there is an easier way of doing this...
Please, I need help. Any ideas?
View Replies !
View Related
How To Cache External Loaded .swf īs?
Hi all!!
Iīm doing a site entirely in flash and each section has an external .swf attached with loadMovieNum("section.swf", level);
The problem is that I donīt know which is the way to cache the loaded .swfīs in order not to load each movie every time you enter a section.
Iīve been thinking about loading each .swf into a different level and detect with a variable which was the previously active section and make that level invisible until itīs selected again, but Iīm sure there is an easier way of doing this...
Please, I need help. Any ideas?
View Replies !
View Related
Recognizing When An External Swf Is Loaded
How do I get the root movie to recognize when an external swf loaded into a target mc has finished loading?
My conditional statement seems to only be able to recognize the target mc, not the external swf.
if (_root.target._framesloaded >= _root.target._totalframes) {
_root.gotoAndPlay(26);
}
Thanks much!
View Replies !
View Related
Recognizing An External Swf Has Loaded
How do I get the root movie to recognize when an external swf loaded into a target mc has finished loading?
My conditional statement seems to only be able to recognize the target mc, not the external swf.
if (_root.target._framesloaded >= _root.target._totalframes) {
_root.gotoAndPlay(26);
}
Thanks much!
View Replies !
View Related
How To Tell The Player It Has Loaded That External Swf Before
this external swf im loading have an animated intro. The problem is i don't want the users to see that intro everytime they come into that area. I just wan't them to see that particular animation one time only.
I had that same problem with the home page. I solved that problem making a second Home page Mc, so whenever a user wanted to go to the home page the button they pressed would load "home2.swf" instead of
the initial home page that had an animation that the user would see for the first time not everytime they went back to the home page.
Thanks for reading my question.
Samito
San Juan , Puerto Rico
View Replies !
View Related
|