How access SWF Library items?
Is it possible to access SWF Library items from main FLA?
Ex:
I am loading swf on level1, i want to access level1 library
items from level0 file
You'll need to get the FLA for the file to see how the
linkage is set up. Other option, though not ideal, is to get ahold
of a SWF decompiler, and create a new FLA where you know the
linkage id's.
Similar Messages
-
Problem with accessing external swf library items
Hi,
I have a really annoying problem when I try to access the library items of an external .swf file. It is something I have done many times before using the ApplicationDomain.currentDomain.getDefinition() method. In this particular exmple, however, I am trying to load a .swf file from a full web address rather than locally.
I can load in the .swf and try to set the application domain like the following
* Please note that I amu using bulkLoader
var domain:ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain)
var lc:LoaderContext = new LoaderContext(false, domain);
var path:String = WorldManager.SITE_ROOT + swfPath;
l.add(path, { id:"Kit", context:lc } );
l.start();
The file loads successfully but when I try to access the .swf library assets using the following it cannot access it
domain.getDefinition("Shirt_B04");
If I load the file with a relative path it works.....
Does anyone have any ideas how I can solve this?In addition to David's reply, this technote may help:
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7e6 8a.html -
Accessing Loaded SWF Library Items
In _root level I'm loading a swf that contains button
skins(In library with linkage names)
And I want to load a button skin in _root._mc level. I can do
this using attachMovie but, it adds to _root level because the swf
is loaded from _root level. But, I want it to be added to _root._mc
level. Hopefully this is clear.
1) Load a swf that contains button skins in _root level
2) in _root._mc using attachMovie add a button skin in
_root._mc level NOT _root level.
Thanks,>>that doesn't make sense. you can't attach a library
movieclip that's in loaded swf
-Yes I can I do this all the time. Once a swf is loaded you
can load its library items. This is a trick I learned from this guy
who works for Adobe.
http://orcad.optimumreturn.com/LoadingLibrary.zip
Thanks, -
Templates & Library items - best practice
I've been having a bit of a heated discussion about how
templates and library items should be used on medium to large
websites.
I'm of the opinion that you should have 1 template (or as few
as possible) and any differences be managed with Library items.
My colleague's argument is you should have a different
template for each section, so for example 1 for the news, 1 for the
features section (for magazine sites) so that if you have a banner
section wide you change that template, as opposed to the way I'm
used to which would be 1 template with multiple library items in
the editable regions of the template, my reasoning for this is the
large amount of html used for each template (like rollovers) can
become inconsistent when there's more than one template. Like if
you change something site wide you have to remember to change all
of the templates, if you do this with a simple copy past DW can
still make corrupt code if you use multiple templates.
So basically I was wondering if there was a standard or best
practice way of doing this.
ThanksYour colleague is mistaken IN MY OPINION. I think you are on
the right
track *unless* your section pages are *SO* different in
layout that you
cannot conveniently include all of the
alterations/permutations in a single
template page. Further, my current workflow is to rely
heavily on
server-side includes within template pages, as described here
Templates do make your life much easier. I use the following
scheme....
First, I mentally separate the page layout into three
sections:
1. Stuff that will not change for the life of the site (i.e.,
the basic
structural elements)
2. Stuff that *could* change from time to time (e.g.,
navigation elements,
burst advertisements, section-specific navigation, etc.)
3. Stuff that *will* change from one page to the next
Then I create a template containing all class1 elements. Next
I create
server-side include files containing all class 2 elements and
place them on
the template as needed. Note - some of the class 2 elements
may be
"section-specific elements", and their placement on the
template will be
subject to the next item. Finally, I insert editable regions
to cover the
class 3 items, INCLUDING the section-specific navigation.
This allows me to just cookie-cut the rest of the site. I
estimate that
even for fairly large sites, about 80% of my work goes into
planning and
creating this template file.
For what it's worth, I never use Library items....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"tefnut" <[email protected]> wrote in
message
news:[email protected]...
> I've been having a bit of a heated discussion about how
templates and
> library
> items should be used on medium to large websites.
> I'm of the opinion that you should have 1 template (or
as few as possible)
> and
> any differences be managed with Library items.
> My colleague's argument is you should have a different
template for each
> section, so for example 1 for the news, 1 for the
features section (for
> magazine sites) so that if you have a banner section
wide you change that
> template, as opposed to the way I'm used to which would
be 1 template with
> multiple library items in the editable regions of the
template, my
> reasoning
> for this is the large amount of html used for each
template (like
> rollovers)
> can become inconsistent when there's more than one
template. Like if you
> change
> something site wide you have to remember to change all
of the templates,
> if you
> do this with a simple copy past DW can still make
corrupt code if you use
> multiple templates.
>
> So basically I was wondering if there was a standard or
best practice way
> of
> doing this.
>
> Thanks
> -
Accessing External swf's library items
Hi,
I am Using AS2 having a Main swf in which i am loading
external swf (I want to access the loaded swf 's library item in
the main swf is it possible), means i want to attach a movieClip
from the second swf, to the first is it possible.Thanks kglad. It seems that we are bumping up against the
limitations of Flash for building complex applications (and not for
the first time). I come from the Java world, where doing something
like this would be a no-brainer. Claus Wahlers has developed an
AS3 class to
solve this very problem, but unfortunately we are restricted to
AS2 at the moment.
Still, I'm surprised that no one else here has encountered
this issue. For instance, someone who was writing a Flash video
game that loads a new set of assets after each level cleared would
need some way to do this. -
How do i copy library items to a new users when my finder wont open?
i had the problem of my finder opening and closing constantly, i got told i need to create a new user which i did, the finder problem does not occurr in the new user, i then got told i need to copy my library items i want over to the new users but i cannot do that because the finder keeps closing my windows, any tips on how to access these folders not through the finder?
thabks, nervous kiwi.if finder is quitting unexpectedly during use, this is not a good thing.
if it is not persisting in a new user, then it is a corrupt user preference.
there are ways of accessing the data you are looking for without using finder, but if you are going to go that route, you may as well try and fix the finder issue you are having.
you will need to do all this through terminal.
you can probably just rename the ~/library/preferences folder to preferences.old then restart and log in to your user. and then it should work. the draw back to this, is you will lose your preferences. but you can always move over the ones you want back throught the finder window once it is working again. -
How to use a Spry Menu as a Library item?
Okay, this is my second post; but, with a different title.
I made a Spry menu for my Home Page. I saved it and a logo
together as a library item and placed the library item on a second
page. The links in the menu work when there is no style sheet
attached for the Spry meny and the menu appears just as text; but,
as soon as the .css style sheet for the menu is attached to the
second page, the menu appears correct except the drop down menus do
not work. I tried adding a link to the Spry Java Script file as it
is on the home page; still no luck.
I tried the same with a test file, which I have since
removed, stored at the same folder as the home page; same problem.
How are we suposed to make a workable library item with a
Spry Menu? Surely this is possible, no?
Here are the two pages I am referring to:
Good Page:
http://iculver.com/
Bad Page:
http://iculver.com/pages/AboutUs/Personal_info.htmlApologies - my mistake. You are correct, and my instructions
were
incomplete. That other bit is required too.
> Now, I thought (probably in error) that items after !--
were comments, but
> it
> seems to be required, too. I tried eliminating taht part
and the menus did
> not
> work. I need all of this last part.
The comments 'hide' the scripting from validators and older
browsers, but
it's still recognized as javascript, since the comments occur
INSIDE a
<script> tag.
> these Spry Menus in Libraries easier to use...)
It's not so hard once you get all the pieces together.
1. Create the library item as described.
2. Make sure that each page that is to carry this library
item has the
required links in the head (to the CSS and the js files), AND
in the body.
Why not use a template instead? That way, all of these links
are managed
for you.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"JustBob" <[email protected]> wrote in
message
news:[email protected]...
> Hummm...
>
> Now, don't yell at me, okay? I'm a goLive switcher and
really a graphic
> designer, not a coder...
>
> So, It seems from the above message that I am to
establish the links to
> the
> script and the css file before inserting the library
item. But, either
> way,
> that didn;t do the trick for me. I did find a bit of
code in one of the
> pages
> that seems to be required.
>
> It seems I also need to insert this just before the
close of the body tag:
>
> <script type="text/javascript">
> <!--
> var MenuBar1 = new Spry.Widget.MenuBar("MenuBar",
> {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
> imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
> //-->
> </script>
>
> Now, I thought (probably in error) that items after !--
were comments, but
> it
> seems to be required, too. I tried eliminating taht part
and the menus did
> not
> work. I need all of this last part.
>
> I'm sorry I'm such a dope. I probably did something
funny when I was
> styling
> the menu. (I do hope Adobe can accommodate dopes lime
me, though, and make
> these Spry Menus in Libraries easier to use...)
>
> Thanks for all of your help! Really!
> -
cant seem to access that library from my second computer- logged in to iclouds.. how do i access my cloud in Itunes from anotehr computer?
I also cn plug my device- iphone- into my computer.. but cant hear play back? What in the world am i doing wrong here?Ive done that.. a laptop at home and one at work.. one I can get it on- the other it shows the libary now that ive matched it- but its all grayed out and i cant access it
-
How I add a LIBRARY ITEM to a page layout, top/bottom ?
how I add a LIBRARY ITEM to a page layout, top/bottom ? in
dwmr mx 2004 and cs4 ?Have you looked at the DW help file - it will explain all
about library items :-)
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
CSS Tutorials for Dreamweaver |
http://www.adobe.com/devnet/dreamweaver/css.html
Book: Ultimate CSS Reference (aff link) |
http://www.sitepoint.com/launch/005dfd4/3/133
http://twitter.com/nadiap
"lse987" <[email protected]> wrote in
message news:gpsvtt$t5q$[email protected]..
> how I add a LIBRARY ITEM to a page layout, top/bottom ?
in dwmr mx 2004 and cs4 ? -
Help: How to add a library item to hide the default Window menu
Hi,
In this post: Help: How to add a library item to hide the default Window menu, it described how to create an menu that will hide the default window menu.
I'd like to know if there a way to put this component into library so that others can directly inherit this menu in other FORMS and how to implement it.
JimmyHi,
I found the solution and the post was not properly phrased. There is no need to add menu into library. All we need is to put the compiled menu into Oracle AS and add the menu name the menu module of the given form.
Thanks.
Jimmy -
How to use the item of table(ms access) in pl/sql
I want to use oracle forms builer developer application with ms access database
I don't know how to use the item of table in the pl/sql;please help me !MERGE INTO EmpDept Target
Using (SELECT E.Address,
e.Design,
e.EmailId,
e.EmpId,
e.Ename,
e.ManagerId,
e.Salary,
D.DeptId,
D.DeptName,
D.Location
FROM Employee E
INNER JOIN Dept D
ON E.DeptId = D.DeptId) AS Source (Address, Design, EmailId, EmpId, EName, ManagerId, Salary, DeptId, DeptName, Location)
ON Source.EmpId = Target.EmpId
WHEN NOT matched THEN
INSERT (Address,
Design,
EmailId,
EmpId,
Ename,
ManagerId,
Salary,
DeptId,
DeptName,
Location)
VALUES (Address,
Design,
EmailId,
EmpId,
EName,
ManagerId,
Salary,
DeptId,
DeptName,
Location)
WHEN matched THEN
UPDATE SET Address = Source.Address,
Design = Source.Design,
EmailId = Source.EmailId,
Ename = Source.Ename,
ManagerId = Source.ManagerId,
Salary = Source.Salary,
DeptId = Source.DeptId,
DeptName = Source.DeptName,
Location = Source.Location; -
How do I access a library already on an external drive, from a new computer?
I moved my library from an old hard drive onto a larger external drive, following the online instructions and then continued to use the old machine to access the library. I now want to swap computers completely (the library can stay where it is) but am baffled by how to do this.
Looking at the folders on the external drive there are noi library files just media filders and files.
I've ensured that the new laptop sees the external drive as it was (ie its ths G drive on old and new machines).
I have pointed iTunes at the relevent folder
I have deauthorised everything and then authorised the new laptop
When I open iTunes I have nothing....
The helpdesk are trying.....
Old machine was XP, new machine is W7
HELP!The library file is still on the old computer in the iTunes folder.
Move the entire iTunes folder from the old computer to the new computer. -
One of my authorized devices was erased. I downloaded iTunes. Says my iPod is already synced to a library. It will allow me transfer purchased songs but not songs I had that were downloaded off of my CD's. Where do I access that library and how do i get it back on iTunes? I tried manually move songs in disk mode. Now I have a bunch of data on ipod and I don't know how to remove it. It basically copied all my itunes files from my C drive onto ipod in my efforts to move the library.
When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive. It would be a few months old so it wouldn't have the complete library on it....any ideas? I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.
-
I had my itunes library on an external drive, I now have a new Windows 7 computer. How can I access my library?
Hello, robertfromboulder city.
Thank you for the question. You can direct iTunes to read your media off your external drive. To do this, follow the instructions below. See the section in the first article labeled Discovering and changing the iTunes Media folder location.
Where are my iTunes files located?
http://support.apple.com/kb/ht1391
iTunes: Back up your iTunes library by copying to an external hard drive
http://support.apple.com/kb/ht1751
Cheers,
Jason H. -
I have deleted a song from my library and want to re-download it. When I access my purchased items in the iTunes store, the song has the 'purchased' button next to it and won't let me re-download. Any suggestions for things to try?
While you can redownload most past purchases without charge, you can't redownload movies without paying again. See Downloading past purchases from the App Store, iBookstore, and iTunes Store: http://support.apple.com/kb/HT2519
Maybe you are looking for
-
Hello, I have linked documents through Create external document (URL) and need to find where the URL actual address is stored - what table? or a function module that can retrieve it? Help required ASAP. Thanks.
-
What is the reason contract phones cannot be used on a prepaid plan?
I originally posted this question in the Basic Phones forum, but I think that may have been the wrong place to ask this. I am interested in activating a phone on the $50 basic phone prepaid plan, but the phone I tried to activate would not work. It
-
Hi! We have and old theme in our 7.00 portal. Is is possible to migrate this theme to a Webdynpro Abap theme - using the NWDS theme editor? Best regards, Ronni
-
Using CURRENT_ITEM_NAME in Read-Only Logic??
Is there a way to get the current item name in the read-only sections? I'm trying to pass the item name to a function to decide if it should be read-only. Thanks! btw, I'm using version 2.2.0.00.32
-
How do I remove the old Adobe Updater?
I have two Adobe items in my menubar (see attached image). I'm now using CC, so I want to get rid of the older updater. How do I do that?