Load flash cast member in the root of flash sprite (is possible?)
load flash cast member in the root of flash sprite, is
possible?
i explain better, the user must download the projector from
internet and i
want protect the swf files include these in one exe
application
this is what my client want
tnanks
"Rob Dillon - Adobe Community Expert"
<[email protected]> ha
scritto nel messaggio
news:[email protected]..
> I'm not sure when or where you would need this
functionality. If you are
> creating a projector, then how are you distributing it?
If you are using
> a CD, then it doesn't matter how many files you have.
>
> If you want to bundle everything together for a
download, then just use
> an installer.
>
> --
> Rob
> _______
> Rob Dillon
> Adobe Community Expert
>
http://www.ddg-designs.com
> 412-243-9119
>
>
http://www.macromedia.com/software/trial/
Similar Messages
-
How can I save a cast member to the hard drive?
Hi,
I am using 'canvas' from the Paintbox library.
I found a line of code on the forum to create a 'new' cast member.
Now, I'd like to save that new cast member to the hard drive.
BuddyApi doesn't have an option to do that, and I haven't had any luck with the Xtras lists I've found.
How can I accomplish this?
Thanks in advance for your assistance,
BigDaddyTo elaborate, this is how you would call the Xtra in your code:
-- create the instance of the xtra
objImg = xtra("ImgXtra").new()
-- get the member's image we want to save
imgToSave = member("foobar").image
-- set the path and filename for the bitmap
strFileName = the moviePath & "foobar.jpg"
-- call the ix_saveImage method, with required parameters
success = objImg.ix_saveImage(["image": imgToSave, "filename": strFileName])
-- returns 1 if successful, 0 if not
if success then
-- something here
else
-- something else here
end
-- clear the xtra object instance
objImg = VOID
The other optional parameters such as format and flags can be set, if you like, and the info can be found in the imgXtra.txt document. -
Hi,
I need to create a dynamic menu for an application. Right
now I am creating every item as a new cast member:
newMember = new(#text)
member(newMember).name = "Item1"
member(newMember).text = "Blabla"
What I would like to do, is have an existing cast member with
the good font, font size, color, etc... and in my lingo script,
create all my new cast members based on the existing one, so I
would only need to change the text it contains and not the color,
size....
It could also be usefull to do this since I could attach a
behavior to the existing cast member and then all my new ones would
have the same behavior attached to them.
I hope this can be done, sorry if it is obvious, I'm in the
process of learning Director and Lingo.
Thanks,
PatHi Pat, and welcome to the list.
As for your question, I'd suggest you work with a single cast
in general,
unless it really helps organizing your project.
Creating members on the fly -as it seems you are doing- is a
much cleaner
approach.
Why don't you create a handler that would accept as arguments
the formatting
options and the member they should be applied to?
Or e.g. two handlers that each would apply some fixed
formatting to a member
that is passed to it.
The less the members, the smaller the project, btw.
> It could also be useful to do this since I could attach
a behavior to the
> existing cast member
I suppose you are talking about cast member scripts, not
behaviors. Another
thing you'd better avoid, since behaviors (scripts attached
to sprites) are
more flexible, receive notifications that script members
don't (like e.g. on
beginSprite), and are designed for oop (a reference to the
script
object -me- is passed as the first argument by the system
when calling
behaviors' handlers).
"PDiLalla" <[email protected]> wrote in
message
news:f97p50$rh1$[email protected]..
> Hi,
>
> I need to create a dynamic menu for an application.
Right now I am
> creating
> every item as a new cast member:
>
> newMember = new(#text)
> member(newMember).name = "Item1"
> member(newMember).text = "Blabla"
>
> What I would like to do, is have an existing cast member
with the good
> font,
> font size, color, etc... and in my lingo script, create
all my new cast
> members
> based on the existing one, so I would only need to
change the text it
> contains
> and not the color, size....
>
> It could also be usefull to do this since I could attach
a behavior to the
> existing cast member and then all my new ones would have
the same behavior
> attached to them.
>
> I hope this can be done, sorry if it is obvious, I'm in
the process of
> learning Director and Lingo.
>
> Thanks,
> Pat
> -
Creating a new instance of a cast member
I want to create an instance of a cast member on stage, that
will not exist as a new member in the cast.
I read some stuff about child objects, but I wasn't
successful in getting it to work.
I also want to be able to create more than one instance, and
to be able to manipulate them separately.
Can someone help?
Thanks a lot,
IsaacThere is a variety of ways to accomplish this ("is" agreeing
with "a
variety" not "of ways"). You can puppet as many sprite
channels as you need
and assign the one cast member to each. Each will function
independently
although any modification to the cast member itself will be
reflected in
each sprite instance.
The following code takes the first cast member in the first
castLib and
places it on the stage 10 times using channels 1-10. It
places the sprites
side by side horizontally. The position is not important but
I showed that
each sprite can be treated independently, in this case by
setting the loc
property. Of course you can do this with any sprite property.
The
significant lines are 2 and 3.
repeat with x = 1 to 10
sprite (x).puppet = TRUE
sprite (x).member = member (1)
xPos = member (1).width * (x - 1) + (member (1).width / 2)
sprite (x).loc = point (xPos, member (1).height / 2)
end repeat
Craig
"ytlevine" <[email protected]> wrote in
message
news:ggk8be$fr7$[email protected]..
>I want to create an instance of a cast member on stage,
that will not exist
>as
> a new member in the cast.
> I read some stuff about child objects, but I wasn't
successful in getting
> it
> to work.
> I also want to be able to create more than one instance,
and to be able to
> manipulate them separately.
> Can someone help?
> Thanks a lot,
> Isaac
> -
Hello:
I need to change images in the stage from the cast member.
The problem is that when I change the image, the previous
image on the stage
appears and quickly the new appears.
How can I desappear the previous image before to show the
new?
Thank you very muchThank you:
The problem is that I am stopped in frame 10 for example, in
this frame I
change the cast member image by Lingo and send the head to
frame 1 and the
image that I had before I see it and then change to the new.
"JB" <[email protected]> escribi� en el
mensaje
news:[email protected]..
> Not understanding exactly what your are doing, one can
temporarily had
> the sprite by setting the blend prop to 0 or by setting
the vidoble of
> >
> A sprite triggered by an on EnerFrame handler could
switch te member
> before the score assigned mbmer makes it's initial
appearance. -
Missing Cast member names in score
Hi,
I'm having a problem with the Score when I open Director.
The names of the members on each sprite don't show up (see image), now I can work around this, but I'm editing someone else's document so locating each cast member on the score is turning into a time consuming and confusing issue.
I'm on Director 2004 MX and I'm fairly new to Director so I haven't found anything in the help files or the forumThank you!
So obvious when you know how
Cheers! -
Can anyone tell me why the %^$& I get a "script cast
member not found"
error?
I've been working in Director for 17 years and I get this
from time to time.
I generally just copy the code from the behavior, paste it
into a new
behavior, name the new one the same as the old on, then copy
the new cast
member over the old one and it solves it. But it happened
rarely enough
that I didn't bother questioning why. I know it's not a
syntax error
because the code runs fine after the above process. But it
does only
happens when I've made a change to the code in that behavior.
Now I'm working with a simple movie with one parent script
and a
prepareMovie handler that instantiates one child object and
I'm getting this
darn error all the time. My above solution isn't working
anymore. The
error points to the first line of a particular handler. That
first line was
a comment. So I got rid of the comment and the new first line
of the
handler is code and the error points to it. If you see where
I'm headding,
no matter how many lines of "errored" code I get rid of the
error alert will
always point to the first line of that handler.
I'm sure many have seen this because it's happened in almost
every version
of Director I've owned. And by the way, I'm in MX on a PC.
Craig Wollman
Lingo Specialist
Word of Mouth Productions
212-928-9581
www.wordofmouthpros.comDean, I might do that. No, this has been going on long enough
that I sure
it's not any definable user error.
But, I did, after all of these years, discover something last
night. In one
case, I did get a legitimate script error that I fixed. When
I ran the
project again, I received the same script error, even though
it was a simple
fix and I was sure I corrected it. I recompiled several times
and ran it
again and received the error again. Then it dawned on me that
since parent
scripts remain in memory until disposed of, Director must
have been, for
some reason, referring to the old parent script. I had
already set the
object's global variable to 0 in my stopMovie handler and
even though that
handler might not always run when errors occur, I ran it from
the message
window to insure that the object's global was 0. But that
still didn't
solve the problem. Then I used clearGlobals in the message
window and
voila, the issue went away. Dare I say that this is a
shortcoming of
Lingo's design to allow variables to persist/linger after an
error?
But what still baffles me is that most of the time when I get
that
particular error,, even though I seemed to have found a
workaround, it is
not an actual issue with any code.
When it happens again, I'll send you the code. Obviously, if
I'm correct
about the scripts lingering in memory, then you won't receive
the error when
you run the movie.
I just find it interesting that there haven't been a bunch of
"Yeah, I get
that darn thing too" here.
Craig
Craig Wollman
Lingo Specialist
Word of Mouth Productions
212-928-9581
www.wordofmouthpros.com
"Dean Utian" <[email protected]> wrote in message
news:[email protected]...
> Hi Craig,
>
> Could it be a simple mistake of the script type not
being properly defined
> (movie/parent/behavior)?
>
> If you have a very baic movie where this error occurs
repeatedly, you
> could
> email me ([email protected]) and I'll take a fresh
perspective look at
> it.
>
> regards
> Dean
>
> Director Lecturer / Consultant
>
http://www.fbe.unsw.edu.au/learning/director
>
http://www.multimediacreative.com.au
>
>
>
> -
Urgent: How to export a Director cast member - in this case it's a flash movie?
Hi there,
I've got a problem - of course, that's why I'm here.
My problem is that in my Director (version 11.5) movie a flash movie is member of the cast list (sorry, I only know the German terms and hope totranslate correctly!). In it's properties there's no source-URL. So it must be "in" the Director film somehow.
Unfortunately the original file went lost. Now I need to have this flash movie as a flash movie, not as a member/ cast. Is there any possibility to get the movie out of Director als a file?
Thanks so much for your help!
Kind regards
JanaHi Sean,
thanks for that hint! I downloaded and extracted the Xtra into the Director Xtra folder. Then I tried to use the function "exportSWF", but it told me the handler is undefined.
Unfortunately I'm a real Lingo beginner and don't know anything about Xtra usage.
I used the following code:
m = member("Player")
exportSWF( m, "/output.swf", TRUE )
I'm sure that line 1 gives me the flash movie as a member, because it is used like that in the code already.
I thought with the Xtra I can simply use the exportSWF-funcion. What else is to do to use it??
Thanks in advance!
Jana -
After upgrading to Solaris 10 "Can't load the root filesystem" on V245
I have a Sunfire V245 that was running on Solaris 9 (very stable). I upgraded to Solaris 10 (6/06) this morning and everything seemed to go smoothly. After the upgrade the system rebooted, but will not boot. I get the following uptput;
Rebooting with command: boot
Boot device: disk File and args:
SunOS Release 5.10 Version Generic_118833-17 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
pxb_bcm: cannot load driver
Cannot load drivers for /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a
Can't load the root filesystem
Type 'go' to resume
"go" attempts to reboot, but I end up back in the same place.
Please help.
Thanks in advanced,
CraigIt seems like the driver for that device does not exist. Since the system installed successfully it means that it S10 did find a disk. I wonder if that was a different disk than the default disk. Please boot to the miniroot and check the disk info.
-
Everything with firefox works ok except Grooveshark. An error message appears saying: We had problems loading flash, you might have any blocker etc etc.
I don´t have any blocker and as a matter of fact i have the latest versions for both mozilla and flash. Neither version of flash test nor reinstallation process nor checking add ons or firewall settings solved my problem.
Thanks for the attention. RegardsTo double-check your Flash permissions for the site, you can click the globe or padlock icon to the left of the address, click More Information, then click the Permissions tab. The "Activate Plugins" section would be the one to check.
I understand you have checked your add-ons, but in case there is an unexpected interaction, could you test the page in Firefox's Safe Mode just to confirm that extensions are not the problem? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using either:
* "3-bar" menu button > "?" button > Restart with Add-ons Disabled
* Help menu > Restart with Add-ons Disabled
''Not all add-ons are disabled: Flash and other plugins still run''
After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
Any difference? -
I'm trying to load flash file in iWeb and when i enter info in the "html snippet" box a "missing plug-in" message comes up (although i have Adobe Flash player installed, if that's the plug-in they're looking for). Anyone have any similar problems or solutions. Thanks
when i publish my site and vew it the page on the web it just comes up with the file name w/ the ,swf and the "mising plug-in" message below. if i click on the file name it displays the flash file but gigantic (the entire height of the page).totally perplexed!
anyway, here is the code.
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0”width=”244” height=”221” id=”ETrade_banner_Gumby_replay”><paramname=movie value=”ETrade_banner_Gumby_replay.swf”><param name=qualityvalue=high><param name=base value=”.”><embed src=”ETrade_banner_Gumby_replay.swf”quality=high width=”244” height=”221” name=”ETrade_banner_Gumby_replay”align=”” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”base=”.”></embed></object> -
Our Band purchased Logic Pro and it was loaded to one member's Macbook Pro. Unfortunately, he passed away with cancer in May. How can we transfer the ownership and the software (it was downloaded) to a new user's Macbook?
Hi Kurt,
The Mac IIci is not even powering on at all. Tried again with wih a tested power cable and no luck.
I think it's best that take this issue to the Older Hardware Community. Not only did I see a fair number of replacement parts for the IIci avaiable online, but there also vintage external floppy drives as well. I'm not giving up.
Thank you for your time and interest in helping. -
Changing the cast member of a sprite
Hi, I have the following code so that when a user clicks on a
shape (acting as a button), it changes the cast member of an
existing sprite called "base" on the stage to an image cast member
called "Italian Lira". However the code does not work, any
suggestions what I have done wrong?
on mouseUp me
currency = "Italian Lira"
sprite("base").member = member(currency)
endThanks for keeping me sane Mike. I've always used a global
list with sprite
assignments so I never had to deal with whether or not the
sprite names
feature worked. But I guess you've dispelled the myth.
Thanks.
I guess we still don't know whether "base" is a sprite name
or mistakenly
and cast member name. I see that we haven't heard back from
pete_484 on
this.
Craig Wollman
Lingo Specialist
Word of Mouth Productions
212-928-9581
www.wordofmouthpros.com
"Mike Blaustein" <[email protected]> wrote in
message
news:enthgu$22c$[email protected]..
> Yes they did. I am not sure why so many people are
saying not to do it,
> because I name sprites in practically every project I do
these days.
> Assuming that you sprite is named correctly, this should
work (I just
> removed the word member in the 2nd line):
>
> on mouseUp me
> currency = "Italian Lira"
> sprite("base").member = currency
> end -
Controll the ROOT timeline from externally loaded movie clip?
does anyone know how to controll the root timeline from an
externally loaded movie clip?
I have loaded a movie clip, which has buttons on it that I
would like to controll the main original website timeline with.
something like this.parent.parent?
thanks a lot
harkyfeedmeapples <[email protected]> wrote:
> does anyone know how to controll the root timeline from
an externally
> loaded movie clip?
>
> I have loaded a movie clip, which has buttons on it that
I would like
> to controll the main original website timeline with.
>
> something like this.parent.parent?
_root.doStuff;
Freundliche Grüße,
Franz Marksteiner -
I can't enter any value in the Text field, after loading flash files
Hi to all,
In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.
While running the application, I can't enter any value in the Text field, after minimize and maximize the application I can enter the values.
This problem happens after change the jre version from 1.6 to 1.7.
I'm getting the following exception while running the application.
org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.jdesktop.jdic.init.JdicManager.initBrowserNati ve(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unkn own Source)
pls give me a solution.
Thanks in advance...:)I can't enter any values in JTextField after loading the flash files., locking.
Maybe you are looking for
-
How to move photos from an e-mail message into a PSE-4 catalog.
I have an Earthlink e-mail message with a large number of photographs that I want to move into my PSE4 catalog but I don't know how to do it. I'd appreciate some definative instructions on how to accomplish this. The photos are in my windows XP comp
-
Music and apps not syncing correctly after updating to iOS 6.1.2
Most of my songs are skipping at random points and some aren't playing at all, and only 2 or 3 play correctly. Also, my apps aren't syncing at all and iTunes keeps saying that they failed to install. Some of the songs skip on iTunes, however most wor
-
Our service just upgraded to 4g. Now my Mac computer will not join the network. It "sees" the network but will not "join"
-
Forwarding L2TP to an internal Windows 2008 R2 VPN server behind RV042
Hi all, we have a Cisco RV042 router and we wanted to use a Win 2k8 R2 VPN server that is located behind it to handle L2TP VPN connections. I have forwarded Ports 500 and 4500 UDP and Port 1701 TCP and UDP to the VPN server, but I cannot establish a
-
Webservice, DAO/Bean Pattern - Help
All, I'm stuck on this one - any help would be much apperciated. I'm trying to expose a CFC which uses a DAO/Bean pattern and am receiving the following error. Could not perform web service invocation "getQuote". Here is the fault returned when invok