ActionScript 3.0 :: Controling Resizing Of A Swf From Another Swf

Jul 25, 2009

I'm trying to build a site where all the pages are full browser and maintain aspect ratio. I would like to control the resizing from the menu page.The resizing works fine from the page that's being resized but when I try to let the parent swf do that it has issues. Here's what the home page looks like with the controls built in URL...This example is the site it has a menu page that I open the others from I remove the resizing code from the home page and try to resize from menu.swf.[code]

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Controling An External Swf

Mar 30, 2010

I have a site that presently has a preloader @ the beggining but takes too long to load everything. The main section has a sliding menu that triggers various movies containing photos and animations I have decided to extract all of the project items as SWF files and call them when required.The challenge I now have is that previously when an item was selected from from the menu it would send the play head to a new frame that had the the movieclip; this movie had an instance name which enabled me to use the 'close' button embedded in it and send the play head back to the sliding gliding menu.[code]

View 4 Replies

ActionScript 3.0 :: Controling External Swf?

Dec 4, 2005

I have main swf that uses DocumentClass to which I loadanother swf that uses its own class.In main movie there are coupleof buttons that I want to use to load different xml files forexternal swf. When I tried a few suggestions from this forum I got thiserror:

Error #1034: Type Coercion failed: cannot convert
Classes::SlideShow@3a49f239 to flash.display.MovieClip.
at Classes::DocumentClass2/onTravelClick()

View 3 Replies

ActionScript 3.0 :: Controling The Turn Of Action?

Dec 30, 2008

controling the turn of action.

Example: i moved an object a certain distance. once it reaches a distance then it stops.i want to have a button; when you press will allow you to move the object again for the same distance.(what is code to do mthat).....then will need press button to allow it to move again.

View 8 Replies

ActionScript 3.0 :: Controling MovieClip With One Function

Oct 7, 2009

I am working on building an accordion style menu using Tweener. I have 3 movieClips on my stage, I can add a tween to each but I need a little help getting the menu items to end in the correct position. In my code below this line tells the movieClip to move to a position of y=25. Tweener. add Tween(mc,{y:25, time:1});I changed mc to box1 and box2 which makes evey thing move when I click, but how do I set up my function so I can click box1 and it will slide up and then click box2 and it slides up.[code]

View 1 Replies

ActionScript 3.0 :: Controling One Flash Movie With Another?

Nov 11, 2011

For example: I have a graphical interface created in Flash AS3 which is simulating the control of machines on the ocean floor. I have 3D animations that will animate what is happening on the ocean floor when a control element is activated on the graphical interfaceAt the moment I have this happening all in one Flash player window that has been made to look like two windows. One which is the interface...one that is made to look like a small screen showing what looks like video coming in from a camera on the ocean floor.

What I need to be able to do is have the Control Screen as one window, and the animations to appear in another. In this way we can set up two monitors, have the control screen on one (computer monitor), the animations playing on the other (a large plasma connected to the same computer). The animations need to play within a flash shell and the control screen would need to play in a separate shell. So in essence I need to be able to double click on an .exe....two screen will activate showing one screen with buttons that port animations into the second screen which I have positions to play on the larger screen.

View 3 Replies

ActionScript 2.0 :: Controling Separate Swfs?

Mar 8, 2006

ok so i need 2 create one movie that controls a second movie, so i have movie1.swf with a back and forward, and i need them buttons to advance movie2.swf, which is essenialy just a slide show!the movies will run independantly of each other, i do not want to load movie2.swf in movie1.swf! get me?how i go about this, i have been told of listeners, so movie2.swf will listen for a true or false command before it advances on... and movie1.swf will send out the command when the next is pressed??

View 5 Replies

ActionScript 2.0 :: Controling MC Time Line?

Jun 14, 2006

I am wanting to control the timeline of a MC using AS. What I mean is when I click on a movie click and drag right it controls the reverses the MC and when I go left it plays it (but i only want this to happen when I click and drag).

View 7 Replies

ActionScript 3.0 :: Controling Embedded Video?

Jul 4, 2011

is it possible to embed video into swf because i want video to be loaded on beginning(with loader) instead loading from external file and having glitches.

View 2 Replies

ActionScript 2.0 :: Controling External Movies?

Nov 18, 2003

Is it possable to load an external swf file, that is a rotating movie into another file and still control it??example:I have a rotating object which I want to pause and play. I have loaded the rotating object into a window using the loadMovie command. I now want to be able to use the play and stop buttons to control therotation.Because the movie has been loaded into the window from a different location it does not have a path to target the play and the stop command to also tried adding the play and stop buttons on the rotating object movie swf file. They load and are pressable, but dont do anything?

