AS3 Flash exe projector opening other flash exe projectors
I need help with the following project. I can only make it work using SWF but not with EXE files.
I have one flash projector (mainFront.exe) an two flash projectors (MasterPage_YIM.exe and MasterPage_YIM_sp.exe).
MasterPage_YIM and MasterPage_YIM_Sp are exe that open several swfs files
mainFront is just the main page through which users will choose either english or spanish version.
mainFront and English version are in the same folder, but Spanish version is in a different folder.
MAIN FLASH PROJECTOR
stop();
import flash.events.MouseEvent;
import flash.display.MovieClip;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
var swf:MovieClip;
var loader:Loader=new Loader();
var loader1:Loader=new Loader();
eng_btn.txt.text="ENGLISH";
sp_btn.txt.text="ESPANOL";
eng_btn.addEventListener(MouseEvent.CLICK, gotoHome);
sp_btn.addEventListener(MouseEvent.CLICK, gotoHome);
function gotoHome(event:MouseEvent)
switch(event.currentTarget.name)
case "sp_btn":
//removeChild(loader);
var newSWFRequest:URLRequest= new URLRequest("../YouthInternet_Spanish/MasterPage_YIM_sp.swf");
loader.load(newSWFRequest);
addChild(loader);
break;
case "eng_btn":
var newSWFRequest1:URLRequest= new URLRequest("MasterPage_YIM.swf");
loader1.load(newSWFRequest1);
addChild(loader1);
break;
PROBLEM:
How do I open either version (english or spanish) from mainFront so that each version works as it should?
There is a fullScreenTakeOver property that tells the component what it's able to do. If you set it to false it should not allow going fullscreen.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.ht ml#fullScreenTakeOver
When the stage enters full-screen mode, the FLVPlayback component is on top of all content and takes over the entire screen. When the stage exits full-screen mode, the screen returns to how it was before.
Similar Messages
-
I switched to Firefox 21 and did the usual run to see if there are clinches, one came in the first run: using flashplayer in youtube to listen music and then opening other flash (in this case Deviantarts picture shuffle) mutes the music instantly and the only way to start the sound is reloading.
This didn't appear in 20, so there's one where 21 is weaker.I have the exact same issue. Reboot is not helping.
Trouble is, I had it working properly in my other Arch install. I have tried ncmpc and Sonata and gmpc, they all start to play the song - I even see the CD covers (for the songs that I have CD covers for) -- but only for a split second and thenit stops.
I don't think alsa is an issue, because cplay plays all songs without a hitch.
I was hoping for a solution - but all I found was this thread and unfortunately Varreon doesn't know what he/she did to get it to work.
Could you maybe retrace your steps - if you remember them ?
EDIT : This is my mpd.error file. Having a look at it, it does seem that mpd is not recognizing mpdvol
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL mpdvol
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM mpdvol
Jul 26 10:02 : Error opening alsa device "mpdvol": No such file or directory
Last edited by Inxsible (2008-07-26 15:34:24) -
AS3/Flash Dev Teams: Help me fix Flash's Clipboard API on Linux!
Hello!
I am hoping to get in touch with the Adobe development team responsible for the ActionScript framework (for Flash Player, in particular). I would really like to work with them to fix this bug (or, hell, attempt to fix it myself if they'd give me access to their source control):
https://bugbase.adobe.com/index.cfm?event=bug&id=3482860
Long-story-short:
The "System Clipboard" API (plain text format only) from Flash 9 worked wonderfully cross-platform (Windows, MacOSX, Linux).
However, the AS3 "Desktop Clipboard" API (plain text, HTML, RTF, and custom formats) introduced in Flash 10 has issues on Linux. In particular, it only set contents into a particular 1 of Linux's (X's) 3 clipboard/selection buffers, which prevents Linux users from pasting the copied contents into a Terminal session. The "System Clipboard" API from Flash 9 does not suffer from this problem. (More background details are available in the Adobe bug linked above as well as the GitHub bug linked below).
This bug has downstream ramifications for a relatively popular open source library (e.g. used by GitHub.com and bit.ly) that I maintain called ZeroClipboard:
https://github.com/jonrohan/ZeroClipboard/issues/78
As such, I would very much like to see these issues resolved, and am willing to actively help if at all possible.
If there is a better way to get in touch with the AS3/Flash Dev Teams than the bugbase or these forums (e.g. a team email address, particular dev's Twitter account, etc.), please let me know. Thank you in advance!
P.S. Yes, I know that Linux is no longer officially supported by Flash Player but I also know that Linux users still manage to install the latest versions of Flash with a few workarounds. It is also heavily used by GitHub.com users, and is therefore a high priority user base for ZeroClipboard.
P.P.S. I also tried to get a contact via the various Adobe/Flash/Flex Twitter accounts without any success.
Sincerely,
James M. GreeneEpic failure. Worked hard to contact Adobe devs and finally got through to the team via their OSS director. End result: they'll only do for security patches for Linux, won't even consider other bug fixes.
-
Hi,
have a project with 4 movies they are linked with open other project button
but in the executable files when I jump from one project to other there is a close up before open the other project.
how can I resolve this?
jvHi there
It's just the way things work with EXE files. The thing is, an EXE will temporarily install a Flash Player, then play the movie. Then close as the next EXE opens. Unfortunately there is no way for the EXE to remain open and simply load in the content from the new exe into its window because the new EXE is treated as a new instance.
You might consider suggesting this as an enhancement to the development team. Maybe the Captivate developers can construct a way for things to work differently in a future version.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
im new to flash so i dont know a lot.
first of all how do i get flash to open other programs,
and how do i get flash to open html links?
thanks a lot.to open links use getURL
and for opening exec files (only for stand alone
applications) use
fscommand("exec", "your.exe");
executable files must reside on fscommand folder placed in
the same level as the flash .exe file. -
Open Other Project Feature Follow up ?
I just posted a question in regards to "Open Other Project"
button giving me inconsistent results. I was reading other posts to
try to find an answer when something I read made me question
myself.
When I am setting "Open Other Project" as an option, I
actually typed the name of the file that I want to link to. For
instance I type Interview. I do not add .exe to the end of the file
or .cp. Okay, I just thought about trying to select the exe file
from the ...button but realized that it would only allow me to
connect to a .cp file. Hmmmmm.
So, my question is - did I mess up by typing the name of my
file with no extension? Should I actually be linking to another .cp
file? Since these all need to be executables, will I have issues
with the Interface searching for .cp file instead of an .exe?
Hope this makes some kind of sense to someone.
Thanks,
KimThanks for the response Rick. Did you happen to see my other
post about my exe files not closing when they open another project?
It is causing me some MAJOR issues. Basically if the interface
doesn't close, then the file that it is trying to switch to takes a
very long time to open and could cause the user to think they need
to click on the button again which as you can imagine creates an
even bigger issue. Any thoughts? -
Open other Project is not working
Guys, I have a problem with Open other Project ..heres is the situation.
I have 2 .exe file.
1. start
2. main
inside the start, I have this button which execute Open other project which is the Main. whenever I clicked it, a URL appear with main.html in the address bar.
What could be the problem?
I have done this a couple of months..it was working then..but now huhuhu.
ThanksOh no! this thing only works in AST2.. When I use AST3 it open a URL. OH NOOO!!! i have AST3 clock inside the MAIN. what should I do?
-
Open other Project: New, Parent, Top
To reduce the amount of slides in my project, I was thinking
of creating a kind of branching action not using Menu Builder, but
rather using "Open other Project". My goal is to have a page where
you click one of 4 buttons that will each take you to a separate
project. Let’s say one button is for a logon process,
selecting this button will open up the logon process project, play
it & then return to the page that has the original 4 buttons on
it. So with this, I have a couple questions. Is my goal feasible?
What are the differences between the Current, New, Parent, Top
options? Any suggestions on how I can get this to work?
Thanks!Hi B Ellefson
You asked what the differences were between Current, New,
Parent and Top.
These options control the way links behave. Primarily, when
you output to .SWF format. They really have little meaning if you
are outputting to .EXE format.
Let's assume you are inserting a Button or Click Box object
that is programmed to visit
http://www.google.com when clicked
upon by your user.
Current: The google page would totally replace the Captivate
movie the link was clicked from.
New: The google page would open in a new browser instance.
Parent and Top: These two options would only ever be used if
you were displaying your Captivate movie from inside a frameset. As
a result, these options are seldom (if ever) used.
Hopefully this helps a bit... Rick -
Open Other Project - Does Not Function
Hello -
We are finishing a CBT lesson in Cap 3 which includes 29
seperate projects. At the end of each project the student is
presented a button to take them to the next project, i.e. "Open
Other Project".
Here lies the issue, we have set this button to "Open other
project" and "Open URL or file". In both case the next project does
not open. The user is taken to an internet search page. We set up
the button "On Success" feature using the Captivate Help files
where it instructs you to remove all of the system paths and just
use the project or file names. Also confirmed button settings in
Advanced Interaction.
We are publishing our projects in .exe formats. This isuue is
present when we preview it using the preview feature and from the
.exe products.
What are we doing wrong, any ideas?Hi again
I just conducted a brief test using a Button object and the
exact file names you listed. Things worked as expected on my end.
This is actually good news, as it suggests Captivate 3 isn't to
blame. Instead, something is wonky with your project(s).
One thing that strikes me here is that you say you are seeing
a Web Browser open. This suggests your button is programmed to
"Open URL or File" and not "Open other project". You may wish to
double check that. If you examine it and it already says "Open
other project", you may wish to delete that button and insert a new
one. Maybe somehow it became corrupt and is retaining the Open URL
or File setting and not respecting the Open other project setting.
Cheers... Rick -
Open Other Project not closing original file
Hello All,
I have a total of 55 exe files that are all accessed through
one captivate file called "Interface". I am experiencing some
inconsistent errors with the "Open other project" feature when
testing this on a computer other than my own. Basically, a user
will be in the interface file and click on a course they would like
to take. Let's say for example, they choose to take an interviewing
course. When they click Interviewing, the interface disappears and
they see the desktop or sometimes a white screen while Interview is
being opened. Sometimes, the course never shows up so I use my
CTL+Alt+Delete/Task Manager to view what has happened and I am
finding that Interface and Interview are both open and are
minimized on my toolbar. If the user doesn't use CTL+ALT Delete,
they would never even know their course opened because for some
reason they can only see a white screen. Ideally, I would like the
Interface file to close down as soon as the user clicks on another
course. I have it set to "Open Other Project" and selected Current
but still it is keeping the Interface open (sometimes). Again, the
errors are pretty inconsistent. One day it works perfectly and the
next day I am getting what I described above. Any suggestions?
Thanks,
KimHi Kim
It's common that the EXE format doesn't close when opening
another project. So here's something you may wish to try. Button
and Click Box objects normally allow the slide to continue playing
when clicked by the user. Assuming all of them are identically
timed for the pause, you might simply allow a click on any of them
to allow the project to continue playing. Then configure the end
action to be that of closing the project.
My thought here is that perhaps a click on the object (Click
Box or Button) will cause the project to continue briefly, then
terminate. This should close it down. Then at the end of the
projects you linked to, have their end action to be to open the
menu back up. Then have them close down.
Hopefully that makes a bit of sense.
Cheers... Rick -
I created a newsletter using pages on my IPAD 3. All of a sudden I can no longer open that document. When I click on it, it throws me out of pages all together. I can open other pages documents, but not that one. It is very frustrating to be able to SEE the file, but not open it.
I rebooted and I do have icloud back-up on but am not sure how to restore an older version. I also made sure there are no updates for pages. Until the IPAD I used a home PC which I still have but am trying to wean myself off of. I wish now I had used MS Publisher on my PC for the newsletter even though I hate it.
Please don't tell me I have lost my Newsletter and 20 hours worth of work.Try resetting your iPad. Hold the on/off and home buttons together for 7 or 8 seconds till the Apple logo appears.
I'm assuming your default is to save Pages documents to iCloud, and that you had a good WiFi connection when you closed Pages the last time you tried to save the document. -
I started having problems opening pages today. When first open a page it seems to download the page OK, but the rotating wheel on the right-hand end of the address field keeps rotating after the page is completely filled up. Then if I try to open other pages it becomes slower and eventually stops filling-in the pages, while the rotating wheel keeps rotating.
I wonder whether junk is being downloaded into my mac, or what is going on. Help will be geatly appreciated.When was the last time you emptied the Safari cache?
From your Safari menu bar click Safari > Empty Cache
If that didn't make a difference, go back to the menu bar click Safari > Reset Safari. Select the top 5 boxes then click Reset.
And how much free space on the startup disk?
Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 15% free disk space. Freeing Up Hard Disk Space - Mac Guides
If emptying cache or resetting didn't help and there's enough free space on the startup disk, login to another user account, launch Safari. Same problems there indicates a system wide problem. Log back into your admin account so you can check the startup disk.
Launch Disk Utility. /Applications/Utilities
Select MacintoshHD in the panel on the left then select the First Aid tab.
Click: Verify Disk (not Verify Disk Permissions)
If the startup disk needs repairing, follow the instructions for Using Disk Utility to verify or repair disks
I wonder whether junk is being downloaded into my mac
Nothing should "download" to your Mac unless you initiate the download yourself. You can check the Downloads folder from the Safari > Window menu or your Downloads folder in the Finder. -
Need to publish PHP files and be able to "open other movie"
I am hoping someone can help me. I converted my published
captivate projects to PHP per request of my company web team. In
most projects, I link to an addional project using the On success:
"Open other project" command. All projects are .cp files and this
feature has always worked in the past when published and uploaded
my projects as .htm. I can still upload my files as .php with the
.swf file and opening a project from my web page works fine.
However, when I click the link at the end of one project to open
the next, I recieve an error stating the file cannot be found.
Consequently, the file it is looking for is the .htm and I cannot
figure out a way for it to look for the .php file. Because of
company standards, I cannot simply upload all files (.php, .swf,
.htm) as a work around. Does anyone have a procedure to make
Captivate "call" the .php file extention when linking a project
instead of the .htm?
Any help is GREATLY appreciated!Welcome to our community, Especial del Dia
You might try using the approach of "Open URL or File". Then
point to the URL of the PHP page instead.
I think if I were in your shoes, I'd arrange a meeting with
the web team and see if you can figure out why HTM/SWF are bad and
things MUST be PHP or die. You may just find that after you explain
all the extra effort and time wasted in attempting to be compliant
with what is often some IT person's whim and mandate, things will
change and you will be allowed to publish what has always worked
until IT wanted to change things and break it and point their
fingers at you.
Just thinking out loud... Rick -
Problems with "Open other project" in menu builder
Hi everyone,
I have a series of projects that I want to link together
using the menu builder of the "Skin Editor" dialog.
I create my menu items, and for each item choose "Open other
project" in the "On click" dropdown. I then choose the project that
I want the menu item to open. For this example, lets say I chose a
project named "Viewing_Patients"
However, when I publish the project, run it, and then use the
menu to open the next project, it just opens up a browser window
trying to access the URL "
http://Viewing_Patients.htm/
Why is that?
To check my sanity, I created a Click Box in one of the
project's slide where I chose the exact same configuration - "Open
other project" for the "On success" dropdown, and the
"Viewing_Patients" project as the project to open when the box is
clicked.
And this works fine (it opens the "Viewing_Patients" project)
Why is my menu failing but not my click box?
Thanks very much in advance for any help!
- eriiki - tubbs -Hello Slothrop206,
Try the following steps:
1) Change your Action to be "Open URL or file"
2) Key in the relative URL to the movie you are attempting to
link. If it is in the same directory, simply key in the file name
of the .swf you are attempting to load.
3) Publish and test.
Let us know if this works for you. -
Two questions in one day. I'm on a roll..
I'm running into a problem with the open other project
function. I've published both projects, and I've got the first
project set up to call the second. When the first project calls the
second project, all I get is a blank white square on a web page,
nothing runs. The URL appears to be correct, I've got the second
project's .htm file in the same folder as the first project but
that second project just won't run.
Is it because the folder's are on a network drive versus the
desktop? Is the pointer getting lost trying to get to the second
project?
Any help is mucho appreciated.
Thanks.Never mind, I just answered my own question. I should have
read a little deeper into the forums...
Thanks
Jimmy -
"Open other project" always fails
Hello all,
I have been trying to figure out how to get the project end
option "Open other project" to work.
I am using two small SWFS, linking one to the other, but at
the end of the first project I get the "Page cannot be displayed"
message despite the fact the files are stored on a public server
with no access restrictions.
Can anyone explain and/or point me to an explanation?
The preocess seems straightforward. what am I missing?
Thanks in advance for your help!
Best,
BrettHello Slothrop206,
Try the following steps:
1) Change your Action to be "Open URL or file"
2) Key in the relative URL to the movie you are attempting to
link. If it is in the same directory, simply key in the file name
of the .swf you are attempting to load.
3) Publish and test.
Let us know if this works for you.
Maybe you are looking for
-
I have been trying to undo my Mavericks upgrade in October and after considerable effort I am mostly got back to 10.8.5 OS but still need a bit of help. I just want the previous OS back in place then I'll try Mavericks soon.... 1) I nev
-
How to retrieve multiple data from table and represent it in jsp page
Hi The below JavaScript code is used to add row in the table when I want to add multiple row data into table for single entry no field. <html> function addRow() i++; var newRow = document.all("tblGrid").insertRow();
-
How to make my iPhone 4S work again after upgrading to iOS 5??
After I accepted an upgrade of iOS 5 to my new iPhone 4S, it gives me a message (no SIM). It was working fine before I downloaded the software. Help please.
-
Is the best (only) way to display a group of photos by creating a photo album? If so, I read that it's best to create a one w/Adobe Bridge rather than the web photo gallery feature under Commands in Dreamweaver. Thoughts?
-
What are the space requirements for creation of a Oracle database.
Hi, How much space do we require to create a database, say the data size is 2GB.., is there any estimate like the space should be 3 times or 4 times of the data size..? Regards, G. Rajakumar.