Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Static object sizes

0 views
Skip to first unread message

Rex the Strange

unread,
Dec 18, 2009, 9:52:11 PM12/18/09
to
Hi all,

I'm creating a flash thingy and I have a criteria that I haven't been
able to find an answer to after much googling -

Imagine that I want an object (probably an image) on my flash thingy
to remain the same size, regardless of how big the embedded flash
object is set to. How can I do this?

For more clarification:

Suppose I set the stage to 400x300 and I put an object on the stage
(probably an image) that is 200x150.

Then, when I embed the flash animation into a web page I set, in the
html, that the animation should be 4000x3000. Naturally, my object
becomes 2000x1500 (I know these are exaggerated numbers, but I'm using
them to illustrate the issue).

Is it possible to say, hey Flash, this object is 200x150 regardless of
how big your stage is reset to? I'm open to suggestions, even
actionscript (perhaps, on load you say to the object - become 200x150
- calculated relative to the final stage size? Just a thought).

tia,
rts

Jenn

unread,
Dec 19, 2009, 4:18:37 PM12/19/09
to
not sure what version of flash you're using... this may or may not work.
This code may work:

Frame Actions panel

Fscommand("allowscale", "false");

--
Jenn (from Oklahoma)


"Rex the Strange" <roger...@widgetinc.com> wrote in message
news:efa41316-a28c-4e20...@g4g2000pri.googlegroups.com...

Rex the Strange

unread,
Dec 22, 2009, 11:57:09 AM12/22/09
to
On Dec 19, 2:18 pm, "Jenn" <n...@noway.com> wrote:
> not sure what version of flash you're using... this may or may not work.
> This code may work:
>
> Frame Actions panel
>
> Fscommand("allowscale", "false");
>
> --
> Jenn (from Oklahoma)

I'm using Flash CS4.

Jenn

unread,
Dec 22, 2009, 7:32:55 PM12/22/09
to
Rex the Strange wrote:
> On Dec 19, 2:18 pm, "Jenn" <n...@noway.com> wrote:
>> not sure what version of flash you're using... this may or may not
>> work. This code may work:
>>
>> Frame Actions panel
>>
>> Fscommand("allowscale", "false");

>


> I'm using Flash CS4.


Rex .. I got that code from my Flash 5 book. Have you tried it to see if
it'll work with your version 4?
--
Jenn (from Oklahoma)


Rex the Strange

unread,
Dec 23, 2009, 12:08:33 PM12/23/09
to

I haven't tried this, yet. Fscommand is available in 4, but I'm not
sure how this works. I'll do some more research on it and will get
back to you. Thanks for your time in helping me with this.

rts

0 new messages