Linking swf or htm files
I'm working in RBH 8 and RoboSource 3 (finally, yeah! and I LOVE it). We have started to bring all of our hyperlinked files into the project. The challenge is that if I select to link to a multi-media file, then it defaults to being viewed inside the browser. I'd like it to show in a new window. Also, if I try to accomplish this by linking to a file, then selecting the htm file, it does not move into the project, but it will allow me to link into a new window. Suggestions?
Kglad:
Yes, initially I thought that exe files was the way to go. However, I've been searching for options and found that by using the class Loader, I can load swfs files instead of exe files.
Here is what seems to work with only swf file:
var my_loader:Loader = new Loader();
nav_4.addEventListener(MouseEvent.CLICK, startLoading);
function startLoading(e:MouseEvent):void {
my_loader.load(new URLRequest("Videos_FrontPage_YIM.swf"));
addChild(my_loader);
Problem: I have a interface, which loads all other files by way of buttons. For instance, nav_4 button loads the file Videos_FrontPage.swf. When this movie loaded, the interface was also gone.
How can I keep the same interface and still be able to load all other movies?
Your help is appreciated.
Similar Messages
-
Linking swfs or exe files?
I need help with a Flash AS3 project that includes about 30 videos. I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
Here is my test:
I have two exe files that should link back and forth.
Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe
Here is my code, which is in Intro (button name= nav_4).
nav_4.addEventListener(MouseEvent.CLICK, gotoVideoFront);
function gotoVideoFront(event:MouseEvent):void {
var url:String = "Videos_FrontPage_YIM.exe";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, '_self');
} catch (e:Error) {
trace("Error occurred!");
Problem:
The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
Questions:
1. Is there a better way to handle links using executable files using Flash CS5 and AS3?
2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?Kglad:
Yes, initially I thought that exe files was the way to go. However, I've been searching for options and found that by using the class Loader, I can load swfs files instead of exe files.
Here is what seems to work with only swf file:
var my_loader:Loader = new Loader();
nav_4.addEventListener(MouseEvent.CLICK, startLoading);
function startLoading(e:MouseEvent):void {
my_loader.load(new URLRequest("Videos_FrontPage_YIM.swf"));
addChild(my_loader);
Problem: I have a interface, which loads all other files by way of buttons. For instance, nav_4 button loads the file Videos_FrontPage.swf. When this movie loaded, the interface was also gone.
How can I keep the same interface and still be able to load all other movies?
Your help is appreciated. -
Context Sensitive Help: Creating Links to the same .htm file
Hi Everyone,
My Help Context Sensitive application requires the exact name
of the .htm file to
bring it up. However, previously different fields on the
application used to have
different .htm file, associated with them. However now, I
have them all within
the same .htm file. But, I have to still keep the old links.
As a results, I have to
keep copying the same .htm file into different names to use
the previously
established link.
Is there anyway, I can link all these .htm files to one .htm
file (call it origin.htm)
such that while the application still finds the old .htm
files, bu they are linked to
orgin.htm such that a required modification be only done in
origin.htm file.
I hope, I have been clear in expressing what I need.
thanks Alot.Hi Oufi
One way you could accomplish this is by converting each of
these .HTM files to something called a
redirect page. You can read more about redirect pages in the
article linked below:
Click
here to read the article
Sincerely... Rick -
SWF and HTML files separate directories.
I am generating HTML wrapper dynamically and it runs
successfully (No JavaScript errors etc.). I right click on the page
and it displays "Print,Settings, About Flash Player"
Problem is that my SWF file which resides somewhere else on
the HTTP server is not played at all. I get a blank page. The path
to SWF was provided in HTML using an alias defined on the HTTP
config file.
If I run static HTML file in the same directory as SWF file
the page is generated OK.
Am I missing a crossdomain.xml file but everything is on the
same domain (so ruled out).
Please help.Hi zetokore, and welcome to the Community!
You cannot separate the HTM and SWF files, so don't try.
These files are designed to be symbiotic and must be accessed from
the same location. Your "getaround" won't work because if you link
to the SWF instead of theHTM, the output will be warped ... the HTM
file contains sizing parameters for display of the SWF; so without
proper sizing, the SWF will appear warped.
In short - you'll have to live with it, because what you are
seeing is Captivate's designed behavior.
To emphasize the point: Design and record your Captivate
projects at the size they are to be displayed to the end-user ...
always! And - again always - link to the HTM file, never to the
SWF.
. -
Continued/ linking .swf file to Dreamweaver
Hi ,
All I need is to link my swf file to a link in my HTML page,
the swf file has its own control buttons created in Captivate that
I need them to be shown in the swf file ratherthan new ones! and I
need all this to be shown as a smaller window in the middle of the
screen where the user can maximise and minimise the way he wants?
so
I have linked my link to HTML ( which is called Harmony.htm)
file atht has the published .swf file in it but I have these
problems:-
1- Once I click on the link the new HTML page is opened but
with this warning:
" Adobe Flash player has stopped a potentially unsafe
operation, the following local application on your computer or
network :
C:\..........\ Harmony_skin.swf is trying to communicate
withthis internet enabled location
c:\.......\Harmony.htm
to let this press ok ..."
I don't want this warning to appear for my users? how to get
rid of it ? or it is normal to have it on the internet I don't
know?
2- the Harmony_skin.swf is the actual movie I have implement
in Captivate which has the control buttons and the colsed
captioning in the middle bottom of the window which I want them to
appear, but when I publish it with the html file (Harmony.html)
they don't appear and for other swf files they appear slightly how
to make them appear? does thim mean I have to control the position
of the swf file in the HTML file ? how to do that?
3- I have seen this link sent to me by steve
http://javascript.about.com/library/blpopup10.htm
But I was not able to understand very well o to do that, I
mean how to control the position of the html window as I am very
new to HTMl and I am not very well practised can you help me in
that pleas?
Attached is my code and when you see the comment <!--here
please--> it is the link I am talking about.
Appreciate your helpSo you want your custom HTML page to open the Captivate movie
in a new window that's centered with the normal browser buttons?
If so, the "centered" part is a bit tricky. There's no way to
determine the exact height of the screen since the browser does not
know how the user's Windows Taskbar is displaying (hidden, one row
high, two rows high, etc). I always take an arbitrary 64 pixels off
the height just in case it's set to 2 rows high.
A suggestion would be to start with the example shown at
bottom, using the following as a reference for what each parameter
in the window.open() method does:
window.open()
Reference at MSDN
Also, you should NOT use spaces in any of your file and
folder names... that can be a problem in some cases.
Cheers,
John -
Link to SWF or HTML file from LMS?
Hello,
Can someone please tell me how I should link to the captivate file from LMS. Is it better to link to the SWF file or the HTML file (or in this case, the HTML full-screen file)?
I would also appreciate it if you could tell me why one file is better than the other to link to from LMS.
Thank you,
JustinIf you are using an LMS for the purpose of tracking data about the user's interaction with your course, it will be either using SCORM or AICC standard to achieve that. In both cases you need the HTM file that Captivate publishes because there is quite a lot of JavaScript involved in the API communication between the course modules and the LMS. If you were only uploading the SWF file, the LMS wouldn't be able to "talk" to your course.
In the case of SCORM, you upload your course as a zip file that contains everything it needs to operate and communicate with the LMS. This zip file, and all the files it contains, is what the LMS expects.
Having said this, there are some pseudo LMS systems out there that are really more akin to content management systems (CMS) since all they really do is deliver the files to the user and track the fact that they did so. They don't read or record scoring coming back from the course too well. In some cases these types of LMS will expect to get the course as a single file only (because they're more used to courses in the form of PDF files or PPT presentations) and so the SWF file is about the only one you CAN upload to them with any chance of delivering content. I don't recommend you go for these types of systems. -
Missing Index topics, links and .htm files
I hope someone can help with this, as I am very frustrated
right now. I normally use RoboHelpX5, but have also tried this in
RoboHelp7.
If I generate a Winhelp2000 version of our help system,
everything appears normal. All of the specified index keywords are
there, all of the links are there, etc.
But if I generate either HTML or WebHelp versions using the
same source, as I'm supposed to be able to, for some reason:
1. Index entries for certain topics disappear from the list.
If I manually add the topic to the index again and save, then
regenerate the help files, the topic is still missing from the
index.
2. The hyperlinks for the missing items in #1 above do not
appear. The original text is there, but there is no hyperlink. If I
try to add a hyperlink again, the topic appears in the list, but
once I regenerate the help files, the link disappears again.
3. The individual .htm file for the missing items in #1 above
are not being generated.
Is there some reason why these topics are being dropped from
the html and webhelp versions of the help system? Is there some
sort of topic formatting or setting I am missing? I have tried to
compare working topics vs. missing topics, and cannot find anything
different in my Word document formatting.
I have tried creating a completely different help system,
using clean documents with no RoboHelp formatting, and consistently
have problems with the same topics. I even tried on another
computer that had never had RoboHelp on it before. That didn't make
any difference. The topics were still missing from the index, the
hyperlinks to those topics were still missing, and the individual
.htm files were not generated.
Any help would be appreciated.
Stephanie
(ow_mas)Hi,
I ran into the same problem today with some top level Index
entries not showing up in WebHelp. I discovered how to fix it by
comparing the entries that did show up with those that didn't. If
an entry had a topic associated with it, it showed up; if it has a
cross-reference, it doesn't.
Double click an Index entry in the Index pane (or right click
and choose Properties), then clear the Cross-reference checkbox.
Repeat for each entry that has a cross-reference instead of a
topic. There may be a global way to fix them all, but I haven't
found it yet. Then recompile your help, Voila!
Hope this helps....
Zie3D -
I'm experiencing something odd that does not seem right. I am trying to embed an .swf file on a web page. I have the player file in a separate resource folder from the other files. In the object tags data attribute value, I am able to have the .swf file be in another folder. However, in the <param name="movie" value attribute, I am not. Can anyone tell me why?
<object id="Object1" type="application/x-shockwave-flash" data="../VideoResources/player_flv_maxi.swf" width="480" height="360"> THIS WORKS
< param name="movie" value="player_flv_maxi.swf" /> this works if I put a copy of the .swf file in the same folder as the .htm file (but I don't want to)
but this does not work if I put the .swl file in the a folder one level up (which I want to):
< param name="movie" value="../VideoResources/player_flv_maxi.swf" />
Thanks for any ideas.I copied the value from data attribute value and pasted it into the value attribute value...
Here is the entire code for the <object> tag.
<object id="Object1" type="application/x-shockwave-flash" data="../VideoResources/player_flv_maxi.swf" width="480" height="360">
<noscript><a href="youtube" _mce_href="http://www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm">youtube">h ttp://www.dvdvideosoft.com/products/dvd/Free-YouTube-Download.htm">youtube video downloader</a></noscript>
<param name="movie" value="../VideoResources/player_flv_maxi.swf" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="opaque" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<param name="menu" value="true" />
<param name="autoplay" value="false" />
<param name="autoload" value="false" />
<param name="FlashVars" value="configxml=DVD_VIDEO.xml" />
</object> -
To All,
My company uses SWF for recorded demos. I don't always have
access to the 'net and would like to be able to show the demos from
my laptop. I've DL'd and saved HTM, the .JS files, the XML file,
the CSS file and the SWF files. In other words, pretty much
everything that is referenced in the HTM file. BTW: these demos
were created via Camtasia ..
When I click on the HTM link on my company site ..
everythings perfect. If I double-click on the saved HTM file, I get
the "loading controls" box, but that's it. I've checked the XML and
don't see any obvious links to additional files. I do see a
reference to a DemoName_PIP.flv in the XML, however, the
<hasPipVideo type="Boolean"> is set to 0, so I suspect that
it doesn't exist (and I can't find it anyway).
Any help getting this to work would be greatly appreciated.
Or, an explanation as to why it wont. It looks as if the XML has
been generated by some app. What app generated it and where would I
get a copy?
Thanks in advance ...
JTry to read this article
http://74.125.39.104/search?q=cache:f8Iq_w8jem0J:kb.adobe.com/selfservice/viewContent.do%3 FexternalId%3Dtn_14192+flash+popup+window&hl=ru&ct=clnk&cd=1&gl=ua&client=firefox-a
How is represented the list of mp3 files in your player? I
have a similar task.. Do you use DataGrid? -
Slide size too large when played via .htm file or in ELM
I have several modules that play perfectly fine from a computer or over the internet if you use the .swf file to launch them. The size of the slide automatically resizes to fit the launched browser window. However, if I try to open the file through the .htm file (as apparently our ELM does) the size of the slides is too large to fit within the browser window. Resizing the window doesn't help. With any module sized greater than 800 x 600, you cannot view the entire slide in the browser window. The bottom and right sides of the slide are cut completely off. Is there a fix for this, short of rescaling and redoing the entire module? The modules have been uploaded to our ELM, but the player controls are completely cut off by the restricted window size so you cannot advance the training.
I agree with BaseballBirch. The window size should be controllable in your Learning Management System or Content Management System (whatever your ELM is).
Most LMSs have the option to launch your content as a sub window of their player window, which has navigation links to enable users to launch each separate module. This option may mean that the user's overall screen resolution is insufficient to accommodate the entire interface. But LMSs usually also have another option that allows your Captivate content to be launched in a separate window. If so, this is usually the better way to go as it gives you more control over the size of the window.
One thing that LMSs differ in however is the way they calculate the size of this window. For some, you just enter the size of your Captivate movie stage and the LMS wraps the player window around these dimensions. In other LMSs you need to do some trial and error to work out what figures to enter into the LMS controls for height and width of the window because they include browser "chrome" and the dimensions of the window title bar and status bar. So you may have to add 50 or more pixels to height and 10 or more pixels to width to avoid cropping off your content.
You will need to use the HTM to launch the content. LInking to the SWF may cause some functionality in Captivate content to fail. -
Connection error swf or htm generated by captivate
Hello,
I published a captivate file. swf and htm.
it countains slides, a long video slide from powerpoint (10 minutes). Because I can't import slide by slide.
The video slide is in f4v (I used insert slide video)
then couple quiz slides.
uploaded on my website. It worked for couple days (How? I don't know),
now there is a "connection error" after the first slide.
during the second slide (the long video one) nothing but a message error.
then after 10 minutes, the quiz slides go on...
I redid it, uploaded it again on my website... same difference
On my server, in the same directory, I have
the cptx file
the htm file
the swf file
the f4v file
and the standard.js file.
Am I missing something?
This project is killing me. It took me forever to figure out how to make it work
I can't do the slides under captivate because the timing doesn't react to clics.
So I do the slide show under powerpoint, record the voice there.
then I export into a video. Then I convert the video so that it can be imported by captivate.
Then I publish
and connection error!
Thank you very much for your help
Publish SettingsHi there,
Can you please try the suggestions provided in the following link : http://blogs.adobe.com/captivate/2010/08/connection-error-in-slide-video.html
Please try this and let me know.
I am looking for other solution that can help you.
Thanks -
Why did my index.htm file generate blank? and other weirdness.
Here's the story. Maybe someone can tell me where I made my mistake, or what happened. I'm numbering the steps for convenience in discussing this.
1) I started a new project, a WebHelp project.
2) I imported content in Word.
3) I created an index, glossary, and TOC. I used wizards for some of this.
4) I created a style sheet and applied it to all the topics.
5) I added a skin from the gallery.
6) I generated output.
Then I sent that output to the UI developer on my project. He plugged it in to the web app, and it seemed to work fine. So then:
7) I opened the project, edited the text, and removed glossary links (because I didn't like how they were working) individually.
8) I generated a new TOC to match the changed topic structure (minor changes).
9) I generated another output.
I sent that output to the UI developer and he said it was blank. I opened index.htm and sure enough, it was indeed blank. In fact, it was Zero KB. I also noticed that four other files were blank: whfform.htm, whform.js, whskin_plist.htm, and whtbar.js.
So then I decided to start over. I created a new project, imported just the html topic files from the old project, redid the index (in a hasty and less thorough manner), decided to bail on the glossary for now, did a TOC and sent that to the developer.
Now the Search pane is totally wonky, showing a list of characters and terms.
So I am getting frustrated. The developer has tried monkeying around with stuff on his end, but it's not working. So he says, why don't you send me a build with everything?
The problem is, I have two broken builds. The first one, which for whatever reason has the blank index.htm file (and other blank files), and the second one, which has no glossary, a messy index, and a screwed up search.
I can't seem to find anyone else having this problem. :-/ Can someone help?
Thanks so much,
TamarleighI am having the exact same problem, and I think I've figured out what is happening here. There is an issue when mapping Word styles into RH. The person who setup our Word template included a sidehead with conditional text to hide instructor notes when printing participant training manuals. I removed the conditional text, and everything is working fine. You may want to double check to make sure you don't have conditional text in your Word docs. I've uploaded an image with the code below to show how the conditional text looked when the document was linked and generated.
Check out the code below:
<table cellspacing="0">
<tr>
<td style="vertical-align: top; padding-left: 0px; padding-top: 0px;
padding-right: 0px; padding-bottom: 0px;" height="800" width="114"><table
cellspacing="0" width="100%">
<tr>
<td style="padding-left: 0px; padding-top: 0px; padding-right: 0px;
padding-bottom: 0px;"><div v:shape="Text_x0020_Box_x0020_146"
class="shape" style="padding: 3.6pt 7.2pt 3.6pt 7.2pt;">
<p class="WD_InstructorNotesHeading"><span style="background: #ffff00;">Instructor
Notes:</span></p>
<p class="WD_InstructorNotesText"><span style="background: #ffff00;">Add
any additional instructor information into this text
box.  It will only appear when hidden text
is turned on.</span></p>
<p class="WD_InstructorNotesText"> </p>
</div></td>
</tr>
</table>
 </td>