View 1 Replies

Actionscript 3 :: Resizing A Sprite Without Resizing Its BitmapFill (or Its Contents For That Matter)?

Nov 1, 2010

I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:

I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.

From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..

in my library there is an image called 'pattern' and my code looks like this:

stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);

[code]....

View 2 Replies

ActionScript 3.0 :: Smooth Resizing As Opposed Going In And Resizing Every File Manually?

Sep 11, 2009

I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?

View 1 Replies

ActionScript 3.0 :: External File Controling Flash?

Feb 26, 2010

Got a pitcular problem/question and im not sure it is possible. Im creating a project that enables the viewer to access a load of files (Pdf's and doc's) through flash. The problem is, these files will be added to and taken from about 4 times a year and there is anywhere from 2 to 20 folders in each folder containing these files.so What I want to do is have an image that when clicked on opens a new box that has links in it that these links are displayed from an xml or html then I need to have that code tell flash to open another box that has links displayed from another XML of HTML that has the links to the actual files being called.i guess the question is:Can flash be controlled by a link called from out side of flash?

View 1 Replies

AS3 Button Function Controling Another Movieclips Timeline?

Nov 13, 2010

What I am trying to achieve is have one movie clip containing a button control the timeline of another movie clip.I know how to get a button to control the timeline of it's current movie clip, however, getting a button to control the timeline of a seperatef there is a tutorial that someone knows of, or if someone could post a snippet of AS3 showing how a button controls another clips timeline -Re: Question: AS3 Button controling timeline of movie clip.here is the coding I am using too:

