473,508 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

resetting the size of SWF's in a Container

2 New Member
Hello everyone,

I am faily new to scripting and have come up againstmy first problem

I have a slight problem trying to resize a swf which is in a Container (loader)

ok so here is what I have.

On stage there is my container which loades swf files from an extern folder. At the press of a couple of buttons you can zoom in, out, move up down and so on.
What I also need is a btn which resizes and re-positions my swf to the original setting.
I just do not seem to be able to get round this problem.

thanks,
Ian
Feb 5 '08 #1
1 1878
coniston
2 New Member
ok,

i have managed the problem. Was easy in the end.

on (press) {
this.onEnterFrame=function(){

this.video_mc._xscale = 100;
this.video_mc._yscale = 100;

this.video_mc._x = 0;
this.video_mc._y = 0;


}
}
Feb 5 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1771
by: Laphan | last post by:
Hi All This sounds such a simple request, but doesn't seem to work. Basically I'm allowing the user to upload their own SWF files to their web site via a web browser (ASPupload). I don't...
2
13564
by: dnc28 | last post by:
Hi! Have a look at these sites. http://www.untitledstudio.com/flash.htm http://www.uniform.net/index2.html Both these sites have a Flash .swf file embedded into a HTML webpage.
1
2958
by: Andrew Poulos | last post by:
With "normal" SWF HTML there's an EMBED tag nested within an OBJECT tag. How can I check which tag is actually displaying the SWF? I'm using CSS on them and the style on the OBJECT affects the...
1
1151
by: Domingo | last post by:
I have one .SWF with horizontal and vertical size =70%. IE6 browses correctly when I resize the window, and adapts the .swf to fit in the 70% window size. Firefox 2.0 works well with horizontal...
5
3751
by: johnric | last post by:
I can't seem to get firefox to read the image size in my javascript. It will work in IE and firefox but firefox will not read the image size. Can anyone see the problem in my code? I am new to...
6
3958
by: mikes8arms | last post by:
Version: Flash MX (A.S. 2.0) Hello. I haven't posted since signing on a few weeks ago. I've searched your site seeking an answer or answers to the concept of creating a "close button" for my...
2
1781
by: spiralof5 | last post by:
Hi. I must first say I'm not an experienced scripter. Here's my problem and how far I am so far. I struggled for awhile to get the browser to fill most of it with my flash movie and keep it...
2
1476
by: RLN | last post by:
RE: Access 2003 I wanted to turn off right clicking on forms so users couldn't go into design mode and change stuff. I have a special "programmers' form that, when a password is put in, enables...
0
2185
by: suzyq89 | last post by:
Hi there, I'm a newbie with AS2....and i wanted to learn to create a photo gallery that scrolls right or left, and that when you click on the photo it becomes bigger. Well I found a tutorial from...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1544
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.