Shorten the length of the blade according to the State of an inserted SWF file
My question may be advanced. I am using Captivate 4 for this project.
I am trying to create a manual online that describes a technical system.
I created multiple SWF files for the various components and inserted them into a master project of Captivate. I use the table of contents in the main project to provide navigation components.
My problem is that the SWF file to show the various components have a visible bar of 'control'. Since it is an event (without audio) we slowed down (some say too slow) for slow readers. But given the control bar allows readers 'faster' the ability to speed upward and etc.
My question, so if a user it accelerates and reaches the end of the file SWF slide continues until the 'period' is over. For example, I have an embedded SWF which is 66 seconds long, the blade must be 66 seconds long to allow it to play fully. I tried to adjust various settings and the settings of the imported video, but no matter what the video should be 66 seconds before I can do anything with the slide that hosts it.
Any ideas? I do not control the imported SWF file (which is actually a published Captivate project) and I do not master the file SWF Captivate "accommodation".
Main reason for which is "broken apart", is can I outsource the various resources so I individual file charges "on-demand" and does not have a massive SWF file.
Before asking, I thought using the Aggregater, but it does not work in Internet Explorer (HTM file) and will not cross the Preloader and my audience does not flash drives as I do.
Hi Ziqiel, hope I will find the solution.
I use the same technique as you Captivate 3. I insert the SWF on a main project. So, I insert a clickable area with options to "Stop the project until user click ' and 'no action '. You place this box anywhere on your slide where the swf file. It shut down the main project, but your swf will continue to play until the user clicks a button to continue.
It is clear to you? And is it useful?
Tags: Adobe Captivate
Similar Questions
-
Access the main object of a SWF file in memory
Hey.
I'm trying to access the main object of a SWF file in memory. Consider the following code:
package test {}
import flash.display.Sprite;
import flash.utils.ByteArray;
SerializableAttribute public class Main extends Sprite {}
public void Main (): void {}
var b:ByteArray = new ByteArray();
b.writeObject (this); This main object is what I'm trying to access
}
}
}
However, when I do a trace (b.length), the value I get does not match the length of the actual SWF file, then perhaps that there is another way.
I am trying to achieve the same type of content that you would get if you load an external SWF using loadBytes, unless I want to access the principal object of SWF (running in memory) in this way.
I have this even possible?
Thank you.Hey.
Well, I never knew a solution to it (if it is still possible to what I asked). However, I believe that I've implemented a workaround solution that should be enough for my needs. Perhaps it may help someone else too:
Although I can not (seem to) get the SWF running access itself to memory, I can load another copy of itself. When I tested the copy loaded (in memory) and compared with the content of the file on the disk, using a hex editor, content match!
This allows me to do things like control totals and which do not. An implementation is to use this technique to guard against the 'cache-hacking' of sovereign wealth funds.
-
call the parent of a loaded swf file functions?
Hi all
I have a main Flash file that load other SWF files using loader objects. I want to be able to call the methods of this main purpose since then in the loaded SWF files. For example, I want the file loaded in order to add an event listener on the stage of the main file. I found this example:
That seems to do what I want, but I can't understand how to implement it in my setup.
My "main" file that loads other sovereign funds is called "main.swf" and has a main document class.
My loaded file is called start.swf and has a class of documents 'Start '.
in my main constructor:
var ethics_content:Loader = new Loader();
ethics_content. Load (new URLRequest ('start.swf'));
in the constructor of my departure:
If (this.parent.parent! = null) {/ / IF the STATEMENT FAILS}
var parentObj:Object = this.parent.parent as an object;
trace ("parentObj has been found.'");
} else {}
trace ("this .parent .parent is null.");
}
stage.addEventListener (MouseEvent.CLICK, handle_click); GENERATES AN ERROR WHEN IT IS LOADED TO THE HAND. SWFtrace ("step: ' + Stadium"); RETURNS A [STAGE] OBJECT BY OPERATING BY ITSELF, BUT NULL WHEN IT IS EXECUTED IN THE HAND. SWF
trace ("root:" + root); RETURNS AN OBJECT [START] WHEN RUN BY ITSELF OR WITHIN THE HAND. SWF
trace ("parent: ' + parent"); RETURNS A [STAGE] OBJECT BY OPERATING BY ITSELF, BUT NOTHING OF IN THE HAND. SWF
trace ("this .parent:" + this.parent); RETURNS OBJECT STAGE ITSELF, NOTHING OF IN THE HAND. SWF
trace ("root.parent:" + root.parent); RETURNS THE SCENE OBJECT BY ITSELFHow to get to the scene of a loaded SWF file? Or at least, how can I call a function in my main class from the loaded file start.swf so I can move the functionality I need the main.swf file?
Any help is greatly appreciated.
If your main swf loader is not added to the display list when it try {branch} is running, the charger will not have a parent.
-
Publish the sensitive project as a swf file
Anyone know if it is possible to publish a swf file (created in Captivate 8) reactive project?
We found that when published in html5, it is not compatible with all browsers. We want to offer a flash and html5 version but I can't find this option to publish.
Hello
I think you will discover the path you need to take is carefully create a new project that's not reactive, then copy and paste the sensitive to the inadmissible project assets. Then, you create a SWF from that.
Note that if you publish a project inadmissible that you choose to publish in the form of people both SWF and HTML5 and point to the page htm multiscreen. This page should detect the browser and direct people to the SWF version if they are able to use the SWF and for the HTML5 version if they are not capable.
See you soon... Rick
-
Captivate 7 - where can I find the settings of publication for swf files?
In fact, we created a tool for creating swf files that our company publishes files Captivate and Adobe Connect. With our last update to Captivate 7 we can now successfully publish on YouTube (finally) but now the swf file settings have dissappeaered - we need for our customer publications.
1. How can we publish Captivate 7 records in swf?
2. If they have been taken-someone ' a has a routine to workaround?
Thank you so much - we have searched high and low to find answers.
Peter
You can deploy MP4, from a file-cpvc also internally, but this is pure video, non-interactive.
The classic way to create a simulation with Captivate uses automatic Capture (file cptx), where you have the choice between the demonstration, Simulation and training simulation assessment (with an increase of degree of interactivity). And these files can be published to SWF/HTML (interactive) PDF format...
-
Can I get rid of the white box behind my swf file?
I would like for the space behind my swf animation does not appear as a white box while the browser loads the swf file, but rather to show what is on the page behind the loading file.
I think that someone had once told me what to do to prevent this, but I can't find that info now.
In your Flash publish together transparent window mode settings.
-
don't play only in the preview of captivate project SWF files
I tried to import a file .swf product of Camtasia 6.0 in a captivate project 3.0, after doing so when I'm in any .cp with files .swf in them and I try to get an overview of the project files .swf will not play. All the files published .exe will play, as do the .swf files displayed individually simply not to Captivate. Any ideas?I found the answer - I had upgraded to Flash 10 and it is not compatible with Captivate 3. I uninstalled Flash 10 and installed Flash 9 and now I can listen to extracts projects which have files .swf in them.
-
How can I display the inserted swf file, published from Flash Catalyst?
Running on Windows and Flash CS5.5 is updated.
When I insert my local content execution inside the dreamver, I get this message...
Adobe Flash Player has stopped a potentially dangerous operation.
I don't know what I would do at this point.
Thanks in advance.
For the money we pay for Adobe products you would of course be the devil think they should have figured out this thing 11 version now... I posted several answers other posters pointing out that exactly the problem anyway, on the next issue.
Post a link to the page for best results... it's really the only way that we can really help you.
But if she "plays in FF, but IE not' it probably has to do with what we call the IE conditional statement... which means that if the browser is IE, to do this, that is to say, then do it. Code will look something like this:
Nothing what so ever to do with Flash the file itself, rather the HTML used to display the Flash
-
How can I tell where a .swf file is linking in with the submit button?
Recently, I was hired as a graphic designer and administrator of the site to a local company. Now, everything was working fine until my employer has changed some settings with our FTP. All our "Customizer" on our Web site - which are .swf files - is more work.
What I discovered is this: when a customer clicks on the button 'submit', the 'page' are they sent to? The information they type in what are to be sent to an e-mail address, but I can't find any of these settings in the .fla files on our server of the company.Once I know where they establish between, I can change this path or make sure that the path exists as it appears in the settings of these customizer .swf files.
Any help that anyone can provide would be much appreciated! I don't have much experience with this program, or flash in general, but I understand the basics. I've spent most of my work day (8 hours) full trying to understand this point, and the end of my Friday draws to a close, I hope I don't spend another week to try to resolve this - a week where customers can customize their products on our website!
Open the problem page in your web browser and press F12 to bring up the developer tools. Select the network tab (this is for Firefox or IE; in IE you need to click the green arrow to enable logging). When you click on send, it should display the address that the SWF file attempts to access.
-
By using the fonts loaded in child swf
Hello
I have an ad container that loads a handful of resources some fonts, and some are sovereign. My problem is that the font is loaded from a url, it is registered and it works well points for textfields created in the ad container. The problem is that when I try to incorporate into the textfields in some of these sovereign funds management, it does not.
The police charge and gets saved before the swf file is loaded. The SWF then gets an event saying to incorporate the police there as well. When checking, inside the child SWF file, the Font.enumerateFonts table () I see that the fonts have been properly registered. My problem is that even if this table shows me the fonts, when I try to incorporate into the child SWF that nothing is displayed. I even use something like myTextFied.font = Fonts.enumerateFonts () [0] .fontName, while IncorporerPolices is true and antiliasing is set to advanced.
I tried all sorts of ways, and none does not work. The police who are responsible is stored as a library item with a link within a SWF file. Then to load a font that I load the SWF file containing the font. It works very well for the ad (main SWF) container, but not to children SWFs.
Any suggestions?
Thank you very much!
Vlad
You should maybe create an instance of the class from the police and save the police in each loaded swf file. It is a RSL approach.
This post describes the idea:
http://krasimirtsonev.com/blog/article/AS3-Flash-runtime-font-loading-embedding
-
Is it possible to ActionScript 3 code in your FLA file when you export your SWF file and view it people is at a size smaller than the size I created (proportionally).
Also, I've always wanted to know, and I have yet to find someone who knows the answer. Is it possible to have an art that, outside limits of your SWF (size of your FLA document) do not show in the browser. So if I was a bird flying into a 300 x 300 document, it would show a bird outside 300 x 300. The only solution I can think of is drawing white apart from the size of my document boxes so that it looks like the white background of the browser.
Thanks a lot for your help.
You can use a listener to resize the stage to customize your swf for any browser size.
anything behind the scenes in a main swf file will be displayed. Backstage articles are displayed if the swf file is loaded in another. Use a mask to avoid this.
-
Communicate with the embedded SWF files
So if I have several external swf into one big, how can I communicate with each other?
More specifically,.
-the swf principal needs to know when the keys were pressed in a shipped, and he needs to tell you all the other included those on this subject.
-embedded SWFs must intelligently resize and shuffle around each other, while keeping their origins coordinated in the upper corner.
How can I go about it?
As long as you mean by "shipped" you load swf files in you main file dynamically, then there is hope for all that you have planned. If you mean that import you into the library by embedded and plant them in the chronology of the main file, that does not work.
The other event and the event or Manager is coded in the main SWF. Are the code loaded SWF to displatch events than the main file of the headphones for. If simply scream of the loaded swf when they will, not for mutual assistance who hears him... allowing them to compile without dependence on the master file.
If in the film loaded, which triggers the need to rehabilitate the main file in action would send an event as follows...
dispatchEvent (new Event ("eventName")); name of the event you want to
To add the listener in your main swf file, listen for the complete event of load on the Loader.contentLoaderInfo which is used to load the file. In the complete event handler, add the listener for the event on the loaded swf file.
function loaderCompleteHandler(e:Event) {}
MovieClip (e.currentTarget.content) .addEventListener ("eventName", eventHandler);
}function eventHandler(event:Event):void {}
trace ("load swf triggered event");
} -
How to access the functions on my main SWF of my external SWF?
Hello someone can help me how to access the functions on my main SWF file of a loaded SWF file?
Forget using parent. Send an event to the place.
btn3.addEventListener(MouseEvent.CLICK, btnClickHandler); function btnClickHandler(e:MouseEvent):void { dispatchEvent(new Event("categoryClick"); }
In your main swf file, listen for the complete event on the Loader.contentLoaderInfo.
In the complete event handler, add an event listener for the categoryClick (or you have chosen to call it) on the loaded swf file.
// event handler triggered when external swf is loaded function loaderCompleteHandler(event:Event) { (event.currentTarget.content as MovieClip).addEventListener("categoryClick", categoryClickHandler); } function categoryClickHandler(event:Event):void { trace("category button clicked in loaded swf"); }
And remember, whenever you use root or parent, God kills a kitten.
-
Preloader which modifies the external SWF files every 5 seconds
Hello
I made a web banner in flash that loads an external swf and another external swf changes after 5 seconds. The banner have a preloader, but the problem becomes when you load the first time. As sovereign wealth funds are not cached in the cache of the browser and yet, time 5 seconds start counting from the preloader, and when the external swf file, shows only 1 second rest and it is replaced by another. There is a way to 'freeze' the time for each external swf until it loads completely?
The code that loads SWFs every 5 seconds (this code is placed in a layer of action):
start of the code:
var intervalId: number;
var: number = 0;
var maxCount:Number = 23;
var duration: number = 0;
var banners: Array = new Array)
"abatrade.swf,"
"bancobrasil.swf,"
"caparao.swf,"
"cedro.swf,"
"cesama.swf,"
"copasa.swf,"
"damatta.swf,"
"emtel.swf,"
"engedrain.swf,"
"extel.swf,"
"feedback.swf,"
"iti.swf,"
"intermedium.swf,"
"magnesita.swf,"
"maquenge.swf,"
"maxxdata.swf,"
"orteng.swf,"
"paiva.swf,"
"paraibuna.swf,"
"paraopeba.swf,"
"sabesp.swf,"
"serpro.swf,"
"soll.swf,"
'thawte.swf '.
);
function executeCallback(param:String) {}
var duration: number = 5000;
loadMovie (banners [count], loadmovie_mc);
loadmovie_mc._x = 0;
loadmovie_mc._y = 0;
clearInterval (intervalId);
if(Count < maxCount) {}
Count ++;
intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
}
else {}
Count = 0;
intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
}
}
If (intervalId! = null) {}
clearInterval (intervalId);
}
intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
end of the code
----------------------------------------
And the code to the preloader (this code I place in the movieclip that loads external SWF files):
start of the code:
{onClipEvent (enterFrame)}
var gtT:Number = this.getBytesTotal ();
var gtL:Number = this.getBytesLoaded ();
var gtP:Number = int ((gtL/gtT) * 100);
If (TWG > gtL) {}
This ._alpha = 0;
_root. Loader._alpha = 100;
_root. Loader.bar._width = gtP;
clearInterval (intervalId);
} else {}
This ._alpha = 100;
_root. Loader._alpha = 0;
intervalId = setInterval (Thi, "executeCallback", duration, banners [count]);
delete onEnterFrame;
}
}
end of the code
Note that I tried to freeze the time using a clearInterval does in the second code, but he simply doesn't work...
Any ideas? Thank you
EdsonHere's the correct code kglad send me. Thank you very much!
-
Problem with playing a loaded "SWF" file in the chronology of the pain
Hey there. I created a presentation that loads the SWF interactive movies in a clip of 'target' on the main timeline.
As you progress through the different presentation SWF movies are loaded into the presentation. And this in turn allows me to change the content of the presentations quickly and easily for different customers.
These sovereign funds use part of the preloaded flash content like the other and drop-down list box objects.
However, when these sovereign funds are called in the main charge they stop working properly.
They work fine when tested independently of the main charge.
Does anyone know how I can be able to get these sovereign funds work properly?
At soon fofana
The first thing to do is to check the range of your loaded SWF file. All references to _root, for example, means something different when the SWF is loaded in your film of wrapper.
In addition, some of the V2 components do not work correctly when the SWF is loaded into another SWF. There is a technical Note and simple workaround here:
http://www.Adobe.com/go/tn_19278
Good luck!
Maybe you are looking for
-
Tecra M11-15 x in the docking station - No sound
Hi all We use the laptop mentioned above.Unfortunately, none of us has sound when the laptop is docked to the station.The station sound works. Anyone have an idea where the problem would be? Funny thing is that during the startup of windows start mel
-
CANNOT write to files in the shared folder of XP on a PC running windows 7 - but good vice versa
I have a laptop under Windows 7 (SP1) and a desktop running XP (SP3). I have connected both via a wireless network. While I can see and access shared files/folders from one computer to the other computer, I can only read/write files in the shared fo
-
Is blackBerry smartphones can set notifications for peep up to acknowledge
On a blackberry 8320 y at - there a way to set an audio notification of an e-mail message received to be similar to a pager - the audio guys to internals until he message is recognized. If this isn't a feature installed on the blackberry. You know
-
I have 2 databases I use Lightroom how to identify objects in one and not the other, I changed
I use my cell phone as my computer on travel. When I come home, I transfer my data to my main catalog on my desktop. Sometimes, the files remain on my laptop and I made changes to some of my files.I was trying to identify objects through finder that
-
HelloI have a BSO cube and I am blocking and send. After the lock and send it when I retrieve the data I can see the data. But after executing calc script when I get back, I am unable to see the data.The Member into account Dim that I'm loading data