Scalable Director Projector but keep it in proportion
Hello.
I have found advice for resizing the projector to full screen
the stageColor = the stageColor -- removes the white screen flash!!!
(the stage).rect = (the desktopRectList)[1]
(the stage).drawRect = (the desktopRectList)[1]
but I'm wanting to keep the proportions 'square' (4:3) not widescreen (the above stretches the movie).
Any advice?
Thank you - for the help and for the super-fast response! You're awesome!
Right now your great code keeps the proportions, and fills the screen with stage color bars on the sides, and more importantly: the bottom bleeds under the taskbar on windows.
I tried integrating your new code into a window resize but it gets off kilter / displaying the screen off to a side and cutting off part of the bottom.
Any idea of how to avoid that?
on resizeWindow
aw = _player.activeWindow
awRect = aw.rect
aw.drawRect = awRect.offset(-awRect.left, -awRect.top)
if ((awRect.right - awRect.left) / 1.33333) > (awRect.bottom-awRect.top) then
awRect.right = ((awRect.bottom-awRect.top) * 1.33333)
centre_right_left = ( ( (_player.activeWindow.rect.right - _player.activeWindow.rect.left) - (awRect.right) ) / 2)
awRect.left = awRect.left + centre_right_left
awRect.right = awRect.right + centre_right_left
end if
aw.drawRect = awRect
updateStage
end
on zoomWindow
resizeWindow()
end
THANK YOU for your help! I've used other bits of your advice previously!
Similar Messages
-
Using Director projector inside Flash
I have a Director projector from a project I did a few years
ago but no longer have the .dir file. I want to be able to display
it on my website. Flash won't let me import the .exe directly. Is
there any way I can launch the .exe using ActionScript, or maybe
import the projector into a new Director file and publish it as a
shockwave file? Any help would be appreciated. Thanks.> Flash won't
> let me import the .exe directly. Is there any way I can
launch the .exe
using
> ActionScript,
No, you can't import any sort of Director content into Flash.
Come to that,
with very good reason, you can't 'launch' an EXE from a
browser at all. In
Flash, create a link to the file, which will then allow users
to download
and run it.
> maybe import the projector into a new Director file and
> publish it as a shockwave file?
No, you can't do that either I'm afraid. I don;t know of
anything that will
decompile Director projectors, and you can't import
executables into
Director.
Remove '_spamkiller_' to mail -
SSL access from SWF in Director projector
Hi all,
Hoping one of you clever people has the answer...
I am using a SWF inside a director projector.
I have successfully been using flashes XML object with
sendAndLoad to communicate with a PHP script on our web server over
HTTP.
The problem is if I do exactly the same just with the PHP
hosted at a HTTPS address, the flash onLoad fails, no data is
received with a httpStatus code of 0.
I have spent sometime googling the issue and believe it may
have something to do with flashes security.allowInsecureDomain,
allowDomain, or loadPolicyFile methods, but cannot work out how
these might be used from an SWF running in director.
Any help (examples) greatly appreciated.
Many Thanks
- BenI'm pretty sure a Director projector can't communicate over
https.
Shockwave can, since it "piggybacks" on the browser's
ability. Hence the
existence of SecureNet xtra from INM:
<
http://www.inm.com/products/snx/>.
However, I think you'll have to
route your data sending and receiving through Director rather
than use
the built-in Flash method.
Alternatively, it might work from an externally linked swf
instead of
one fully imported, so you might try this. -
Director Projector to Projector file linking.
How do I Link a windows Director Projector file to another windows Director Projector file ( without opening this linked file in a browser ), it should open like the first projector file ( .exe file) ?
Thanks. That sort of worked. The web design guy says he no
longer gets the missing director file error, but now the movie just
loops rather than jump to the next dcr movie. Strange thing is,
when I run it on another hard drive or even off a CD, the files
find each other and run without a hitch. I can't figure out why on
his server, his first movie just loops. (I checked my files, there
are no looping settings selected when published.)
Someone else suggested altering the code:
goToNetMovie(the moviePath & pThePath)
where pThePath="yourOldPath/yourOldFile.dcr"
but that just caused more errors. maybe I didn't pop in my
data correctly. -
Director/Projector hangs on exit/halt on Windows
I have a complex Director Projector application that has been
in the field for years now. In the last few months we have started
having problems with the application.
The problem is that when the user clicks on a button in the
Projector app to quit (and our Lingo code calls quit or halt) the
app hangs before it exits.
Once it has hung you can't then start up an new instance of
the app or even of Director itself. You also can't kill the hung
app in Task Manager and any new instances of the app (or Director)
that you open sit waiting in Task Manager.
If you wait five minutes or so, the hung app sometimes will
finally exit. Other times, after five minutes or so the app becomes
killable in Task Manager. At which point any instances of the app
that you have tried to open will then appear.
Two other slight variations. Sometimes instead of hanging the
Projector exe will trip a Windows exception report. Occasionally
the hung app will never become killable and the only way to get any
Projector/Director usage back is to restart the machine.
The exit hang also happens when you quit Director if you have
been running the app within Director.
The app uses three third party Xtras: SequenceXtra, BuddyAPI
and MD5Hashing.
This problem first appeared a few months ago as an occasional
occurance. As of a few days ago the hang happens just about every
time I quit the Projector app on my machine.
It also seems to happen with copies of the Projector app that
were built several years ago. This implies to me that the new
behaviour may have been bought on by a Windows update.
To further complicate the situation, on some machines the
problem is different. I have one machine, which is upto date on
Windows updates, where old versions of the Projector app crash on
exist but don't hang and new versions of the app don't crash or
hang.
I tried running the Projector in a clean WinXP install (no
services packs or updates installed) and there were no hangs. I
also have reports that the hang doesn't happen in Windows Vista.
I tried removing all of our Lingo code that runs on exit,
except the "halt". The hang still occurs. My logging suggests that
the hang occurs after all the Lingo code have finished.
Is anyone else having these issues ?Hi Andy.
Although I have not had any of the described problems, I'd
suggest
looking into registered Objects etc. Since the app hangs and
resides in
memory, it might be a good idea to unset all globals and
objects that
are being used before executing the 'halt' command.
Might give it a try.
Cheers, Jochen
http://www.medienagenten.de -
How do we split our iCloud accounts but keep one iTunes account so we can share purchased content for our multiple iPhones and iPads?
You can migrate a copy of the data to a new account, then delete the other person's data from each account. To do this, on the phone that will be changing accounts, if you have any photos in photo stream that you want to keep on the phone, save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. If you have any synced notes that you want to keep on the phone, email these to yourself so you can create new notes in the new account.
Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account. (This will only delete the account from this phone, not from iCloud. The phone that will be keeping the account will not be effected by this.) When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone. Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom). Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge. This will upload the data to the new account. You will create a new icloud email address with you turn Mail to On.
Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting your wife's data from your account, and vice versa). -
How can I clean all data in a database but keep all datafile still same nam
hi,
How can I get a easy way to clean all data in a database but keep all datafiles still same name and location just like a new created database?
dbca has two choice: create templet without datafile or with all datafiles but not empty datafiles.
thanksWhat version is your database? DBCA in 10gR2 allows you to create a template from an existing database using only the structure. From DBCA
From an existing database (structure only)
The template will contain structural information about the source database including database options, tablespaces, datafiles, and initialization parameters specified in the source database. User defined schemas and thier data will not be part of the created template. -
I installed windows 7 to my macbook pro, but my mousepad does not work in windows 7 and also i can not connect my windows 7 to projector, but i can use my macbook's mouse pad and i can connect my mac to projector,so please help me for windows 7 problem
i try to download now, do you think when i download and install the windows support software, can i fix the problem?
-
Greetings!
After importing my 300 or so CDs into iTunes, I found I have tons of duplicate songs.
Example: I have a song that came in a original album, then in again in a "Greatest Hits" album, then again in a "Hits of the 80's" album, and again in a soundtrack album. I have now have 4 copies of the exact same song.
How do I delete duplicate songs, but keep a link in their original albums back to the single copy of the song left, so it will play in each album in sequence as if it were still there?
I don't think this currently exists, but as my library keeps growing the duplicates keep growing. It would be nice if Apple sees this and adds a way to link songs to multiple albums.
I don't want to create a custom playlist for every album that has a duplicate song or two (I'd have dozens of playlists) - thought about fixing it that way but not really practical.To my knowledge, there is no way of doing what you want. The only workaround is to create playlists for the other albums containing the track, but that isn't practical for most people.
You could provide Apple with feedback here: http://www.apple.com/feedback/itunesapp.html -
I rented a movie through itunes on my ipad and wanted to watch it with friends on a digital projector, but it wouldn't allow me to do it. Is there any way around this?
The issue was that a dialogue box came up which said that I couldn't play this movie on another device. I tried playing the same movie on an Tv with an HDMI connection attached to an adapter to the IPad and that worked. I wonder if the problem is that the digital projector has a VGA connection.
-
Hi,
Can I use iCloud as photo storage rather than just backup? Right now, it just syncs the photos from my iPhone. I want to delete some photos from my phone, but keep them in the cloud.
I also want to be able to adjust the settings of certain folders in iPhoto to do different things.
I.e. I have a "work" folder in my photos app on my iphone. I want all the photos and videos in this folder to be stored in dropbox and be erased from my iPhone.
I have a "family" folder in my photos app on my iPhone. I want all the photos and videos in this folder to be stored in iCloud and erased from my iPhone.
Finally, why can't I log into iCloud from anywhere and see my photos? For example, when I go to my friend's house, I want to be able to log into iCloud from his computer and show him photos that are no longer saved on my phone, but rather stored in the cloud.
Would I be better off with dropbox, flickr, or Amazon for something like that?
Thanks!
AmyIf you have the photos on your computer a great way to test is to remove your phone from your computer and see if the photos are still on it; if they are still on your computer you are free to do so
Also when you are importing photos from the device to iPhoto you should get the option to delete after importing
http://support.apple.com/kb/HT4083 -
How do delete photos from iPhone but keep them on the cloud?
Is it possible to delete photos from an iPhone but keep them on the cloud? If not what is the purpose of buying extra storage for icloud If you phone can only hold up to 128gb?
finding it hard to get a straight answer on this, so maybe have to go to a local shop and find out.Refer to this Faq.
How does iCloud Photo Library save space on my device?
iCloud Photo Library can move the original high-resolution photos and videos to iCloud and
replace them with lightweight, device-optimized versions on your iOS device. This helps you
make the most of your device storage while giving you access to more photos than ever.
You can turn on Optimize [device] Storage from Settings > iCloud > Photos or Settings >
Photos & Camera > iCloud Photo Library on your iPhone, iPad, or iPod touch. You will need
an Internet connection to access an original photo or video that’s stored only in iCloud.
Yes I want to know the answer too.
If I subscribe to iCloud storage but my iPhone can just hold up to 16 gb.
Why do I have to do it ? to make my iPad see photos from my iPhone?
I did try to disable icloud photo while i had 1gb photos stored in my iPhone
and wipe them out, yes ,nothing left, 0 data. but when I turn on iCloud Photo -
again. everything come back as preview photos but when I look at each, my phone
will download them all anyway. so, how can you manage space on devices actually?
if I have 16 gb on my phone , So I can see all of my 1tb photos on iCloud ?
and have enough space on the phone to do other things right? -
I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'.
I am unable to install and also i cannot uninstall itunes, can anyone HELP PLEASSSSSSEEEEEE!!(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?
You run Windows in Parallels or Fusion. Then in Windows you install the program.
-
I am trying to install itunes on my pc again but keep getting an error that says'apple application support was not found. try reinstalling itunes.' error 2.
We have had itunes on this pc for 2 years and recently it wouldn't open and another error message kept popping up saying it couldn't open because MSVCR80.dll was missing. I have unistalled the apple programs and tried reinstalling several times but to no avail. Hopefully my music library is not gone. Any Ideas out there?With the Error 2, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
http://www.apple.com/itunes/download/
Download and install the free trial version of WinRAR:
http://www.rarlab.com/
Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
Does it install properly for you?
If instead you get an error message during the install, let us know what it says. (Precise text, please.)
Maybe you are looking for
-
I am unable to redownload OS X Mavericks on a Late 2013 new Macbook Pro 13". I get a message saying "We could not complete your purchase" " OS X Mavericks can not be installed on this computer" I nee an easy way to resolve this with Apple.
-
Hi, we are working on Business Objects Migration 6.1 to BOXIR2 project.plz any one help me Derived table creation for Free Hand SQL Reports?.How to use promt functions also.........? Thanks for advance.... Thanks&Regards Ramu
-
Does anyone know if its possible to set up Contribute to substitute dashes for spaces when it creates file names instead of just removing the spaces? I'd like to start using dashes in our file names for SEO purposes but can't trust my users will reme
-
Hi, All: I wondering why the XML file size changed after go through DB using CLOB. The original size is 1KB, but after I use the PUT and GET method, the size changed to 8KB. There is a lot of space appened to the content. Thanks a lot!
-
Send Connector, Removing one Source Server
I have one send connector. I have two exchange servers not in HA, when I attempt to remove one of the source servers, email backs up in the que and I get this error 451.4.4.0 Primary target IP address responded with 451.5.7.3 cannot achieve exchange