Cap4 Aggregator stopped loading AS3 swf's
Anyone have any idea why the Aggregator will no longer load any swf's created with AS3? AS2 files still work, but 3's just show the loader over & over.
TIA!
Hi there,
There was an issue with Captivate 4 aggregated SWFs on the latest flash player. We have identified it and the issue is fixed. Please follow the steps mentioned in the link below
Click here to open the link
Thanks,
Ashwin Bharghav B
Adobe Captivate Team
Similar Messages
-
How do i stop loading a swf file which is still in progress.
//I have three buttons on the stage (btn1, btn2, btn3)
when i click the first button swf starts loading
while the swf is loading if i press the 2nd button
the first swf wont stop loading and both the swfs start playing
but if the first swf is fully loaded then every thing workes fine.
so please let me know how do i stop loading a file which is still in progress.
var _contentSWF:ContentSWF
var _content
btn1.addEventListener(MouseEvent.CLICK, handleClick)
btn2.addEventListener(MouseEvent.CLICK, handleClick)
btn3.addEventListener(MouseEvent.CLICK, handleClick)
function handleClick(){
if(_content!=undefined){
_contentSWF.removeContent()
removeChild(_contentSWF);
_contentSWF =null;
_contentSWF = new ContentSWF()
_content = addChild(contentSWF);
_contentSWF.init(some path.swf)
//ContentSWF.as
private var _path:String
private var swfLoader:Loader
private var _content
public class ContentSWF extends Sprite{
public function init(path){
if(_content!=null){
_content.content.removeEventListener(Event.COMPLETE, completeHandler)
_content.removeChild(mymc)
_content=null
swfLoader=new Loader();
_path = path
swfLoader.load(new URLRequest(path));
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
public function removeContent(){
swfLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
swfLoader.unloadAndStop()
private function swfLoaded(e:Event){
_content = addChild(mymc)Thanks Kglad, it all worked fine but can you help me in this.
I have 4 movieclips (_a,_b,_c,_d) when i click each of the movieclip they load a SWF(my_mc)
now when the swf file loades it starts loading a Sound(mp3)
Now when i press another button (_b) while this mp3 is loading
all the methords like Loader.close and loader.unloadAndStop() workes fine but i dont know how dose the MP3 loades and start playing
I also used the below script in my_mc.swf , but it wont work
this.addEventListener(Event.unload, myfun)
function myfun(e:Event){
\ if(_sound.bytesLoaded<_sound.bytesTotal){
_sound.close()
if (_chanel){
_chanel.stop() -
Loading as3 swf files into as2
im having a problem..i,e. i need to load an external swf which is in as3...and need it to be played in my as2 swf layout. with a time slider ,play, pause ,next, previous for that swf movie clip. pls give ur mail id i can sent my original files....................pls help me
pls give ur mail id i can sent my original files.................[email protected] pls help me am doing my final year college ..........download tis jpg image and convert to rar r zip file.....projectYou'r not able to load as3 files into as2 files.
-
Can I load AS3 swf in AS2 file
I have downloaded a xmlphotoalbum (www.xmlphotoalbum.com) which is in AS3 and uses lots of external classes and functions,
I am trying to load it withing a AS2 movie but it's not running and it is not giving me any errors.
how can I make this run?
would you please download the xmlphotoalbum and try it?
I am not using an AS3 file to load the xmlphotoalbum because I don't know how to handel AS3 and load external swf files and play then and then unload them.
I have tried using the get ulr and addchild() fucntions. but since I am not experienced it AS3 it's bit confusing for me and also I dont know how to control the playback of the loaded swf files.
I am doing all this for a CD presentation, not a a web site.Hi there
You are probably wanting help with Flash.
Although this forum says "FlashHelp", what it is for is an output type from a product called RoboHelp.
Click here to visit the Flash community
Cheers... Rick
Begin learning RoboHelp HTML 7 within the day - $24.95!
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks -
Stopping loaded in swf from streaming in when preloaded?
So! Here's there no way to stop a loaded in .swf from
streaming in, through the use of the loader, other than having a
stop action on the first blank keyframe of the loaded in movie
itself?
I can always get the video to not show up, but what about
sound? How can I keep it from being heard, streaming in, during the
preloading process?
Thanks in advance.Nevermind! Issue sorted out!
My last question above got me thinking and I found a
workaround! -
Stop loading of swf which is still in progress
Hi all,
I have three buttons (_a, _b, _c) which uses a similar instance of contentSWF.as class to load a SWF(content1..swf, content2..swf, content3..swf). using loader class Now when i press the first button, in the contentSWF.as the following code trigers.
contentSWF.as
private var swfLoader:Loader
public class contentSWF(path){
swfLoader=new Loader();
swfLoader.load(new URLRequest(path));
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
private function swfLoaded(e:Event){
addChild()
Now when the content1.swf is still loading i press the second button. both the SWFs start playing what is the issue.
I have a class contentSWF which loads a SWF(content.swf) using loader class, but in the main time line i hae another buttonIf this class is being used by the three different objects separately, then that would explain why you get each one playing separately. You essentially end up with 3 different loaders.
I don't know what you expect from this line: addChild() in your swfLoaded function, but it is not likely to be doing anything. -
Communication between AS2 Template and AS3 Swf
I created a template in AS2 which loads as2 swf's. i want to load as3 swf. then how can load as3 swf.within as2 template.
please help me to find out this...hI,
Look at package SDYNAMICDOCUMENTS, or look for DD_* ( This is Dynamic Documents Tamplates ) in SE38.
Regards,
Marcelo Ramos. -
As2 for load movieclip swf file
im having a problem..i,e. i need to load an external swf which is in as3...and need it to be played in my as2 swf layout. with a time slider ,play, pause ,next, previous for that swf movie clip. pls give ur mail id i can sent my original files....................pls help me
download tis jpg image and convert to rar r zip file.....AS2 and AS3 are incompatible. Although you can load AS2 into AS3 - you CANNOT load AS3 swf into AS2.
-
Enabling Parent button while external swf is loaded [AS3]
Hello everyone,
I am very new to Flash and it takes me a while to understand what code is trying to tell me
The problem I am currently facing is as follows:
After searching the net for hours I finally figured out, how to load an external swf into my main timeline. As far as I understand this main timeline is the "parent". Hence the loaded, external swf should be the "child" (a quiz).
Now the child (a quiz) loads into the flash file and is played properly, but I cannot access the button on the parent anymore. Unfortunately, I really need the home button on the parent to exit the quiz and allow for new navigation within the flash document.
I would greatly appreciate any help.
Thank you all in advance.
Kliph
my AS3 Code:
import flash.events.MouseEvent;
function onClick611 (event:MouseEvent) :void
gotoAndPlay("home_einf")
home_btn.addEventListener (MouseEvent.CLICK, onClick611);
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.events.ProgressEvent;
function startLoad()
var mLoader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest("quiz.swf");
mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
mLoader.load(mRequest);
function onCompleteHandler(loadEvent:Event)
addChild(loadEvent.currentTarget.content);
function onProgressHandler(mProgress:ProgressEvent)
var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
trace(percent);
startLoad();
stop();By simply using addChild like you have, you're placing the loaded content above everything on the display list - covering your button. There are a few ways to solve. The easiest, if it works for you, is to just make a new layer in your timeline - make it the top most layer, and place your home button in that layer.
Then change your addChild line from:
addChild(loadEvent.currentTarget.content);
to:
addChildAt(loadEvent.currentTarget.content, numChildren - 2);
This will place the loaded content behind the button.
Alternatively, you can set the button to export for AS and then add it after you add the loaded file. Or you can use content containers - empty sprites that you add first, and then fill with other objects, in order to control layering. -
AS3 loading external swf files with buttons from inside a movieclip
In my main .swf I have labels on the timeline, navs for those btns are on the first frame of the AS layer and each button sends the playhead to a different frame.
On one frame called fr1 there is an mc called mc_1 that appears on stage when the playhead stops there. Inside mc_1 are a set of navigation buttons that need to call external .swfs.
Do I add event listeners on the last frame of mc_1 for each button?
how do I call the loaders for the swfs on the buttons since the swfs will load on the main timeline NOT the mc_1 timeline?
So label on main timeline called fr1 will load external1 swf , on fr10 external 2.swf will load and so on.
any help?The code for that button's event listener needs to be placed wherever it has direct access to the button. Not necessarily on the same timeline, but in a place where both the button and the code are present at the same time.
The code could be placed at the frame in the main timeline where the movieclip with the button(s) is, targeting the buttons via the movieclip (mc.button.addEvemtListener...) , unless the buttons are somewhere down the timeline of that movieclip.
If they are down the timeline of that movieclip, then you would need to have the event listener also inside the movieclip, down its timeline where the buttons are finally settled in... being sure to assign instance names to the buttons at every keyframe. -
AS3 load external swf problem, please help...
Hey guys, I am really in need of an answer here. I would tremendously grateful if someone has the answer. I'll keep it simple and right to the point:
1. I have created "index.swf" in AS3. Has it's own "MainClass" class.
2. I created "holder.swf" which is the main landing page. Has 2 buttons, for the viewer to load the site in fullscreen or standard.
3. In the timeline of "holder.swf" I have created 2 frames, 1st frame containing the buttons, second frame containing the AS3 external swf loader script.
It does not seem to want to load my "index.swf".
I have tested a million different ways, it load other swf's just fine, AS2 and AS3, but for some strange reason it just will NOT load "index.swf".
This is driving me crazy, I have a feeling it has something to do with a class conflict. I have tried (import MainClass;) in the first frame of "holder.swf" and no luck.
PLEASE GUYS, LET ME KNOW IF YOU KNOW THE ANSWER!
THANK YOU SO MUCHO.
MichaelHey kglad,
Thanks for the quick reply!
Well here is the problem... With the exception of a few things I need to update, as well as implementing some better preloaders etc... the site is running alright...
About a week ago I decided that I wanted to site to start with the above landing page. A simple "holder.swf" which would give the viewer something to look at before entering the site... (ideally I want to find a script that will begin loading "index.swf" while the viewer is still on "holder.swf", but I'll figure that out later).
Anyhow, I created "holder.swf" as I have many times before, and for some reason it does not seem to want to load "index.swf" into the second frame when instructed to do so... does that make sense?
So... ideally I would like the site to start on the above graphic, then once the button is clicked, "index.swf" opens up...
It's driving me crazy, because my code works on other swf's I've tested it with, just not with index.swf, which leads me to believe there is something in the MainClass.as file which is causing it not to load...
What are your thoughts?
Oh, and many thanks again!!!
M -
Problem loading one SWF into another in Flash AS3
I am trying to load an SWF file in another SWF file. The child SWF file works fine when run standalone like if I set visibility of an item to true or false, it works fine. But when the SWF is loaded into a parent SWF, I am not able to execute such commands, neither I get any errors...
are both swfs as3 swfs?
is the code in the loaded swf and is that code referencing objects in the loaded swf? -
Hi All,
I am new to this forum.
Can anyone tell me how to load as2 swf in as3?
If this is possible,can anyone give me some sample example?
Thanks
HarshalYou can talk to loaded AVM1 (AS1/2) SWF using LocalConnection. I used Grant Skinner's SWFBridge class in the past and worked very well:
http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html
Kenneth Kawamoto
http://www.materiaprima.co.uk/ -
Load AS2 swf into AS3 swf problem
I have a flash with AS3 and inside this swf i load in a AS2 swf.
to load swf works just fine, but the problem is when i load this i want to go to
a specific part of it, for example i want to go to frame 3 in the loaded swf.
i must control this from the AS3 swf, does someone know if this is possible?
thanks in advanceso can i do like this then to go to frame 3 in my loaded swf?
MovieClip(ldr.content).gotoAndStop(3); ?
sorry for being such an airhead
thanks for helping me out =)
Date: Sun, 7 Jun 2009 10:25:09 -0600
From: [email protected]
To: [email protected]
Subject: load AS2 swf into AS3 swf problem
no.
if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
MovieClip(ldr.content).f1(); // to call f1() in the loaded swf
> -
Load AS2 SWF in AS3 SWF with FlashVars
I am able to load SWF which is created using AS2 in to AS3
SWF but I am not able to pass Flashvars to it..
Does any one has any idea, how can I do that??
ThanksYou can talk to loaded AVM1 (AS1/2) SWF using LocalConnection. I used Grant Skinner's SWFBridge class in the past and worked very well:
http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Maybe you are looking for
-
Can we get Multiple production versions in APO
Hi, Is there a way to get multiple production versions into APO, as the info record( we are using) is what drive the creation of the PDS in APO from ECC Is there a way to find out how we can have multiple production versions in APO. Thanks Maddy
-
Sync with the new version of iTunes.
I updated my iTunes today to the new version 11.1.4.62. Since than I can't sync my iPad and iPhone. The laptops can't recognize the Devices.
-
Why doesn't the "Allow Me to be Discovered by..." option appear in Airdrop?
-
Hi all, I'm now practicing for a while with the ESB. I noticed that when I want to construct a non-canonical ESB I really have to think how I wire things together. This is mainly due to a a limited amount of port-types in router services (unless you
-
Importance / Relevance of PFCG Role - EHP5
hello gurus, i am working on an ess implementation on ehp5 enviornment. i understand that in ehp5, roles are controlled through portal as well as through launchpad (pls correct my understandin if wrong) but i fail to understand the importance of PFCG