but_shows.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
function onMouseDown(event:MouseEvent):void{
_root.mainContainer.gotoAndStop(2);

[code].....

View 1 Replies

ActionScript 3.0 :: Controling An XML Based Scrolling Thumbnails?

Jun 20, 2009

this is my code so far:

[Code]...

View 4 Replies

ActionScript 3.0 :: Add And Remove Child When Controling Multiple Mcs

Mar 29, 2009

I am trying to add and remove three mcs with a single button.It want it so that when it loads one it removes the other. right now it cycles through all three mcs buth then when it goes to cysle through again it throws.[code]

View 1 Replies

ActionScript 2.0 :: Controling Frame Move From Outside Movieclip?

May 23, 2009

I have this function :

Code:
function swapstate(newpage) {
for(var a in nav_left){
if (nav_left[a]._name != newpage) {

[Code]....

As you can see, it's made in order to change the look of a button when clicked and to also show a different look to the other buttons in the same movieclip container.

The problem is that gotoAndStop isn't triggered.

View 3 Replies

ActionScript 2.0 :: Controling Timeline Via Mouse X Position?

May 15, 2005

i want to know if anyone can tell me how to controll the timeline via moving the moiuse in x (left to right basicly i wsant to shocase a sculpture of mine in a seemingly quicktime vr fasion. so i will take lots of images of the sculpture in difrent agles to get the 360 degreemovie. then import intoflash timeline. Then somehow i need a script to control the scrub the timeline images (to create the quicktime vr look )

View 3 Replies

ActionScript 3.0 :: Resizing A Sprite Without Resizing Its Auto-fill?

Nov 2, 2010

I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .

I have an image in my library called 'pattern' and my code is as follows:

ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

[Code].....

View 2 Replies

ActionScript 2.0 :: Button Not Controling Movie Clip Correctly?

Dec 17, 2003

Note the button at the top called portfolio, on mouseover this button should loop through the "mouseover" label section, and when the user takes the mouse off of it it should continue to play through what it has started, and stop at the begining of the mouseover labelhen the user clicks on the button it should play through the "trans" label (only once) and begin to loop at the label section "current" when the user goes to another section, for example, clicks another button besides portfolio, the animation should stop on the label "visited" my code for it to loop looks like this (on the invisible button over the movie clip)

on (rollOver) {
portfolioBtn_mc.gotoAndPlay("mouseover");
}

[code].......

View 2 Replies

ActionScript 2.0 :: Controling A MC's Frame Rate, Speed And Direction?

Jun 1, 2008

I have a embedded video animation clip that I need to control the speed it plays.The animation is of a ball spinning and when its rolls long X access i need the animation to move at the speed of the mc moves and slow down at the same rate.dose anyone know if I can control the frame rate and speed of a mc and the direction which is plays?any other option is to rotate an png but the problem im having with that is: when i import a circle png and brake it apart then remove the extra parts of the image leaving just the circle and have it aligned to the center. when i rotate it and move it along the X access base of the height of the mc it bobs up and down like this still counting the removed parts of the png in the

View 2 Replies

ActionScript 3.0 :: Controling Number Of Ticks Rendered On A Line Chart

Sep 17, 2010

Is there a way to set a fixed number of ticks on a DateTimeAxis?

View 3 Replies

ActionScript 3.0 :: Flash Loading External Swf And Controling From The Main File

Aug 13, 2011

I am loading a swf named ball.swf in the main.fla. the swf is loading but not playing the next frame that i want.[code]

View 1 Replies

ActionScript 3.0 :: Controling Movie Clip Inside Of Movie Clip?

Feb 10, 2009

I was decent at AS2 and now that I am trying to figure out AS3 I am realizing that it is all grown up and I was left in the dust.I am trying to do the most simple thing. I have a movieclip with an instance name of "clip1" with another movie clip with an instance name of "clip2_sub" which is inside of "clip1".all I am trying to do is stop and start the "clip2_sub" movie clip from the main timeline.I know in AS2 you just would do something like clip1.clip2_sub.stop(); I am trying to figure out why this doesnt work in AS3. I get the error of 1120:Access of undefined property clip1

View 2 Replies

ActionScript 1/2 :: Resizing From Xml?

Mar 7, 2010

I'm loading in external images from XML, but they are coming in way too big; i have resized the actual images to the size i want them yet they still come in huge

function drawItem() {
coverImage.loadMovie(mediaFolder + currentNode.childNodes[2].firstChild);
coverImage.width = 600;

[code]....

View 1 Replies

IDE :: Browser Resizing The Swf?

Jan 23, 2009

I have a stage of 600x400 and in the publish settings I chose this same width and height (with pixels dimension, and scale: No Scale).And when I load the swf in a browser:

[URL]

It resizes the swf stage size.(I know this because I have a value which is positioned according to the stage width/height, and also because if I choose an opaque windowless I can see that it is bigger than I want it to be)Am I loading the .swf wrong?

View 2 Replies

IDE :: CS5 Banner Resizing?

Nov 11, 2011

I have made 1 Flash banner 728x90, the next one has smaller dimensions (468x60) but the proportions are the same so, I duplicated the document, grabbed the movie clip containing the animation and used the transform tool to make it the correct size.Some of the images need replacing as resizing didn't treat them well. But since I am trying to add them to the resized movie clip they appear too small.

View 2 Replies

ActionScript 2.0 :: How To Stop Resizing

Nov 26, 2009

My name is Robbie Lee and I make flash games for a living and recently I've encountered an issue that I was hoping one of you could help me with.In some of my games I use sprites made from jpg, gif or bitmap ect. which look nice when viewed at the correct size (550x400) but when I release the games webmasters often post them at incorrect sizes which causes the pixel based images to distort or look ugly which reflects poorly on my talents.

I want to know if there is anyway that I can code it so that the swf cannot be resized and always displays at 550x400 even if it's put in a window that is larger then that.I use ActionScript 2 and Adobe Flash CS3 Professional.[URL]

View 2 Replies

Resizing Externally Loaded SWF?

Dec 23, 2009

i'm having some "big" issues with what seems like a pretty easy flash concept. But, im pretty green when it comes to coding in flash.

I have a SWF thats being externally loaded into another SWF file (see code below):

on(release) {
loadMovie("test1.swf",_root.dropZone);
}

(If i'm understanding the above code correctly...its loading the SWF into a blank MC i created called dropZone) This part seems to work correctly when tested.

I've got 4 different SWF's that need to be loaded seperatley when its coresponding button is clicked. The issue arises when I import the external SWF file...it resizes itself to the size of the flash stage. I need all the SWFs to be loaded and remain there original size (1257x847) or be scaled to the correct size. Then if I click another button it should load the new SWF and "unload" the old SWF.

View 3 Replies

ActionScript 2.0 :: Resizing The Browser?

Feb 10, 2010

I saw this site in another post and I've noticed this becomming the trend in photo galleries. [URL]When you drill down and open up a photo, the photo resizes with the browser while the rest of the movie elements expand without resizing. I'd love to know how this is done.

On a side note, it used to be impossible to resize a photo cleanly in Flash. Is something being done here or is it just improvements in Flash players?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved