Variable = library item's properties
Hi.
I have several Movie Clips on my project's library and I need
to retrieve their properties in order to assign them to certain
variables. at a given point I will attach those MCs to the stage,
but I needed their widths, heights, etc. before, in order to
calculate the positions where I'll attach them and other MCs. So
what I need to know is if there is a way to retrieve those
properties directly from the library, perhaps using linkage ids or
something of the kind, without needing to have the MCs attached.
Thank you in advance.
maguskrool,
> This is sort of a game and the objective is to fill the
Stage
> with as many MCs as possible. You begin with a random
> MC and when you place it a new random one appears
> and so forth. You can't place MCs over others already
> placed.
// more, snipped
Your description is thorough, which isn't common enough in
questions
posted here.
I applaud that. The "trick" you mention -- of
attaching
clips invisibly, then gathering data -- is a good one.
The fact remains, for better or worse, that your data are
not accessible
until the movie clips have been attached. They simply aren't
available to
ActionScript until present on the Stage.
You mention "all those arrays," but I only see that one
array is
necessary. In fact, you don't actually *need* arrays at all,
since you
could create a single "container" clip at the very beginning,
set its
MovieClip._visible property to false, then attach the other
clips as sub
clips of that. Once gathered there, you could loop through
the container
clip's properties using the typeof operator to determine
which ones are
movie clips, then access widths and heights as needed.
Personally, I
*would* use an array, but just one. Create that container
clip and set its
_visible to false, then as you attach each Library clip, push
that clip's
instance name into the array. In one swoop, you have access
to each clip's
width and height.
var hiddenClips:Array = new Array();
container._visible = false;
hiddenClips.push(
container.attachMovie(
"libClipA",
"mcClipA",
container.getNextHighestDepth()
hiddenClips.push(
container.attachMovie(
"libClipB",
"mcClipB",
container.getNextHighestDepth()
// etc.
Then later ...
hiddenClips[0]._width
hiddenClips[1]._height
// etc.
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design."
Similar Messages
-
Dreamweaver Teamplate with Library Item for Navigation/Sidebar not updating editable classes
I have a Dreamweaver Template that contains two Library items. One Library item is my navigation bar, the other is a sidebar that shows different content depending on what page you are on. I'm assigning an editable class "active" to the navigation bar to show you are on a particular page, and also assigning the editable class "active" to the sidebar to reveal a portion of the sidebar with links pertaining to that specific page. The default value for the class is "hidden". So what is happening is when I open a page I have created and "edit" the Library Items in it to edit these classes, it resets resets all the other pages on the site to the default class values. How am I able to use editable classes and Library Items to achieve this kind of functionality? The idea is to only have ONE navigaton bar to update on the site and to only have ONE sidebar item to update. Here is an example of the sidebar and navigation in action so you can see what I'm going for. Notice the green button in the navigation bar (that is a list item with the class "active" which is an editable class in the Library Item, also notice the tan links in the sidebar, that is an unordered list that has an editable class of "active" in the Library Items --- these editable classes reset to their defaults when updating the Library Item on the website).
http://www.brumleve.org/joe/temp/CAP/mission.htmlIn my understanding, whenever you edit the contents of a library item, it will update all other occurances of this library item on the rest of the site. That's "working as designed" as far as I know, unless you break the link by telling it to not update - which kinda defeats the purpose I think.
But theres another way to do this using template properties, i#ve been using this approach myself a couple of times:
Write your navigation bar in the template (.dwt) file itself, then select the class= of your first menu item and choose .. (names might be off, I am using a non-English copy of DW): "modify > template > make attribute editable" from the main menu. Do so for all your menu items and name these new template properties something like "item_x_class"
You'll end up with something like this in your template source:
<div class="@@(item_1_class)@@">
and a matching
<!-- TemplateParam name="item_1_class" type="text" value="active" --> in the header
Now, on each page, you can set the class within the template properties dialog ("modify > template properties"). If your main menu changes, it won't overwrite your template properties, but still update all pages when you do make a change to the menu.
If you're using multiple templates for your site, consider nesting templates, so the master template already includes your navbar and all subsequent templates will "inherit" changes to the navbar code (sans the editable class property).
Hope this helps.. or at least gives you an idea for further experiments..
Stephan -
InDesign CS4 Library- can't get library items on to pages
I'm fairly new to InDesign CS4.
A book I'm reading has a tutorial telling me to drag library items from the library to a page.
This is a library that the book author created that came with the book.
However, I can't get material from the library to any of the pages.
Anytime I try dragging any of the images or other items from the library to my page in InDesign CS4, I get a small "No" symbol (a circle with a slash through it).
So I clicked on the image in the library that I wanted to add to the page, and using both the content menu (and later, the library panel's menu) to select "Place Item," nothing happened.
How do I get content in a library on to a page?
Dragging and using "Place Item" are not working for me.Hello, Lee Sarah, and thanks for answering.
If I understand you correctly, this is what I did:
I "right" clicked on the Library file icon on my hard drive, called "Healthy Pets CS4."
This brought up a context menu.
From there, I went to "Properties."
Under "Properties" > "Attributes," "Read only" is not checked off, nor is "hidden" checked off.
In the "Healthy Pets CS4 Properties" dialog box, I then clicked on the the "Security" tab, which brought up all sorts of stuff about permissions, read /write, etc.
I guess I should mention at this point that I'm on a computer running Windows Vista, since this might be pertinent to my issue (?)
Although it's my computer, it has me on here as two different people (I'm on as Administrator and under my first name, which let's just say is "Graphics Cuddly Bear.")
On the "Security" tab page of the dialog box is a heading called "Group or user names," and from there, depending on which name you pick from the user names, different options get high lighted in the ""Permissions for Authenticated Users" box below it.
So, under "Permissions for Authenticated Users" (when the users "Autheticated Users" and "Admins" are selected) the following are checked off with a check mark,
(as if to say, "These are the things you have permissions to do with this file"):
Modify
Read and Execute
Read
Write
The only things I do not have permissions for when I check off "Administrator" on that list is "Special Permissions."
When AU (Autheticated Users) is checked it says I do not have "Full Control" or "Special Permissions."
However, when I clicked on my name (GCB - "Graphics Cuddly Bear") under the heading of "Group of user names," these two things are the only ones checked off:
Read and Execute
Read
So I went in to another area of this box and gave my account ("GCB") the "Write" ability.
When I went back to the box, a check mark next to "Write" then appeared. So it appears to be telling me that under GCB, I can now write to that file.
So when I opened and closed out of InDesign and re-opened it, it still will not allow me to drag the files/text/images from the library.
I still get the little "No" symbol.
It also still will not let me use the "place" command, either.
I've gone ahead and worked thorugh this chapter without being able to use the author's library items, but it makes working on her tutorials very difficult.
And it's rather pointless, since the entire chapter is about how to use the software's library.
I got a response from the book's publisher (Delmar / Cengage) to ask them for help, if they would provide me with working copies of the files, or some other work around, and they were NOT the least bit helpful.
A representative from Delmar/ Cengage e-mailed me to say that because I purchased the book at Amazon's site (rather than from them directly) that they would not help me, which I thought was cruddy and not classy.
I don't see that it entirely matters where I bought the book from; they're the ones who made it. -
Hi,
I am getting a "Internal error occurred" message when I try to drag and drop common library items on to my canvas.
I have noticed that there are a number of these error messages and tried one solution of renaming a couple of files, I tried this and no joy.
Has any one go a solution for this before I purchase Fireworks please?
Kind regards,
Dave GI can no longer get Firework CS6 to run - The program loads but without any toolbars/properties etc. It just has an 'AN INTERNAL ERROR OCCURRED' message that cannot be dismissed. The only way to close the program is via Task Manager (this is on a Window 8 PC). I have uninstalled the program, rebooted the PC and re-installed (several times) but it has not resolved the problem.
Fireworks is part of my Creative Cloud subscription and when reporting this via the live chat I was given the telephone number for Seagate Drives ??
Anybody got a solution?
Or, does anybody know how to open native Fireworks CS6 png files in Photoshop *but* with all the Fireworks layers preserved.
Think I'll also post this as a new topic as the problem is slightly different to SirBasher's issue. -
Problem opening correct Fireworks program to edit Library item
I am working on a PC with the CS3 Suite -- Dreamweaver,
Fireworks, Photoshop, Flash, Illustrator, and Bridge. I used MX2004
before upgrading.
I have a Library Item I want to edit that was created in
Fireworks CS3. It is a "Fireworks HTML" rollover menu.
I open the Library item in DW CS3 and then go to the
"Properties" window and push the "Edit" button, which should open
the Library file in Fireworks CS3.
Instead, I get a message that DW CS3 is unable to launch
"Macromedia\Fireworks MX 2004\Fireworks.exe"
I have gone to "Edit" and then "Preferences" and ensured that
the File Types/ Editors for .png, .gif, and .jpg. jpe. jpeg is set
to "Adobe Fireworks CS3\Fireworks.exe"
Does anyone out there know what else I can do to correct this
problem?Do you still have Fireworks MX2004 on your system? If so, I
would remove it. If you are using Windows, you may need to edit the
Registry to remove entries for Fireworks MX2004. Also make certain
that all references to FW MX2004 are removed from Dreamweaver CS3's
preference window in the File Types/Editors tab.
Cheers,
Skip Keats -
Library Item update in XSL page.
This has more than likely been asked before, but is it a known bug that Dreamweaver (my version is CS4) doesnt update a Library Item if its included in an XSL file?
Do you have CSS rules defined in the Library item? A well
formed Library
item must never contain CSS rules, or <html>,
<head>, or <body> tags. Does
yours?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"cliff man" <[email protected]> wrote in
message
news:flljfh$ek0$[email protected]..
>I am using Dreamweaver 8.
> I have created a page:
www.americas-outback.com/contact.html that has
> contact
> email links plus a navigational bar at the left that is
a library item.
> No
> matter what link colors I tell the program to use
through the page
> properties
> of the page itself, it uses the link properties of the
library item
> (navigational bar). I am not much of a code person, but
I see them in the
> actual code of the page. I am wondering if there is a
way to have
> separate
> link colors for the email links on the page. I want this
because the
> background color of the page is actually supposed to be
darker (matching
> the
> color of the other pages on the site, but the visited
link color in the
> library
> item is the same color as the background page and
therefore doesn't show
> up.
> Any help would be appreciated.
> Thanks,
> Cliff
> -
DW removes spaces surrounding updated library items
I've filed a bug with Adobe on this issue, but I'm wondering
if anyone else has received a fix for what I consider a
showstopping bug. In a nutshell, whenever I update a library item,
DW removes all spaces surrounding the updated library item, and
will even remove spaces surrounding unrelated library items during
the same operation.
For example, let's say I have a simple library item that
contains only the character "^". I insert that into a page to
render like this: "| ^ |", using normal spaces in the page code to
separate the three characters. If I then edit the library item to
use the character "-" instead, all updated pages will lose the
surrounding spaces: "|-|".
I've developed hundreds of library items over the years, and
can reproduce this over the last three versions of DW (8, MX 2004,
MX), on multiple computers using new code or existing sites. If I
edit a single library item, it corrupts hundreds of pages in a
large site, and I have to use special searches to find and fix the
error. I can't believe that noone else is affected by this problem,
or isn't using library items to the extent that I do.
I'd really like to see library item functionality repaired,
and this is my last appeal before finding a replacement for DW, Are
any DW developers monitoring this list?> bug is just as capable of affecting SSI
I don't think so. At least, I have never seen it happen. Have
you?
> Library items are particularly aimed at professionals
managing large
> sites.
I don't think so here, either. Why would one EVER choose a
Library item
over SSI? On a large site, you would upload hundreds if not
thousands of
files for each change with the former.
> It is an opportunity to
> create reusable code that can be managed and edited in
one central
> location, so
> that changes to a single file can be replicated
throughout the entire code
> base.
Precisely what SSI does, only better.
> Yes, it may be more desirable to use a server side
technology to control
> these bits through the use of variables and includes,
but I also build and
> manage high performance web servers, and no dynamic
language can even come
> close to the speed of delivering static files,
especially if you want to
> withstand a slashdotting or other unusual burst of
activity.
This is true - since Library items are design-time tools, you
take the
bandwidth hit on the upload side of things rather than on the
fetch side of
things.
> I'm hoping that someone at Adobe is monitoring this list
They do not. If you need to communicate with them, you must
contact them
directly. But you have been told that Adobe is aware of the
problem at
least twice - is that not enough?
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
==================
"jorey" <[email protected]> wrote in message
news:[email protected]...
> The examples I used are overly simplified to more
clearly demonstrate the
> problem. Using a server-side technology is not relevant
to this issue.
> This
> bug is just as capable of affecting SSI, PHP, ASP, or
any other code
> edited and
> managed with Dreamweaver.
>
> Library items are particularly aimed at professionals
managing large
> sites.
> Who else would even be interested in such a feature? It
is an opportunity
> to
> create reusable code that can be managed and edited in
one central
> location, so
> that changes to a single file can be replicated
throughout the entire code
> base. To suggest that it is necessary to create slightly
different
> versions of
> code snippets to suit the individual needs of each
generated page utterly
> defeats the purpose of library items.
>
> As for the uses of library items, sure, I'll use it to
maintain large
> blocks
> of code, but it's also useful for little things that
change on a regular
> basis,
> such as names of people in specific roles, addresses,
phone numbers, email
> addresses, URLs, dates and other things that might
appear hundreds of
> times
> throughout a site in a variety of contexts. This bug has
serious
> repercussions,
> because it is not limited to the item being updated. You
could update a
> large
> block of code and have unpredictable changes occur
elsewhere. This is
> unacceptable, and may not be limited to library items,
but may also affect
> templates or any other site management function that
relies on the same
> routines.
>
> Yes, it may be more desirable to use a server side
technology to control
> these bits through the use of variables and includes,
but I also build and
> manage high performance web servers, and no dynamic
language can even come
> close to the speed of delivering static files,
especially if you want to
> withstand a slashdotting or other unusual burst of
activity.
>
> But as I mentioned, the type of code or use of the
library item is
> irrelevant.
> Dreamweaver as a programming editor has a serious bug.
It's broken, and
> needs
> to be fixed. I'm hoping that someone at Adobe is
monitoring this list and
> will
> understand that this is a problem that affects advanced
users and whole
> teams
> who have made extensive and productive use of this
feature before it was
> broken.
> -
Placing library item into page
This script for placing library item into page and applying object style to the item. In line 16, script shows that "assets" property does not support. Please resolve this.
if (app.documents.length==0){
alert("Please open the Document");
exit();
if (app.libraries.length==0){
alert("Please open the Library");
exit();
app.findTextPreferences=app.changeTextPreferences=null;
app.findTextPreferences.appliedParagraphStyle="MN";
var myfound=app.activeDocument.findText();
alert(myfound.length);
for(i=0; i<myfound.length; i++){
var mylib=app.libraries.assets.itemByName("Box").placeAsset(myfound[i].insertionPoints[0]);
var mymove=myfound[i].move(LocationOptions.atBeginning, mylib.insertionPoints[0])
mylib.appliedObjectStyle="MN_Obj";To make that work, you have to address an open library (line 16).
app.libraries describes the collection of all open libraries, not a distinct one.
If only one library is open you could address the one with its index:
app.libraries[0]
If you already know the name of the library or better, the exact path of the library, you can:
1. Make sure to open it
2. Call it by its name
Let's assume you know the name and you know that the asset you want to place is stored inside, you could do it this way:
app.libraries.itemByName("TheNameOfTheLibrary").assets.itemByName("Box").placeAsset(
/*Wherever you want*/
Now, what will this line return?
A library object? Hardly. So be cautious with using a variable name like "mylib".
According to documentation it is returning an Array, and we can assume, that in this array is the object that is placed out of the library. Your asset stored in the library which goes by the name of "Box". Whatever that is.
If you want to find out, you can use the following, more descriptive variable: "myPlacedAsset". That sounds more neutral.
var myPlacedAsset = app.libraries.itemByName("TheNameOfTheLibrary").assets.itemByName("Box").placeAsset(
/*Wherever you want*/
Using the ESTK (ExtendScript Toolkit) together with $.writeln() can write the true nature of the placed asset to your JavaScript Console:
$.writeln(myPlacedAsset.constructor.name);
is informing you what kind of object "myPlacedAsset" really is. If indeed it is an Array, you could look for its length. If its length is "1", you get to the "heart" of your placed object by:
$.writeln(myPlacedAsset[0].constructor.name);
Or by that more inquisitory question:
$.writeln(myPlacedAsset[0].getElements()[0].constructor.name);
If your array is of a greater length, you have to loop through this array and question every single object!
Before testing, exchange my comment "/*Wherever you want*/" with the code you like to use: Obviously the first insertion point of your found text. Hold on! This will backfire to you, because every time you place one instance of the asset you will add a character to your found text and shift the original insertionPoint. Better loop from back to forth or do the search from back to forth.
Adobe InDesign CS6 (8.0) Object Model JS: Text
Please, try that and report back…
(Isn't noone reading the documentation these days?)
Indesign JavaScript Help
Adobe InDesign CS6 (8.0) Object Model JS: Table of Contents, Libraries Suite
Adobe InDesign CS6 (8.0) Object Model JS: Library
Adobe InDesign CS6 (8.0) Object Model JS: Asset
Adobe InDesign CS6 (8.0) Object Model JS: Asset
Uwe -
Variable size item problem in BOM
hi all,
We have semi-finished material with componets as variable size items (item cat. R)
Now in the variable size tem data, Size 1 = 1,406 MM, Size 2 = 1,220 MM. Numner is 1 ST, formaula place is blank.
Qty Var-Sz Item is calculated by system is 3.957 M2. On what basis this value is calculated?
In the component material we have maintained a componenet scrap quantity as 15%.
BOM ratio of header : component = 1NOS : 1 ST
Again when we create a production order for the header, for 1 NOS header quantity component qty becomes 2.
For 2 NOS of header qty, component becomes 3 like this.
Why this happens..
Regards,
Srijit.Thread closed
-
Using CSS instead of or with library item
I built my site using Dreamweaver 8. I used the design view
exclusively. I made a navigation bar as a library item. Utilizing
rollovers, etc. Now I have learned I should build my site utilizing
CSS and as was pointed out on this forum to me, to learn CSS and
HTML.
I am having a brain freeze. The logic escapes me as to how I
would build a navigation bar and put it on each page as I did
utilizing the library function before.
I am sure for all you pro's this is a really dumb and obvious
thing but I just don't seem to figure out the logic how to do it. I
am not talking about the CSS for the behaviors such as hover,
visited, active. This I know how to do. It is just the ability to
have a properly designed navbar and be able to put it on every page
I make.
Murry "ACE" told me not to use AP and the dreaded mm_menus so
I am trying to figure this out and build a better more code
efficient site. Mine works but is quite trashy in the code.It can be a bit daunting.
Try going through this tutorial completely. It's a bit out of
date (using
an older version of DW), and still covers the use of tables,
but it's worth
reinforcing your basic understandings -
http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
Then I would suggest you do this tutorial -
Taking a Fireworks comp to a CSS-based layout in Dreamweaver
http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
Finally, to get a grip on how to manage menus across an
entire site, use
DW's F1 help about how to use Templates, and server-side
includes.
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.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"craigmini" <[email protected]> wrote in
message
news:[email protected]...
>I built my site using Dreamweaver 8. I used the design
view exclusively. I
> made a navigation bar as a library item. Utilizing
rollovers, etc. Now I
> have
> learned I should build my site utilizing CSS and as was
pointed out on
> this
> forum to me, to learn CSS and HTML.
>
> I am having a brain freeze. The logic escapes me as to
how I would build a
> navigation bar and put it on each page as I did
utilizing the library
> function
> before.
>
> I am sure for all you pro's this is a really dumb and
obvious thing but I
> just
> don't seem to figure out the logic how to do it. I am
not talking about
> the CSS
> for the behaviors such as hover, visited, active. This I
know how to do.
> It is
> just the ability to have a properly designed navbar and
be able to put it
> on
> every page I make.
>
> Murry "ACE" told me not to use AP and the dreaded
mm_menus so I am trying
> to
> figure this out and build a better more code efficient
site. Mine works
> but is
> quite trashy in the code.
> -
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!
> -
DW won't let me change a library item "change will be discarded"
I built a site and I have library items for my logo and
navigation and some thumbnails. I want to use a different file/lbi
file for my header. When I delete the current library item and try
to put a new one in, I get this message: "making this change would
require changing code that is locked by a template or translator.
The change will be discarded." I honestly don't know what to do; I
really need to specify a different file for my header but it won't
let me, and I have over 100 pages and I made all thumbnails,
rollovers, and all links manually and the file that it's using
isn't working right. I just want to put the correct one in there; I
don't know how I can possibly build my site completely from scratch
- what can I do?
This is a related issue, but I'm not sure how: I have two
library items named the same thing in two different folders; some
files refer to one, some to the other, but I want them all to refer
to the correct one; I can't make change since I get that error
message. I'm confused about which file is which, I'd deleted one
before, then restored it...thank you so much for any help. I'm
trying to build my portfolio site for an art exhibition...Happily. One of the pages of the site I'm having problems
with is
http://www.hopeedwards.com/TEST_new_website/Hope_website/assorted_art.htm
I also attached code for it. [note: the home/index page only
works in Firefox but the other tabs work in IE and Safari. Also,
everything is shoved down wrong in IE and it only looks right in
Firefox] I am running Adobe CS3 on an Intel based Mac Pro with
Tiger OSX 10.4. I'm having trouble with a couple library items. The
very top library item is logo_and_navigation.lbi - all was okay
with it except I somehow had a couple different copies of it in my
Library folder, so I moved one of them to a folder within the site
called "Trashes". Then I deleted that one because I didn't want two
copies and the logo and nav disappeared on some pages that used
that one. I reinstated it in the trashes folder. The pages that use
that located in the Trashes folder are the index, Assorted Art, and
Commercial Work. The ones that use the one in the Library folder
are Clue Series and About & Contact.
I would like them all to use just one file so I only have to
edit one file if I make changes. I've tried several things: I've
tried selecting and deleting the item in the documents and
inserting the proper copy. It won't let me. I get the message
"making this change would require changing code that is locked by a
template or translator. The change will be discarded." I've tried
doing a Find and Replace and replacing the word Trashes with
Library to specify the correct folder info but that doesn't work,
probably because it can't change code in the library item.
I had a similar problem with the thumbnails library items
when I tried to build my other pages doing a File Save As from the
first one I built in Assorted Art. When I tried to create a
Commercial Work page from it, I deleted the thumbnails library item
because it was the Assorted Art thumbnails. When I tried to insert
the Commercial Work thumbnails library item I got that error
message. It was so frustrating; I had to go in and build the
Commercial Work page from scratch. I had to do that with each
different tab. It just doesn't seem right that you can't swap out
library items.
Anyway, I'd completely appreciate any help or feedback! I
really would!
Hope -
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 -
Error message with library item in template
I'm not sure if this is a PM issue or a DWCS3 issue. The only
way to find out is to ask.
I have gone through the process of creating a a library item
of a
PopMagic menu according the the video provided by P7. Works
well.
Then I added the library item to an existing DWCS3 template
and saved
it. When I attempt to create "new from template" page from
the template
menu, I get this error message
http://www.jdcdemo.com/blf/error.html
If I do the same with a template without the menu, the
error message goes away.
If I create a page with from a template where I've left an
editable
region for the menu and then insert the menu and save the
page, I also
get the error message, but the page seems to work ok.
Since I can't create a new page with the template, I opened
it and saved it as a page:
http://www.jdcdemo.com/baim/BLF8/error-message.html
What is going on here and is there a fix?
Thanks,
JoeLook at your code. Count <body> tags. How many do you
get? Yeah - that's
wrong. You didn't follow the video....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"camelbreath" <[email protected]> wrote in
message
news:g680gh$3c$[email protected]..
> I'm not sure if this is a PM issue or a DWCS3 issue. The
only way to find
> out
> is to ask.
> I have gone through the process of creating a a library
item of a
> PopMagic menu according the the video provided by P7.
Works well.
> Then I added the library item to an existing DWCS3
template and saved
> it. When I attempt to create "new from template" page
from the template
> menu, I get this error message
>
>
http://www.jdcdemo.com/blf/error.html
>
> If I do the same with a template without the menu, the
> error message goes away.
>
> If I create a page with from a template where I've left
an editable
> region for the menu and then insert the menu and save
the page, I also
> get the error message, but the page seems to work ok.
>
> Since I can't create a new page with the template, I
opened it and saved
> it as
> a page:
>
>
http://www.jdcdemo.com/baim/BLF8/error-message.html
>
> What is going on here and is there a fix?
>
> Thanks,
> Joe
>
Maybe you are looking for
-
Photoshop cs4 crashing when using certain width of a brush
Hi, my 2 year old photoshop cs4 has been always inexplicably crashing the moment I would try to use a 70 pxl brush... I learnt to work aroud it, but just yesterday another similar problem kicked in, when using the short keys to widen or narrow the w
-
Can I covert text to columns like I can in Excel?
If I have a numbers cell that reads: Mr. Tom Jones; can I parse that cell so I get Mr. in one cell; Tom in another cell; and Jones in a third cell?
-
N97 - How to read chinese?
Hi, I just bought a N97 (pretty nice piece of technology!!! =D), but unfortunately it does not support Chinese. I have updated it to the latest version, Is there anyway for it to support Chinese (song names, sms, etc.) Thanks!
-
I had a lot of trouble getting my router set up. Then it worked just fine. The next day my desktop couldn't get to the internet, but the wireless laptop could. Called Linksys and was on the phone for over an hour. They changed the ip address. Wo
-
Hello, I'm trying to set some properties (CODECAPI_AVEncCommonRateControlMode and CODECAPI_AVEncCommonQuality), but I'm not sure how to do it. I tried to set them through the media type, but they seem to get ignored by the system (I tried with 1 and