.swf Loader component
Could someone kindly explain to me how the swf loader component works? How can it be used?
Thanks in advance for any help!
Hi,
Goto following link, will help you
http://ryangoodman.net/blog/index.php/2008/02/14/adding_a_pre_loader_in_xcelsius_dashboar
http://help.sap.com/businessobject/product_guides/xcelsius2008SP3/en/Xcelsius2008_FP3.1_release_notes_en.pdf
http://saptechblogsxcelsius.blogspot.com/
-Obaid
Similar Messages
-
Xcelsius Parent/Child SWF Loader with BICS Connections
We have several Xcelsius Dashboards that use BICS connections to retrieve data from BW queries that we'd like to combine into one Parent/Child tabbed dashboard. I can't seem to find solid information on if this is possible using a SWF Loader component due to the BICS requirement of being published through BW Portal and not InfoView. Does anyone have any ideas (short of combining them into one huge dashboard due to the volume of data)? Thanks!
Hi Chris,
I have been working with SWF loader on the SAP portal using the BICS connection type. It was not supported last time I asked about a year ago. However, it can work if you specify the URL in the SWF loader in this way:
http://sapwebdisp.vestas.net:8103/bicsremotebex?SWF=XXX&TIMESTMP=1318867468000
XXX is the name you publish your child dashboard under. Data can be exchanged between the parent and child dashboard by using the custom component "Data sharer" from Inovista which can be downloaded for free:
http://www.inovista.com
Besides the fact that this setup is unsupported there are some limitations so from my point of view it should only be applied under the following conditions:
1. It is not possible to build eveything into a single dashboard.
2. A solution having several independent dashboards does not make sense.
An alternative might be the setup described in note 1526291. The way I understand it, it binds the dashboards together in a similar way as on a BO server with flash variables.
Regards,
Michael -
Loader component loading swf bigger as it is?
Im loading second.swf in main swf using a loader component,
second swf is has a stage size of 800*85, i load it in a
component with the same size, and scaleContent = true
This goes wrong, after investigating second.swf it actualy
has a stage size but some components on the size like a textfield
goes beyond the stage (which is necesarry to be able to load enough
text in it (it starts scrolling then to be visible on stage), when
i test second.swf, i get a 800*85 swf.
But when i include it in an other swf and autoscale it, it
seems like flas includes the objects outside the stage from
second.swf to do the scaling.
Ideas to avoid this fenomenon ?the loaded swf will include objects that are off-stage. it
wouldn't be satisfactory if those objects were "omitted".
if you want second.swf to appear the same in main.swf,
main.swf will need to have the same stage size as second.swf or
you'll need to mask second.swf's target to make it appear the
same. -
How make the swf loaded in swfloader component to be transparent?
Hi,
I use the swfloader component to load many swf file into my project,but how do I make the swf loaded in swfloader component to be transparent? Just like the swf to be set transparent in HTML!
Thanks a lot.
DavidNobody can help me?
-
How can I regulate the volume of an SWF that I load through a
loader component? I am loading several SWFs, each has its own
audio, so it's producing a cacophony of sound. I've already tried
stopAllSounds(); and no luck.
Any ideas? Thanks!Hi,
Goto following link, will help you
http://ryangoodman.net/blog/index.php/2008/02/14/adding_a_pre_loader_in_xcelsius_dashboar
http://help.sap.com/businessobject/product_guides/xcelsius2008SP3/en/Xcelsius2008_FP3.1_release_notes_en.pdf
http://saptechblogsxcelsius.blogspot.com/
-Obaid -
Loading and Unloading of swf files in SWF Loader
Hi all,
I have a doubt reg. SWF Loader.
I have created two mxml files A & B.
A. local.mxml
B. SwfSample.mxml
i have two labels and a button in A file and i have set values to those labels and have a method to handle the click event of the button. In B file i have loaded this A file and accessed the labels and methods using SystemManager Component and changed the values of the A file's label and accessed data from A file to B file.
Here comes the problem,
I have two buttons named LoadAgain and Unload
When i click the Unload button, the SWF Loader unloads its content by the method i handled for the Unload button, after that i have clicked on the LoadAgain button to load the same content of A's mxml to the SWF Loader, it loads succesfully,but i was not able to access its Label or Method from the B mxml. Please help me to solve the issue.
local.mxml
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml layout="absolute">
<mx:Script>
<![CDATA[
Bindable]
public var varOne:String = "This is a public variable";
public function setVarOne(newText:String):void
varOne = newText;
]]>
</mx:Script>
<mx:Label id="lblOne" text="I am here" x="28" y="88"/>
<mx:Label text="{varOne}" x="166" y="88"/>
<mx:Button label="Nested Button" click="setVarOne('Nested Button Pressed');" x="28" y="114"/>
SwfSample.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.managers.SystemManager;
import mx.controls.Label;
Bindable]
public var loadedSM:SystemManager;
private function initNestedAppProps():void
loadedSM = SystemManager(myLoader.content);
public function updateLabel():void
lbl.text = loadedSM.application[
"lblOne"].text;
public function updateNestedLabels():void
loadedSM.application[
"lblOne"].text = "I was just updated" ;
loadedSM.application[
"varOne"] = "I was just updated";
public function updateNestedVarOne():void
local(loadedSM.application).setVarOne(
"Updated varOne");
public function unload():void
myLoader.content.loaderInfo.loader.unload();
public function loadAgain():void
myLoader.load(
"../bin-debug/local.swf");
]]>
</mx:Script>
<mx:Label id="lbl" x="72" y="47"/>
<mx:SWFLoader id="myLoader" width="438" source="../bin-debug/local.swf" creationComplete="initNestedAppProps();" y="73" height="238" x="72" alpha="1.0"/>
<mx:Button label="Update Label Control in Outer Application" click="updateLabel();" x="72" y="319"/>
<mx:Button label="Update Nested Controls" click="updateNestedLabels();" x="72" y="349"/>
<mx:Button label="Update Nested varOne" click="updateNestedVarOne();" x="72" y="379"/>
<mx:Button label="Unload" click="unload();" x="72" y="409"/>
<mx:Button label="Load Again" click="loadAgain();" x="72" y="439"/>
</mx:Application>
Thanks & regards,
Sathish.KcreationComplete only fires once when the SWFLoader is created. Therefore you never reset your variables to point to the new sub-app. On a slow network, creationComplete may fire before the sub-app loads. It is best to use the COMPLETE event.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
AS 2.0 Loader component question
I have a site that has a gallery with 40 images, takes a long
time to load so I need to find the best way to correct. The files
that load manually now are movieclips that play in 10 second frames
in their own timeline with an alpha effect on each all the jpgs and
other files are in the main fla which is huge because of this. I
was going to use the loader component but I see you can only use
for .jpgs and I can't put the effect on jpgs, other obvious way is
using loadMovie but then I have to convert all mc's to separate
swfs. Before I go that route is there another way to do this?
rderfI have a site that has a gallery with 40 images, takes a long
time to load so I need to find the best way to correct. The files
that load manually now are movieclips that play in 10 second frames
in their own timeline with an alpha effect on each all the jpgs and
other files are in the main fla which is huge because of this. I
was going to use the loader component but I see you can only use
for .jpgs and I can't put the effect on jpgs, other obvious way is
using loadMovie but then I have to convert all mc's to separate
swfs. Before I go that route is there another way to do this?
rderf -
Loader Component in screens/app piece
I have an e-learning shell set up using the apps template. I
have several screens that have external swfs loading into the
loader component. With the auto load on the component the swfs all
automatically play upon load of the the app. If set to ffalse no
load upon the app loading. I do not want them to load when the app
loads only when you would move to the particular screen they are
on. I can put a play and stop button in the external swf but I
would rather that they play automatically when the user navigates
to the screen they are sitting on. Any ideas on actionscript to
control this?
Thanks!I don't understand your explanation.
Is the SWFLoader loading a full SWF or an embedded symbol? What is an invisible mode and how do you know it is in that mode?
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Can I have two loader components in one flash file (my main web page) I have a main loader for my pages to load into when the corresponding button is clicked. I need to add a second one for a small .swf file of a interactive calendar. So I guess I need another loader . I tried to add another loader to my main flash page and it said something like this component is in use or has same name. I looked in my library and changed the name of my other loader to myLoader and it is still giving this wierd error. Is is possible to use the Loader component twice in one flash document? I also don't have them in the first frame of my document because I have an animation that plays through first.
I'm only trying to interpret what that message is telling me in this response. It seems to be indicating that you have some object in the library that you have named "calLoader" and assigned it a linkage ID of Loader (possibly by default) as well as another object in the library named myLoader that has the same linkage ID (possibly by default).
If these two objects are the same component type, then you only need one of them in the library. The different naming of them can be managed on the stage. -
Hey guys...
I'm back. I am still working on this site, and have worked
through numerous challanges and gotten through, but I have now hit
a roadblock that I cant seem to conquer... Here is the
situation....I have a “main” file.... I am using the
technique of loading external swf’s into a loader component
on the main file. So each individual page is a different swf file.
I have the navigation set up in a seperate swf file as well, and
have the nav bar loading into another instance of the loader in the
“main” file. The navigation has its own action
scripting that animates it, and I have written action script so
that when you click the buttons (I have attached the code that I
wrote for the buttons), the other loader on the main page should
load the corresponding swf... (still with me?) well I preview the
“main” page and it runs great and the home.swf
automatically loads and the nav loads (and animates), but when you
click the buttons nothing happens... I hope someone can help me
through this problem.... Thanks so much in advance...........Doesnt anyone know how to help me with this issue?
Best,
Ken -
Loader Component IE7 Scaling Content Issue
Hello,
I have an image gallery that is using Loader components to
pull in the thumbnails and i have the scaling set to true, but in
IE7 it is very inconsistent in scaling... IE6 and Mozilla work
great, but IE7 is inconsistent... click on the top left to view
image galleries, then select Family or Weddings and you can see
what i mean..
http://www.gummyinteractive.com/projects/infinite/
thanks in advance!Yes, because of the size of the stage being larger than that
of the Loader and loaded SWF, you will see it rendered 'outside'
the Loader component.
Simply mask the area of the Loader Component, in the loading
SWF. -
Loader component not scaling content
I am using a loader component to load an external swf into
main movie. As swf plays, content that should be off stage is
showing outside the box of the loader. Scale content is set to true
and swf is sized down, but will not stay within loader.Yes, because of the size of the stage being larger than that
of the Loader and loaded SWF, you will see it rendered 'outside'
the Loader component.
Simply mask the area of the Loader Component, in the loading
SWF. -
HI, we have a situation which has done our heads in for two
days non-stop,
We have a pre-loader loading the area's and then have the
loadmovienum to load in additional swf's now when we use the nav
bar at the top of the page, it opens the right file but when it
loads the page it moves onto the next load movie for some reason
with out stopping, even though the stop command is in place....
We have uploaded the dodgy version which you can test and see
what problems we are having, the contact page is the same as the
service page for the moment, but you will see the contact page
display the "cloned" service page then it restarts the whole movie
Here are the URL's to the zip file with all the swf's and
fla's including the live what we have done so far online version.
http://www.drsolutions.co.uk/premiere/wwwroot/
http://www.drsolutions.co.uk/premiere/fla/premiere.zip
Please reply asap thanks
PS WE ARE USING FLASH 8Ok... I figured out how to get the swf to play correctly. I
changed my publish settings to Flash 8 Player. This worked in
getting the external swf to load... Now I ran into a new problem,
hopefully someone can help me with this.... I need the swf to load
in a VERY specific location, and at the EXACT scale as the original
swf file. I have attempted to accomplish this by opening the
original file that I am attempting to load. I selected all of the
elements on the page, and looking at the X and Y coordinates, as
well as the over all pixels measurement... then I placed these in
numerals in the fields for the loader component in the "mother"
file. I previewed it, and the placement and scale are wrong... how
do I overcome this?? How can I control where the loader component
loads and at what scale?
Ken -
Rendering of SWF Loader child SWFs
I am using the swf loader with an Xcelsius OpenDoc link (http://<server>:8080/Xcelsius/opendoc/documentDownload?sIDType=CUID&iDocID=<CUID>&sKind=Flash&CELogonToken=<CELogonToken>) and it works beautifully so long as the parent swf is also opened using and OpenDoc link. However, if the parent swf is opened via InfoView, the child swf does not render properly (either way too large or too small). Has anyone else come across this or have any ideas for resolution?
Regards,
Alison"whomba" <[email protected]> wrote in
message
news:glq6j0$b20$[email protected]..
> Hello all,
> I have a Flex app that loads in a swf using 'SWFLoader'
tag. the SWFloader
> and
> the swf being loaded in are the same height and width
(see attached code)
> Now,
> the SWF getting loaded in is also 468 X 351 however the
designers that
> made it
> have crazy amount of random Movie Clips EVERYWHERE that
isn't on the
> stage. My
> guess is that the actual height and width of the SWF is
close to 1000 X
> 1000.
> When I load this SWF in to my SWFLoader it scales
everything down so all
> of the
> MovieClips are inside of this SWFLoader rather than just
the SWF's Stage.
> Any
> Suggestions?
>
> <mx:SWFLoader id="mainMovieSWF" height="351"
width="468"
> source="{mainMovieSrc}" scaleContent="false"/>
Try wrapping it as a component with the Flex component kit.
That way you
get to specify the bounding box.
HTH;
Amy -
Flash MX2004 Loader Component Question
Hi all,
I have a question regarding the loader component that ships
with Flash MX 2004. I am using the component to load .swf files. As
far as I can tell, the component will not begin to play a .swf file
until it is 100% loaded. Is this correct? If not, is there any way
to make it play as it is downloading? This IS possible with the
MovieClipLoader class but I currently have a complex application
built using the loader component.
If anyone has any suggestions, I would appreciate it.
Additionally, I could extend the class if anyone can point me in
the direction of what would need to be changed in the class.
Thanks,
JohnI'm only trying to interpret what that message is telling me in this response. It seems to be indicating that you have some object in the library that you have named "calLoader" and assigned it a linkage ID of Loader (possibly by default) as well as another object in the library named myLoader that has the same linkage ID (possibly by default).
If these two objects are the same component type, then you only need one of them in the library. The different naming of them can be managed on the stage.
Maybe you are looking for
-
IPod Nano and universal dock with remote.
i am looking to dock my nano on the universal dock and use it to connect to my stereo with the remote to change songs should i get the av connections kit. does the remote work well
-
QuickSilver G4 (M8360LL/A) Power Supply W/Dead Fan, Would Like To Discuss
Hey Everyone, I recently discovered my Power Mac QuickSilver G4 (M8360LL/A -- http://support.apple.com/specs/powermac/PowerMac_G4Quicksilver.html) has a dead fan within the power supply. Running an open-case test shows all other fans are working fine
-
Hi all ! Can i call a jsp-method by clicking on a html-link ?? The method: <%! int month=2; public void forward() { month++; %>And now i want to call the method with a link. Something like this: <a href="..." onclick="forward()">Click
-
Launch lightbox slideshow by clicking on pic or text?
Hi guys, Last question for tonight, it's the big one: how can I configure something so that upon click, it'll launch a lightbox image or slideshow? For example: - If I have a pic in a text box that is essentially acting as a thumbnail, and I have in
-
How to output surround 5.1 audio to Compressor?
I have 6 mono .wav files which I've set levels, fades, etc. in FCP, along with my picture of course. But when I send the sequence to Compressor, it asks to Add Surround Sound, and then seems to be looking for various files to be dragged in. Should I