Script Dynamic Flash Text
I am wondering if anyone knows a way to tag text for flash export using scripting. Basically I need to be able to set the Flash text attributes for TextFrames in the document using scripting. I know this is only available in CS3. Any help is appreciated. Thanks.
Hello Rebecca,
I've spent about an hour poking through the DOM without finding any obvious handles for the flash text export options.
My only suggestion at this point is that you try just importing .ai artwork into Flash, and once it's on the stage, then (create and) use a jsfl script to walk your object tree and convert your text object properties.
I ::think:: this should get you close to what you are wanting. Let me know how it goes.
cheers,
-J
Similar Messages
-
Dynamic Flash text in Director MX
Hi,
I have a presentation which needs to display user-changable
messages. I have a flash file that reads from a .txt file. Every
time the flash file opens, it reads the new text, updates, and
everything is great. I'm using
loadVariablesNum("/dynamic.txt", 0);
to read the text from the file.
But, when i put that flash file in Director, the text stops
updating. I made sure the file was linked externally. I'm sure it's
a simple code fix in director, but can't figure it out.
Any help is appreciated.Hello,
The AS below works getting fresh data from a server, not sure
about locally,
you tag a random bit of text at the end of what you're
grabbing, and it
makes Flash think it's a new file everytime. I'm an AS noob,
but this might
help.
randVar=Math.random()*9999;
loadVariablesNum("/dynamic.txt?" + randVar, 0);
"Couch" <[email protected]> wrote in message
news:e61o7c$91$[email protected]..
> Hi,
> I have a presentation which needs to display
user-changable messages. I
> have a
> flash file that reads from a .txt file. Every time the
flash file opens,
> it
> reads the new text, updates, and everything is great.
I'm using
> loadVariablesNum("/dynamic.txt", 0);
> to read the text from the file.
>
> But, when i put that flash file in Director, the text
stops updating. I
> made
> sure the file was linked externally. I'm sure it's a
simple code fix in
> director, but can't figure it out.
>
> Any help is appreciated.
> -
Dynamic flash text in Dreamweaver...
I made a flash file which load dynamic text for external .txt
file into a scroll box. Now, when I add the swf file into my .aspx
page in dreamweaver there is a problem. The scroller load alright
but the text is not shown up.
( i saved the txt folder into the same folder of ny site so
it's not the problem.)
I work with CS3 and built my project by AS3.
thanks,
KDENWe need to see your code; please post a link to your troubled
page.
"Amots" <[email protected]> wrote in message
news:g9qe56$2qh$[email protected]..
>I made a flash file which load dynamic text for external
.txt file into a
> scroll box. Now, when I add the swf file into my .aspx
page in dreamweaver
> there is a problem. The scroller load alright but the
text is not shown
> up.
>
> ( i saved the txt folder into the same folder of ny site
so it's not the
> problem.)
> I work with CS3 and built my project by AS3.
>
> thanks,
> KDEN
> -
Problem displaying dynamically loaded text in Flash CS3
I created a Flash CS3 application that does not display
dynamically loaded text (from internal AS3 scripts) on 3/6 of my
client's computers. All computers run IE 6 and Flash Player 9. I
cannot replicate the problem on any computer in my department. The
problem seems to be related to Flash Player 9 or a browser
setting/IT restriction. Has anyone encountered this? If so, have
you found a solution?
If I cannot find a solution, then I will need to almost
completely redo the application.
One slightly insane idea I have considered is to, if
possible, convert dynamically loaded text to an image real-time. Is
that possible?
Btw, I have created a font in my library. Should I try
manually embedding the font from the Properties menu and selecting
all characters?
Thanks in advance.yes, even though you may be using a font from the library,
you still have to specify that each text field that uses that font
embeds the font, and you'll need to select all characters(well not
all, unless you require all the different scripts of the world -
upper-case, lower-case, numerals and punctuation usual suffices).
I bet if you checked, the computers where the font did not
appear did not have the font on their system.
Good luck
Craig -
Android, backspace doesn't work properly in a flash.text.TextField
Hello,
I have a bug on my Nexus 5 Android 4.4 Air 4.0.
when I scroll the text in the textField and I select the text (in my example near "subclass" word), the TextField get focus, if I put on the backspace key, the character deleted is the previous character the first time, and if I put again on the backspace key, the caracter deleted is the first character and not the previous character.
package{
import flash.text.TextField;
import flash.display.Sprite;
import flash.events.Event;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public class Main extends Sprite {
private var myTextField:TextField = new TextField();
public function Main() {
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
addEventListener(Event.ADDED_TO_STAGE, init);
private function init(event:Event):void {
myTextField.type="input";
myTextField.text="The TextField class is used to create display objects for text display and input. You can give a text field an instance name in the Property inspector and use the methods and properties of the TextField class to manipulate it with ActionScript. TextField instance names are displayed in the Movie Explorer and in the Insert Target Path dialog box in the Actions panel.\nTo create a text field dynamically, use the TextField() constructor.\n\nThe methods of the TextField class let you set, select, and manipulate text in a dynamic or input text field that you create during authoring or at runtime.\n\nActionScript provides several ways to format your text at runtime. The TextFormat class lets you set character and paragraph formatting for TextField objects. You can apply Cascading Style Sheets (CSS) styles to text fields by using the TextField.styleSheet property and the StyleSheet class. You can use CSS to style built-in HTML tags, define new formatting tags, or apply styles. You can assign HTML formatted text, which optionally uses CSS styles, directly to a text field. HTML text that you assign to a text field can contain embedded media (movie clips, SWF files, GIF files, PNG files, and JPEG files). The text wraps around the embedded media in the same way that a web browser wraps text around media embedded in an HTML document.\n\nFlash Player supports a subset of HTML tags that you can use to format text. See the list of supported HTML tags in the description of the htmlText property.\n\nView the examples\n\nMore examples\n\nModifying the text field contents\nDisplaying HTML text\nUsing images in text fields\nScrolling text in a text field\nSelecting and manipulating text\nCapturing text input\nRestricting text input\nFormatting text\nWorking with static text\nTextField Example: Newspaper-style text formatting\nLearn more\n\nUse native features with a soft keyboard\nDisplay programming\nBasics of display programming\nCore display classes\nChoosing a DisplayObject subclass\nBasics of Working with text\nUsing the TextField class\nDisplaying text\nAdvanced text rendering\nRelated API Elements\n\nflash.text.TextFormat\nflash.text.StyleSheet\nhtmlText\n\nPublic Properties\n Show Inherited Public Properties\n Property Defined By\n alwaysShowSelection : Boolean\nWhen set to true and the text field is not in focus, Flash Player highlights the selection in the text field in gray.\nTextField\n antiAliasType : String\nThe type of anti-aliasing used for this text field.\nTextField\n autoSize : String\nControls automatic sizing and alignment of text fields.\nTextField\n background : Boolean\nSpecifies whether the text field has a background fill.\nTextField\n backgroundColor : uint\nThe color of the text field background.\nTextField\n border : Boolean\nSpecifies whether the text field has a border.\nTextField\n borderColor : uint\nThe color of the text field border.\nTextField\n bottomScrollV : int\n[read-only] An integer (1-based index) that indicates the bottommost line that is currently visible in the specified text field.\nTextField\n caretIndex : int\n[read-only] The index of the insertion point (caret) position.\nTextField\n condenseWhite : Boolean\nA Boolean value that specifies whether extra white space (spaces, line breaks, and so on) in a text field with HTML text is removed.\nTextField\n defaultTextFormat : flash.text:TextFormat\nSpecifies the format applied to newly inserted text, such as text entered by a user or text inserted with the replaceSelectedText() method.\nTextField\n displayAsPassword : Boolean\nSpecifies whether the text field is a password text field.\nTextField\n embedFonts : Boolean\nSpecifies whether to render by using embedded font outlines.\nTextField\n gridFitType : String\nThe type of grid fitting used for this text field.\nTextField\n htmlText : String\nContains the HTML representation of the text field contents.\nTextField\n length : int\n[read-only] The number of characters in a text field.\nTextField\n maxChars : int\nThe maximum number of characters that the text field can contain, as entered by a user.\nTextField\n maxScrollH : int\n[read-only] The maximum value of scrollH.\nTextField\n maxScrollV : int\n[read-only] The maximum value of scrollV.\nTextField\n mouseWheelEnabled : Boolean\nA Boolean value that indicates whether Flash Player automatically scrolls multiline text fields when the user clicks a text field and rolls the mouse wheel.\nTextField\n multiline : Boolean\nIndicates whether field is a multiline text field.\nTextField\n numLines : int\n[read-only] Defines the number of text lines in a multiline text field.\nTextField\n restrict : String\nIndicates the set of characters that a user can enter into the text field.\nTextField\n scrollH : int\nThe current horizontal scrolling position.\nTextField\n scrollV : int\nThe vertical position of text in a text field.\nTextField\n selectable : Boolean\nA Boolean value that indicates whether the text field is selectable.\nTextField\n selectionBeginIndex : int\n[read-only] The zero-based character index value of the first character in the current selection.\nTextField\n selectionEndIndex : int\n[read-only] The zero-based character index value of the last character in the current selection.\nTextField\n sharpness : Number\nThe sharpness of the glyph edges in this text field.\nTextField\n styleSheet : StyleSheet\nAttaches a style sheet to the text field.\nTextField\n text : String\nA string that is the current text in the text field.\nTextField\n textColor : uint\nThe color of the text in a text field, in hexadecimal format.\nTextField\n textHeight : Number\n[read-only] The height of the text in pixels.\nTextField\n textInteractionMode : String\n[read-only] The interaction mode property, Default value is TextInteractionMode.NORMAL.\nTextField\n textWidth : Number\n[read-only] The width of the text in pixels.\nTextField\n thickness : Number\nThe thickness of the glyph edges in this text field.\nTextField\n type : String\nThe type of the text field.\nTextField\n useRichTextClipboard : Boolean\nSpecifies whether to copy and paste the text formatting along with the text.\nTextField\n wordWrap : Boolean\nA Boolean value that indicates whether the text field has word wrap.\nTextField";
myTextField.border=true;
myTextField.width=myTextField.height=300;
addChild(myTextField);
Thanks.I have this bug on Galaxy Nexus Android 4.3, I don't have this bug on Galaxy S Android 2.3, the bug occurs with the new Google Keyboard 3.0
the app descriptor
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/4.0">
<!-- Adobe AIR Application Descriptor File Template.
Specifies parameters for identifying, installing, and launching AIR applications.
xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.5
The last segment of the namespace specifies the version
of the AIR runtime required for this application to run.
minimumPatchLevel - The minimum patch level of the AIR runtime required to run
the application. Optional.
-->
<!-- A universally unique application identifier. Must be unique across all AIR applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>TextFieldFB</id>
<!-- Used as the filename for the application. Required. -->
<filename>TextFieldFB</filename>
<!-- The name that is displayed in the AIR application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>TextFieldFB</name>
<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
<versionNumber>0.0.1</versionNumber>
<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
<!-- <versionLabel></versionLabel> -->
<!-- Description, displayed in the AIR application installer.
May have multiple values for each language. See samples or xsd schema file. Optional. -->
<!-- <description></description> -->
<!-- Copyright information. Optional -->
<!-- <copyright></copyright> -->
<!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
<!-- <publisherID></publisherID> -->
<!-- Settings for the application's initial window. Required. -->
<initialWindow>
<!-- The main SWF or HTML file of the application. Required. -->
<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
<content>[Cette valeur sera remplacée par Flash Builder dans le fichier app.xml de sortie]</content>
<!-- The title of the main window. Optional. -->
<!-- <title></title> -->
<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
<!-- <systemChrome></systemChrome> -->
<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
<!-- <transparent></transparent> -->
<!-- Whether the window is initially visible. Optional. Default false. -->
<!-- <visible></visible> -->
<!-- Whether the user can minimize the window. Optional. Default true. -->
<!-- <minimizable></minimizable> -->
<!-- Whether the user can maximize the window. Optional. Default true. -->
<!-- <maximizable></maximizable> -->
<!-- Whether the user can resize the window. Optional. Default true. -->
<!-- <resizable></resizable> -->
<!-- The window's initial width in pixels. Optional. -->
<!-- <width></width> -->
<!-- The window's initial height in pixels. Optional. -->
<!-- <height></height> -->
<!-- The window's initial x position. Optional. -->
<!-- <x></x> -->
<!-- The window's initial y position. Optional. -->
<!-- <y></y> -->
<!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
<!-- <minSize></minSize> -->
<!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
<!-- <maxSize></maxSize> -->
<!-- The aspect ratio of the app ("portrait" or "landscape" or "any"). Optional. Mobile only. Default is the natural orientation of the device -->
<!-- <aspectRatio></aspectRatio> -->
<!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
<!-- <autoOrients></autoOrients> -->
<!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
<!-- <fullScreen></fullScreen> -->
<!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
<!-- <renderMode></renderMode> -->
<!-- Whether the default direct mode rendering context allocates storage for depth and stencil buffers. Optional. Default false. -->
<!-- <depthAndStencil></depthAndStencil> -->
<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
<!-- <softKeyboardBehavior></softKeyboardBehavior> -->
<!-- Display Resolution for the app (either "standard" or "high"). Optional, OSX-only. Default "standard" -->
<!-- <requestedDisplayResolution></requestedDisplayResolution> -->
<autoOrients>true</autoOrients>
<fullScreen>false</fullScreen>
<visible>true</visible>
</initialWindow>
<!-- We recommend omitting the supportedProfiles element, -->
<!-- which in turn permits your application to be deployed to all -->
<!-- devices supported by AIR. If you wish to restrict deployment -->
<!-- (i.e., to only mobile devices) then add this element and list -->
<!-- only the profiles which your application does support. -->
<!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
<!-- Languages supported by application -->
<!-- Only these languages can be specified -->
<!-- <supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages> -->
<!-- The subpath of the standard default installation location to use. Optional. -->
<!-- <installFolder></installFolder> -->
<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
<!-- <programMenuFolder></programMenuFolder> -->
<!-- The icon the system uses for the application. For at least one resolution,
specify the path to a PNG file included in the AIR package. Optional. -->
<!-- <icon>
<image16x16></image16x16>
<image29x29></image29x29>
<image32x32></image32x32>
<image36x36></image36x36>
<image40x40></image40x40>
<image48x48></image48x48>
<image50x50></image50x50>
<image57x57></image57x57>
<image58x58></image58x58>
<image72x72></image72x72>
<image76x76></image76x76>
<image80x80></image80x80>
<image96x96></image96x96>
<image100x100></image100x100>
<image114x114></image114x114>
<image120x120></image120x120>
<image128x128></image128x128>
<image144x144></image144x144>
<image152x152></image152x152>
<image512x512></image512x512>
<image732x412></image732x412>
<image1024x1024></image1024x1024>
</icon> -->
<!-- Whether the application handles the update when a user double-clicks an update version
of the AIR file (true), or the default AIR application installer handles the update (false).
Optional. Default false. -->
<!-- <customUpdateUI></customUpdateUI> -->
<!-- Whether the application can be launched when the user clicks a link in a web browser.
Optional. Default false. -->
<!-- <allowBrowserInvocation></allowBrowserInvocation> -->
<!-- Listing of file types for which the application can register. Optional. -->
<!-- <fileTypes> -->
<!-- Defines one file type. Optional. -->
<!-- <fileType> -->
<!-- The name that the system displays for the registered file type. Required. -->
<!-- <name></name> -->
<!-- The extension to register. Required. -->
<!-- <extension></extension> -->
<!-- The description of the file type. Optional. -->
<!-- <description></description> -->
<!-- The MIME content type. -->
<!-- <contentType></contentType> -->
<!-- The icon to display for the file type. Optional. -->
<!-- <icon>
<image16x16></image16x16>
<image32x32></image32x32>
<image48x48></image48x48>
<image128x128></image128x128>
</icon> -->
<!-- </fileType> -->
<!-- </fileTypes> -->
<!-- iOS specific capabilities -->
<!-- <iPhone> -->
<!-- A list of plist key/value pairs to be added to the application Info.plist -->
<!-- <InfoAdditions>
<![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackOpaque</string>
<key>UIRequiresPersistentWiFi</key>
<string>YES</string>
]]>
</InfoAdditions> -->
<!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
<!-- <Entitlements>
<![CDATA[
<key>keychain-access-groups</key>
<array>
<string></string>
<string></string>
</array>
]]>
</Entitlements> -->
<!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
<!-- <requestedDisplayResolution></requestedDisplayResolution> -->
<!-- Forcing Render Mode CPU for the devices mentioned. Optional -->
<!-- <forceCPURenderModeForDevices></forceCPURenderModeForDevices> -->
<!-- File containing line separated list of external swf paths. These swfs won't be
packaged inside the application and corresponding stripped swfs will be output in
externalStrippedSwfs folder. -->
<!-- <externalSwfs></externalSwfs> -->
<!-- </iPhone> -->
<!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
<!--<android> -->
<!-- <manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
<application android:enabled="true">
<activity android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions> -->
<!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
<!-- <colorDepth></colorDepth> -->
<!-- Indicates if the app contains video or not. Necessary for ordering of video planes with graphics plane, especially in Jellybean - if you app does video this must be set to true - valid values are true or false -->
<!-- <containsVideo></containsVideo> -->
<!-- </android> -->
<!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<!--See the Adobe AIR documentation for more information about setting Google Android permissions-->
<!--La suppression de l’autorisation android.permission.INTERNET aura comme effet secondaire
de vous empêcher de déboguer l’application sur le périphérique.-->
<!--<uses-permission android:name="android.permission.INTERNET"/>-->
<!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>-->
<!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
<!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
<!--Les autorisations DISABLE_KEYGUARD et WAKE_LOCK doivent être permutées
afin d’accéder aux API SystemIdleMode d’AIR.-->
<!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
<!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
<!--<uses-permission android:name="android.permission.CAMERA"/>-->
<!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
<!--Les autorisations ACCESS_NETWORK_STATE et ACCESS_WIFI_STATE doivent être
permutées afin d’utiliser les API NetworkInfo d’AIR.-->
<!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
<!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->
</manifest>
]]></manifestAdditions>
</android>
<iPhone>
<InfoAdditions><![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
</application> -
Flash Text not displaying certain fonts
Thanks as always…
I am trying to use Flash text for some headings, but after an
hour of pulling my hair out I've just realised it will only display
certain fonts, such as Helvetica etc.
I added the font I want to use to my font list but it still
does not display…
I'm using MX on OSX 10.3.9.
Any ideas? Thansk.
Flash Text not displaying certain fontsFodderstompf wrote:
> Thanks guys,
>
> I don't have Flash MX and it turns out the font is a
Postscript Type 1.
>
> Didn't realise about the true-type thing, bit of
nusiance (and completely the
> opposite of the hassle I normally have with print
work!).
>
> I'm gonna look and see I can get a true-type version of
the font (Tabitha), or
> is there any other work around?
>
> Thanks.
>
>
Is your text in a dynamic text box, or static text box in
flash?
I don't think the issue concerns the "true-type" or not
"true-type" font.
In Flash, when text is part of a dynamic text box (which I
assume is the case in your situation),
then the font works just like in an html page:
if the font is installed on the computer it will show, if
not, it won't. The way around this, is to
embed the font data in the authoring flash file, and link it
to the dynamic text box, via actionScript.
So if you cannot work on the authoring Flash file with Flash
MX or Flash8, and if indeed we're
talking about a dynamic text box, your only option is to use
a web-safe font.
seb ( [email protected])
http://webtrans1.com | high-end web
design
An Ingenious WebSite Builder:
http://sitelander.com -
Troubles saving flash text (or buttons) in CS3
I have been trying to build a banner in dreamweaver cs3 with
flash text, but i can neither save nor apply the text as i keep
getting the error message,
"text1.swf is an invalid file name. Please enter a different
name."
and i continue to get the message regardless of whatever name
(with or without the .swf extension) I use.
help????It appears to be at least partly related to what I mentioned, if not entirely. If you look in the html code you will see the following line...
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
Your web page utilizes this file (Scripts/AC_RunActiveContent.js) to display the Flash content provided you have javascript allowed for your web browser. So you need to create the same Scripts folder on the server and place the AC_RunActiveContent.js file in that folder.
Alternatively, you could place it in the same folder as your html file and just lose the folder reference in the line of code, the important thing is that the web page laods that js file....
<script src="AC_RunActiveContent.js" type="text/javascript"></script> -
Problems with displaying dynamic Arabic text
We have a problem with a navigation system we are building
which has to be able to display dynamic Arabic text. We are pulling
in the Arabic text using XML. The problem we are having is that the
character are not displaying joined up where they should be (for
instance in the middle of words). Arabic characters have different
shaping according to the position they take up within a word. What
we are producing is apparently unreadable. Has anyone come accross
this problem before? Is it solveable?Hi:
Is there any possible chance that Adobe would do something to asist us Fl8 users with international character support.
Everyone has some work-around, except Abode, and they are all usually related to XML.
My setup is PHP (CMS supporting many languages) -> MySQL -> PHP -> Flash8 (Dynamic Text Fields) and the olpart that does not work is when I inject an extended character into the string - Flash stops displaying anything from that character on.
If Adobe has or did have some component / solution or anything other than the usual System.useCodePage = true (which never seems to actually work), please let me know.
Best Regards, -
Problem with embedding Flash Text/HTML Code
Hey all, im new to DW and just created a html page with a
black background and a picture. I also added a flash text called
"Enter Forum" by using "Insert>Media>Flash Text"
When i copy and paste the code that is generated in the
"Code" section/tab on to my server in the index/html and go to view
my site it is not there. I uploaded the .swf file to my server
also, i have played around with the coding a bit to see if i was
doing anythng wrong but nothing works. Below is the code DW renders
to me. I simply copy and paste this code that DW renders and paste
it in to my server's index.html (Main Page) file. I checked the emd
src and all thats correct.
HTML Code that DW generates me:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #000000;
body,td,th {
color: #FFFFFF;
font-size: xx-large;
.style2 {
color: #FF0000;
font-weight: bold;
.style3 {
color: #FF0000
.style4 {
color: #FFFFFF;
font-family: "Courier New", Courier, monospace;
.style5 {
color: #FFFFFF;
font-family: "Courier New", Courier, monospace;
font-size: small;
.style6 {font-size: x-small}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body>
<p> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><img src="
http://www.nohornetsfanjc.com/1376.gif"
alt="Jason Vorhees" width="400" height="400" vspace="0"
/></p>
<p align="center">nohornetsfanjc.com is temporarily
offline.</p>
<p align="center" class="style2">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','329','height','59','src','text1','quality','high','pluginspage','http://www.adobe.com/ shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000','movie ','text1'
); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="329" height="59">
<param name="movie" value="text1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="text1.swf" quality="high" pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="329" height="59"
bgcolor="#000000"></embed>
</object></noscript>
</p>
<p align="center" class="style4"> </p>
<p align="center" class="style5">All Rights Reserved.
© 2005</p>
<p align="center" class="style6"> </p>
<p align="center"> </p>
<p align="center"> </p>
</body>
</html>
As i stated this is exactly what i paste into my index.html
file on my server. Im using no subfolders. Is there something im
doing wrong? Im completely new to this, so any and all help will be
appreciated very much!
Thanks
ShaneCan you post the url to show us the page on your server? If
you copied
everything, it could be you have too many doc types, headers
and body tags
in your index.html page.
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"videoeditor15" <[email protected]> wrote in
message
news:[email protected]...
> Hey all, im new to DW and just created a html page with
a black background
and
> a picture. I also added a flash text called "Enter
Forum" by using
> "Insert>Media>Flash Text"
>
> When i copy and paste the code that is generated in the
"Code"
section/tab on
> to my server in the index/html and go to view my site it
is not there. I
> uploaded the .swf file to my server also, i have played
around with the
coding
> a bit to see if i was doing anythng wrong but nothing
works. Below is the
code
> DW renders to me. I simply copy and paste this code that
DW renders and
paste
> it in to my server's index.html (Main Page) file. I
checked the emd src
and all
> thats correct.
>
> HTML Code that DW generates me:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <title>Untitled Document</title>
> <style type="text/css">
> <!--
> body {
> background-color: #000000;
> }
> body,td,th {
> color: #FFFFFF;
> font-size: xx-large;
> }
> .style2 {
> color: #FF0000;
> font-weight: bold;
> }
> .style3 {
> color: #FF0000
> }
> .style4 {
> color: #FFFFFF;
> font-family: "Courier New", Courier, monospace;
> }
> .style5 {
> color: #FFFFFF;
> font-family: "Courier New", Courier, monospace;
> font-size: small;
> }
> .style6 {font-size: x-small}
> -->
> </style>
> <script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
> </head>
>
> <body>
> <p> </p>
> <p align="center"> </p>
> <p align="center"> </p>
> <p align="center"><img src="
http://www.nohornetsfanjc.com/1376.gif"
> alt="Jason Vorhees" width="400" height="400" vspace="0"
/></p>
> <p align="center">nohornetsfanjc.com is
temporarily offline.</p>
> <p align="center" class="style2">
> <script type="text/javascript">
> AC_FL_RunContent(
>
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#
>
version=5,0,0,0','width','329','height','59','src','text1','quality','high',
'plu
>
ginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Vers
ion=
> ShockwaveFlash','bgcolor','#000000','movie','text1' );
//end AC code
> </script><noscript><object
> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#ve
> rsion=5,0,0,0" width="329" height="59">
> <param name="movie" value="text1.swf" />
> <param name="quality" value="high" />
> <param name="bgcolor" value="#000000" />
> <embed src="text1.swf" quality="high"
>
pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Ve
rsio
> n=ShockwaveFlash" type="application/x-shockwave-flash"
width="329"
height="59"
> bgcolor="#000000"></embed>
> </object></noscript>
> </p>
> <p align="center"
class="style4"> </p>
> <p align="center" class="style5">All Rights
Reserved. ?? 2005</p>
> <p align="center"
class="style6"> </p>
> <p align="center"> </p>
> <p align="center"> </p>
> </body>
> </html>
>
>
>
> As i stated this is exactly what i paste into my
index.html file on my
server.
> Im using no subfolders. Is there something im doing
wrong? Im completely
new to
> this, so any and all help will be appreciated very much!
>
> Thanks
>
> Shane
>
>
> -
Email link colour & flash text
anyway to change an email link for the blue colour??
cheers guys
oh and has anyone got the html code to have flash text always
active on a pc, did have it once but cant find it, would this do
the trick..
<script type="text/javascript"
src="fixit.js"></script>
so it activates flash on opening the page, so text dusnt have
to be clicked to activate.On 12 May 2007 in macromedia.dreamweaver, graphicmoore wrote:
> anyway to change an email link for the blue colour??
Same way as you do with any other link: with CSS.
http://projectseven.com/tutorials/css/pseudoclasses/
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php -
How do i make a link to web pages and how do i make a link to
html files that i made and uploaded to my FTP? I am using
Dynamic Flash temp. that i bought but i need help. Here is
just some of the code so you can see what i am trying to say and do
&url1=http://slackercentral.com
&sp2_link04=<u>pulvinar venenatis erorabitur
ornare</u>
&sp2_link05=<u>ut scelerique felis felis ut lectus
naid</u>
&sp2_link06=<u>lorem quisque ac risus congue
turpis</u>
&sp2_link07=<u>mollis portcerat sapien nec
naecenas</u>
&sp2_link08=<u>pulvinar venenatis erorabitur
ornare</u>
&sp4_tit1=our clients
&sp4_txt01=<b><u><font color="#98B5C8"
size="11"><a href="
http://www.yourcompany.com">Company
name</a></font></u></b><br>onsectetuer
adipng elitllam consequat modo arcunec sit ametci sit amet
<u><font color="#98B5C8" size="11"><a href="
http://www.yourcompany.com">lorem
nonummy</a></font></u> conguehac hab a dictumoin
hendrerit aretrad vestibulum porta augue nean muada justo.Well at the end of the text file i see this. at first i
changed just the first one to see if it would link to the page. and
that did not work so i changed them all to what i wanted to test
what i thought but never the less why does url 1 not work with link
one? or i guess its trial and error thats boring
&url1=http://www.slackercentral.com
&url2=http://www.slackercentral.com
&url3=http://www.slackercentral.com
&url4=http://www.slackercentral.com
&url5=http://www.slackercentral.com
&url6=http://www.slackercentral.com
&url7=http://www.slackercentral.com
&url8=http://www.slackercentral.com
&url9=http:/www.slackercentral.com
&url10=http://www.slackercentral.com
&url11=http://www.slackercentral.com
&url12=http:/www.slackercentral.com
&url13=http://www.slackercentral.com
&url14=http://www.slackercentral.com
&url15=http://www.slackercentral.com
&url16=http://www.slackercentral.com
&url17=http://www.slackercentral.com
&url18=http://www.slackercentral.com
&url19=http:/www.slackercentral.com
&url20=http://www.slackercentral.com -
How to make Dynamically Shortened Text With "Show More"
Hi there! i want to know how to make dynamically shortened text with show more or read more in my website using HTML 5 pages or ASP.NET ?
example like these paragraphs
Lorem Ipsum är en utfyllnadstext från tryck- och förlagsindustrin. Lorem ipsum har varit standard ända sedan 1500-talet, när en okänd boksättare tog att antal bokstäver och blandade dem för att göra ett provexemplar av en bok. Lorem ipsum har inte bara överlevt fem århundraden, utan även övergången till elektronisk typografi utan större förändringar. Det blev allmänt känt på 1960-talet i samband med lanseringen av Letraset-ark med avsnitt av Lorem Ipsum, och senare med mjukvaror som Aldus PageMaker.
Det är ett välkänt faktum att läsare distraheras av läsbar text på en sida när man skall studera layouten. Poängen med Lorem Ipsum är att det ger ett normalt ordflöde, till skillnad från "Text här, Text här", och ger intryck av att vara läsbar text. Många publiseringprogram och webbutvecklare använder Lorem Ipsum som test-text, och en sökning efter "Lorem Ipsum" avslöjar många webbsidor under uteckling. Olika versioner har dykt upp under åren, ibland av olyckshändelse, ibland med flit (mer eller mindre humoristiska).
I motsättning till vad många tror, är inte Lorem Ipsum slumvisa ord. Det har sina rötter i ett stycke klassiskt litteratur på latin från 45 år före år 0, och är alltså över 2000 år gammalt. Richard McClintock, en professor i latin på Hampden-Sydney College i Virginia, översatte ett av de mer ovanliga orden, consectetur, från ett stycke Lorem Ipsum och fann dess ursprung genom att studera användningen av dessa ord i klassisk litteratur. Lorem Ipsum kommer från styckena 1.10.32 och 1.10.33 av "de Finibus Bonorum et Malorum" (Ytterligheterna av ont och gott) av Cicero, skriven 45 före år 0. Boken är en avhandling i teorier om etik, och var väldigt populär under renäsanssen. Den inledande meningen i Lorem Ipsum, "Lorem Ipsum dolor sit amet...", kommer från stycke 1.10.32.
Den ursprungliga Lorem Ipsum-texten från 1500-talet är återgiven nedan för de intresserade. Styckena 1.10.32 och 1.10.33 från "de Finibus Bonorum et Malorum" av Cicero hittar du också i deras originala form, åtföljda av de engelska översättningarna av H. Rackham från 1914.Moved to the main Dreamweaver support forum.
There are several ways you could approach this. Here's one you might try:
Give the first paragraph an ID, such as "first", and wrap the paragraphs you want to hide in a <div> with another ID, such as "more". Then add the following block of JavaScript just before the closing </body> tag of the page:
<script>
var first = document.getElementById('first'),
more = document.getElementById('more'),
trigger = document.createElement('span');
trigger.id = 'trigger';
trigger.innerHTML = 'Show less';
first.appendChild(trigger);
function toggleDiv() {
var state = more.className,
text = trigger.innerHTML;
more.className = (state == 'open') ? 'closed' : 'open';
trigger.innerHTML = (text == 'Show more') ? 'Show less' : 'Show more';
toggleDiv();
if (trigger.addEventListener) {
trigger.addEventListener('click', toggleDiv, false);
} else if (trigger.attachEvent) {
trigger.attachEvent('onclick', toggleDiv);
} else {
trigger.onclick = toggleDiv;
</script>
This gets references to the "first" paragraph and the "more" <div>. It also creates a <span> with the ID "trigger" that's appended to the "first" paragraph. The rest of the script defines a function called toggleDiv(), which toggles the "more" <div> open and closed, and changes the text in the "trigger" <span>.
You also need to create the following style rules for the various elements:
<style>
#trigger {
text-decoration: underline;
color: blue;
cursor: pointer;
#more {
transition: ease-out .7s;
overflow: hidden;
#more p:first-child {
margin-top: 0;
#more.closed {
height: 0;
-webkit-transform: translateY(-600px);
transform: translateY(-600px);
#more.open {
-webkit-transform: translateY(0);
transform: translateY(0);
max-height: 600px;
#more + p {
margin-top: 0;
</style>
This solution hides the text and creates the "trigger" <span> only if JavaScript is enabled in the browser. It should work in all browsers, including Internet Explorer 8 and earlier. -
Flash text and flash buttons in DW CS4
Hi,
I have installed DW CS4 on my pc with Vista Home Premium 64
Bit...I have edit my website homepage and I have discovered that I
can't edit all flash text and buttons that I have created with DW
CS3! I have see that the adobe has removed from CS4 version this
option! So, now how I can resolve this problem??
I have try to install also the CS3 version but I don't
understand because I can't no more activated it from internet or
phone option!
I'm very angry for this, now I have to recreate from the
begin all flash text and buttons of my website with other software?
perhaps to buy also the Flash CS4 version for the solution? is this
the new idea of adobe with their new CS4 version?> I'm very angry for this, now I have to recreate from the
begin all flash
> text
> and buttons of my website with other software? perhaps
to buy also the
> Flash
> CS4 version for the solution? is this the new idea of
adobe with their new
> CS4
> version?
It was a poor choice on Adobe's part to ever include such an
option, and on
your part for using it. Think about it -
1. Some people don't have Flash installed - what do they do?
Especially
consider those people who are browsing from a corporate
internet where Flash
is not allowed by the IT staff.
2. Search engines may not parse Flash links - your site will
not be
spidered unless you have redundant HTML links
3. Screen assistive devices don't parse Flash links - what
will those users
do?
4. DW cannot maintain links within a Flash movie, so if you
move or rename
a linked file, your navigation will break - what will you do?
You will have
to remake those buttons.
It's almost always a very bad idea for these reasons.
The solution is to make graphics to replace the Flash
elements, or just use
CSS styled text.
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
==================
"s76x" <[email protected]> wrote in message
news:[email protected]...
> Hi,
> I have installed DW CS4 on my pc with Vista Home Premium
64 Bit...I have
> edit
> my website homepage and I have discovered that I can't
edit all flash text
> and
> buttons that I have created with DW CS3! I have see that
the adobe has
> removed
> from CS4 version this option! So, now how I can resolve
this problem??
> I have try to install also the CS3 version but I don't
understand because
> I
> can't no more activated it from internet or phone
option!
>
> I'm very angry for this, now I have to recreate from the
begin all flash
> text
> and buttons of my website with other software? perhaps
to buy also the
> Flash
> CS4 version for the solution? is this the new idea of
adobe with their new
> CS4
> version?
> -
The Flash Text and Flash Button options have dissappeared
the Flash Text and Flash Button options have dissappeared in the insert menu in Dreamweaver CS4. They used to be there but not now
Adobe announced the features they were removing from CS4 a year or so before CS4 launched:
The ill-conceived Flash buttons and Flash text were among the deprecated features.
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS2C41F19D-502B-4fb5-8A54-4442E2127C84a .html
Deprecated features
The following features have been deprecated for Dreamweaver CS4:
Timelines
Web services
Layout mode
Site Map view
Java Bean support
Adobe® Flash elements (Image Viewer)
Adobe® Flash text and Adobe® Flash buttons
ASP.NET and JSP server behaviors and recordsets -
Flash Text and Flash Button options have dissappeared in DW CS4
the Flash Text and Flash Button options have dissappeared in the insert menu in Dreamweaver CS4. They used to be there but not now
You need the Dreamweaver forum - click here.
Maybe you are looking for
-
Increase in Abandoned Calls in UCCX
Hello All, We have an issue going on with a huge number of Abandoned calls. Pleas check one call log below and assist me in this. Logs from Voice Gateway 2011-02-01 02:53:07 Local7.Debug 10.10.60.1 139161621: 51886529: Feb 1 07:53:00
-
I am having trouble performing current updates. The systems will not update and will not shutdown. Any solutions?
-
Jdeveloper11gR2 Cannot get code Completion Insight in *.jsp files
I am not getting code completion insight when pressing Ctrl + Space in *.jsp files. But it works in *.java files. My version of Jdeveloper is Jdeveloper 11g Release 2 version 11.1.2.2.0 . Edited by: Smitha Bhatt on Jun 7, 2012 5:40 PM
-
Hi All, I have finalized the SOE report setup on the global localization (for Oman legislation), but I face the following error message: *"function not available to this responsibilty. change responsibilty or contact your system administrator."* Can
-
Rep objects created in wrong SWCV
Hi all, I have created my repository objects in a SWCV which different from the expected. Please tell how to move them to correct SWCV. -Naveen.