</tr>
</table>
Cheers. -
Renaming the index.htm file
Folks - I welcome some help on this one!
I'm running RoboHelp 9, and authoring a help system for a dev group whose buildmeister has requested I rename (if possible) RoboHelp's compiled 'index.htm' file to something else, so as not to conflict with another index.htm file that apparently is part of this software build. I'm assuming this can't be done as a simple File Explorer 'rename', but needs to be defined within the project prior to compiling fresh output. However, I can't find a setting for to accomplish this, and, frankly, don't even know if it's necessary (or possible).
best,
LumpyHello again, Lumpy
In looking at this thread the following thought occurs to me. If your developer is wanting you to rename your start page, it likely means that your WebHelp is just plopped in with other content. And if that's the case, I'd have to think things are severely disorganized. Normally the help sits in its own folder that is separate from whatever application it supports.
I know that often developers suffer the God complex and don;t fathom any possibility they are wrong, but it might be worth asking some questions about the arrangement.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
How can I create a link from a CHM file to a webhelp file?
How can I create a link from a CHM file to a webhelp file?
The CHM output (accreditation.chm) is stored in a parent directory, and the webhelp output (index.htm) is stored in a child directory.Open the usual Link dialog and enter the relative path from where the CHM will be installed to where the webhelp will be installed.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Alright, let me explain: When I'm saving a web page in FF, this will create a .HTM file as well as a subdirectory with matching filename plus suffix "-Dateien" (German version - I'd guess in the English version it would probably be "-files" or maybe "-data" instead...). Anyway, now if I delete that subdirectory (including all its content) with the Windows Explorer (I'm still using XP, btw), it'll also delete the corresponding .HTM file in the parent directory. Question is: Why/how does it do that? Could that be some hard or symbolic link phenomenon that escapes me?
Greetings from Munich & thanks in advance!
ManfredThat is a Windows feature called connected files that connects the main file and the folder with the other files for certain file operations and HTML files among others.<br />
If you delete one of them then the other is deleted automatically (the same for Copy).
*http://msdn.microsoft.com/en-us/library/windows/desktop/bb776887%28v=vs.85%29.aspx
*http://www.microsoft.com/mspress/books/sampchap/6232.aspx
You can use the registry editor (regedit.exe) to create a NoFileFolderConnection key of type REG DWORD and set the value to 0x01 to disable this "Manipulate connected files as a unit" feature.
*HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\NoFileFolderConnection: REG_DWORD 0x01
Change the value to 0x00 to re enable.
See also "Operations on an HTML file or folder apply to similarly named folder or HTML file":
*http://support.microsoft.com/kb/252721
Maybe you are looking for
-
How to find out status of JMS Connection ( connected or closed )
Is there a way to find out the status ( connected or closed ) of JMS Connection at any point of time . JMS Connection interface doesn't seem to have any isAlive( ) sort of method ? I'm using a shared instance JMS Connection and if someone calls conne
-
Adobe Reader not opening PDF Portfolio - Flash player error
I have Acrobat 9 Standard installed on my PC and I created a PDF Portfolio. Acrobat Standard can open that Portfolio just fine. I also have Acrobat Reader installed (11.0.2).and have Adobe Flash Player (11.7.700.169) installed. Both Reader and Flash
-
Pdf attachments open in body of e-mail
Using my mac mail program, when I click (on the paper clip) to attach a PDF - instead of an icon, it opens up in the body of the e-mail. Please advise. Thanks, Iza
-
How do i put 8mm into my imac and edit
How do i put 8mm into my iMac, and edit it?
-
which is the super class for java Language... this is an interview question . I SAY Object is the super class for java Language ... then he asked whether object class will extend ?? i say Yes it will implectly extend ... then he whether each and ever