Naslaggids voor Adobe ActionScript® 3.0 voor het Adobe® Flash®-platform
Startpagina  |  Lijst met pakketten en klassen verbergen |  Pakketten  |  Klassen  |  Nieuw  |  Index  |  Bijlagen  |  Waarom in het Engels?
Filters: AIR 30.0 en eerder, Flash Player 30.0 en eerder, Flash Lite 4
Flex 4.6 en eerder, Flash Pro CS6 en eerder
Filters verbergen
flashx.textLayout.elements 

InlineGraphicElement  - AS3

Pakkettenx

Hoofdniveau
adobe.utils
air.desktop
air.net
air.update
air.update.events
coldfusion.air
coldfusion.air.errors
coldfusion.air.events
coldfusion.service
coldfusion.service.events
coldfusion.service.mxml
com.adobe.acm.solutions.authoring.domain.extensions
com.adobe.acm.solutions.ccr.domain.extensions
com.adobe.consulting.pst.vo
com.adobe.dct.component
com.adobe.dct.component.datadictionary
com.adobe.dct.component.datadictionaryElement
com.adobe.dct.component.dataElementsPanel
com.adobe.dct.component.toolbars
com.adobe.dct.event
com.adobe.dct.exp
com.adobe.dct.model
com.adobe.dct.service
com.adobe.dct.service.provider
com.adobe.dct.transfer
com.adobe.dct.util
com.adobe.dct.view
com.adobe.ep.taskmanagement.domain
com.adobe.ep.taskmanagement.event
com.adobe.ep.taskmanagement.filter
com.adobe.ep.taskmanagement.services
com.adobe.ep.taskmanagement.util
com.adobe.ep.ux.attachmentlist.component
com.adobe.ep.ux.attachmentlist.domain
com.adobe.ep.ux.attachmentlist.domain.events
com.adobe.ep.ux.attachmentlist.domain.renderers
com.adobe.ep.ux.attachmentlist.skin
com.adobe.ep.ux.attachmentlist.skin.renderers
com.adobe.ep.ux.content.event
com.adobe.ep.ux.content.factory
com.adobe.ep.ux.content.handlers
com.adobe.ep.ux.content.managers
com.adobe.ep.ux.content.model.asset
com.adobe.ep.ux.content.model.preview
com.adobe.ep.ux.content.model.relation
com.adobe.ep.ux.content.model.search
com.adobe.ep.ux.content.model.toolbar
com.adobe.ep.ux.content.search
com.adobe.ep.ux.content.services
com.adobe.ep.ux.content.services.load
com.adobe.ep.ux.content.services.permissions
com.adobe.ep.ux.content.services.preview
com.adobe.ep.ux.content.services.providers
com.adobe.ep.ux.content.services.query
com.adobe.ep.ux.content.services.relationships
com.adobe.ep.ux.content.services.search.lccontent
com.adobe.ep.ux.content.services.version
com.adobe.ep.ux.content.view
com.adobe.ep.ux.content.view.components.activate
com.adobe.ep.ux.content.view.components.grid
com.adobe.ep.ux.content.view.components.grid.hover
com.adobe.ep.ux.content.view.components.grid.hover.component
com.adobe.ep.ux.content.view.components.grid.renderers
com.adobe.ep.ux.content.view.components.relationships
com.adobe.ep.ux.content.view.components.review
com.adobe.ep.ux.content.view.components.search.renderers
com.adobe.ep.ux.content.view.components.searchpod
com.adobe.ep.ux.content.view.components.toolbar
com.adobe.ep.ux.content.view.components.toolbar.controlRenderers
com.adobe.ep.ux.content.view.components.version
com.adobe.ep.ux.documentsubmit.component
com.adobe.ep.ux.documentsubmit.domain
com.adobe.ep.ux.documentsubmit.skin
com.adobe.ep.ux.taskaction.component
com.adobe.ep.ux.taskaction.domain
com.adobe.ep.ux.taskaction.domain.events
com.adobe.ep.ux.taskaction.skin
com.adobe.ep.ux.taskdetails.component
com.adobe.ep.ux.taskdetails.domain
com.adobe.ep.ux.taskdetails.skin
com.adobe.ep.ux.tasklist.component
com.adobe.ep.ux.tasklist.domain
com.adobe.ep.ux.tasklist.skin
com.adobe.ep.ux.webdocumentviewer.domain
com.adobe.exm.expression
com.adobe.exm.expression.error
com.adobe.exm.expression.event
com.adobe.exm.expression.impl
com.adobe.fiber.runtime.lib
com.adobe.fiber.services
com.adobe.fiber.services.wrapper
com.adobe.fiber.styles
com.adobe.fiber.util
com.adobe.fiber.valueobjects
com.adobe.gravity.binding
com.adobe.gravity.context
com.adobe.gravity.flex.bundleloader
com.adobe.gravity.flex.progress
com.adobe.gravity.flex.serviceloader
com.adobe.gravity.framework
com.adobe.gravity.init
com.adobe.gravity.service.bundleloader
com.adobe.gravity.service.logging
com.adobe.gravity.service.manifest
com.adobe.gravity.service.progress
com.adobe.gravity.tracker
com.adobe.gravity.ui
com.adobe.gravity.utility
com.adobe.gravity.utility.async
com.adobe.gravity.utility.error
com.adobe.gravity.utility.events
com.adobe.gravity.utility.factory
com.adobe.gravity.utility.flex.async
com.adobe.gravity.utility.logging
com.adobe.gravity.utility.message
com.adobe.gravity.utility.sequence
com.adobe.gravity.utility.url
com.adobe.guides.control
com.adobe.guides.domain
com.adobe.guides.i18n
com.adobe.guides.spark.components.skins
com.adobe.guides.spark.components.skins.mx
com.adobe.guides.spark.headers.components
com.adobe.guides.spark.headers.skins
com.adobe.guides.spark.layouts.components
com.adobe.guides.spark.layouts.skins
com.adobe.guides.spark.navigators.components
com.adobe.guides.spark.navigators.renderers
com.adobe.guides.spark.navigators.skins
com.adobe.guides.spark.util
com.adobe.guides.spark.wrappers.components
com.adobe.guides.spark.wrappers.skins
com.adobe.guides.submit
com.adobe.icc.dc.domain
com.adobe.icc.dc.domain.factory
com.adobe.icc.editors.events
com.adobe.icc.editors.handlers
com.adobe.icc.editors.managers
com.adobe.icc.editors.model
com.adobe.icc.editors.model.config
com.adobe.icc.editors.model.el
com.adobe.icc.editors.model.el.operands
com.adobe.icc.editors.model.el.operators
com.adobe.icc.enum
com.adobe.icc.external.dc
com.adobe.icc.obj
com.adobe.icc.services
com.adobe.icc.services.category
com.adobe.icc.services.config
com.adobe.icc.services.download
com.adobe.icc.services.export
com.adobe.icc.services.external
com.adobe.icc.services.formbridge
com.adobe.icc.services.fragmentlayout
com.adobe.icc.services.layout
com.adobe.icc.services.letter
com.adobe.icc.services.locator
com.adobe.icc.services.module
com.adobe.icc.services.render
com.adobe.icc.services.submit
com.adobe.icc.services.user
com.adobe.icc.token
com.adobe.icc.vo
com.adobe.icc.vo.render
com.adobe.icomm.assetplacement.controller
com.adobe.icomm.assetplacement.controller.utils
com.adobe.icomm.assetplacement.data
com.adobe.icomm.assetplacement.model
com.adobe.livecycle.assetmanager.client
com.adobe.livecycle.assetmanager.client.event
com.adobe.livecycle.assetmanager.client.handler
com.adobe.livecycle.assetmanager.client.managers
com.adobe.livecycle.assetmanager.client.model
com.adobe.livecycle.assetmanager.client.model.cms
com.adobe.livecycle.assetmanager.client.service
com.adobe.livecycle.assetmanager.client.service.search
com.adobe.livecycle.assetmanager.client.service.search.cms
com.adobe.livecycle.assetmanager.client.utils
com.adobe.livecycle.content
com.adobe.livecycle.rca.model
com.adobe.livecycle.rca.model.constant
com.adobe.livecycle.rca.model.document
com.adobe.livecycle.rca.model.participant
com.adobe.livecycle.rca.model.reminder
com.adobe.livecycle.rca.model.stage
com.adobe.livecycle.rca.service
com.adobe.livecycle.rca.service.core
com.adobe.livecycle.rca.service.core.delegate
com.adobe.livecycle.rca.service.process
com.adobe.livecycle.rca.service.process.delegate
com.adobe.livecycle.rca.token
com.adobe.livecycle.ria.security.api
com.adobe.livecycle.ria.security.service
com.adobe.mosaic.layouts
com.adobe.mosaic.layouts.dragAndDrop
com.adobe.mosaic.layouts.interfaces
com.adobe.mosaic.mxml
com.adobe.mosaic.om.constants
com.adobe.mosaic.om.events
com.adobe.mosaic.om.impl
com.adobe.mosaic.om.interfaces
com.adobe.mosaic.skinning
com.adobe.mosaic.sparklib.editors
com.adobe.mosaic.sparklib.optionMenu
com.adobe.mosaic.sparklib.scrollableMenu
com.adobe.mosaic.sparklib.scrollableMenu.skins
com.adobe.mosaic.sparklib.tabLayout
com.adobe.mosaic.sparklib.tabLayout.events
com.adobe.mosaic.sparklib.tabLayout.layouts
com.adobe.mosaic.sparklib.tabLayout.skins
com.adobe.mosaic.sparklib.text
com.adobe.mosaic.sparklib.util
com.adobe.solutions.acm.authoring.presentation
com.adobe.solutions.acm.authoring.presentation.actionbar
com.adobe.solutions.acm.authoring.presentation.common
com.adobe.solutions.acm.authoring.presentation.events
com.adobe.solutions.acm.authoring.presentation.fragment
com.adobe.solutions.acm.authoring.presentation.letter
com.adobe.solutions.acm.authoring.presentation.letter.data
com.adobe.solutions.acm.authoring.presentation.preview
com.adobe.solutions.acm.authoring.presentation.rte
com.adobe.solutions.acm.ccr.presentation
com.adobe.solutions.acm.ccr.presentation.contentcapture
com.adobe.solutions.acm.ccr.presentation.contentcapture.events
com.adobe.solutions.acm.ccr.presentation.contentcapture.preview
com.adobe.solutions.acm.ccr.presentation.datacapture
com.adobe.solutions.acm.ccr.presentation.datacapture.renderers
com.adobe.solutions.acm.ccr.presentation.pdf
com.adobe.solutions.exm
com.adobe.solutions.exm.authoring
com.adobe.solutions.exm.authoring.components.controls
com.adobe.solutions.exm.authoring.components.toolbars
com.adobe.solutions.exm.authoring.domain
com.adobe.solutions.exm.authoring.domain.expression
com.adobe.solutions.exm.authoring.domain.impl
com.adobe.solutions.exm.authoring.domain.method
com.adobe.solutions.exm.authoring.domain.variable
com.adobe.solutions.exm.authoring.enum
com.adobe.solutions.exm.authoring.events
com.adobe.solutions.exm.authoring.model
com.adobe.solutions.exm.authoring.renderer
com.adobe.solutions.exm.authoring.view
com.adobe.solutions.exm.expression
com.adobe.solutions.exm.impl
com.adobe.solutions.exm.impl.method
com.adobe.solutions.exm.method
com.adobe.solutions.exm.mock
com.adobe.solutions.exm.mock.method
com.adobe.solutions.exm.runtime
com.adobe.solutions.exm.runtime.impl
com.adobe.solutions.exm.variable
com.adobe.solutions.prm.constant
com.adobe.solutions.prm.domain
com.adobe.solutions.prm.domain.factory
com.adobe.solutions.prm.domain.impl
com.adobe.solutions.prm.domain.manager
com.adobe.solutions.prm.presentation.asset
com.adobe.solutions.prm.presentation.constant
com.adobe.solutions.prm.presentation.document
com.adobe.solutions.prm.presentation.event
com.adobe.solutions.prm.presentation.file
com.adobe.solutions.prm.presentation.project
com.adobe.solutions.prm.presentation.team
com.adobe.solutions.prm.presentation.util
com.adobe.solutions.prm.service
com.adobe.solutions.prm.services.impl
com.adobe.solutions.prm.vo
com.adobe.solutions.rca.constant
com.adobe.solutions.rca.domain
com.adobe.solutions.rca.domain.common
com.adobe.solutions.rca.domain.factory
com.adobe.solutions.rca.domain.impl
com.adobe.solutions.rca.domain.impl.manager
com.adobe.solutions.rca.domain.manager
com.adobe.solutions.rca.presentation
com.adobe.solutions.rca.presentation.comment
com.adobe.solutions.rca.presentation.constant
com.adobe.solutions.rca.presentation.event
com.adobe.solutions.rca.presentation.gantt
com.adobe.solutions.rca.presentation.gantt.ruler
com.adobe.solutions.rca.presentation.template
com.adobe.solutions.rca.presentation.template.audit
com.adobe.solutions.rca.presentation.template.definition
com.adobe.solutions.rca.presentation.template.documents
com.adobe.solutions.rca.presentation.template.stages
com.adobe.solutions.rca.presentation.util
com.adobe.solutions.rca.service
com.adobe.solutions.rca.services.impl
com.adobe.solutions.rca.vo
com.adobe.solutions.rca.vo.um
com.adobe.viewsource
fl.accessibility
fl.containers
fl.controls
fl.controls.dataGridClasses
fl.controls.listClasses
fl.controls.progressBarClasses
fl.core
fl.data
fl.display
fl.events
fl.ik
fl.lang
fl.livepreview
fl.managers
fl.motion
fl.motion.easing
fl.rsl
fl.text
fl.transitions
fl.transitions.easing
fl.video
flash.accessibility
flash.concurrent
flash.crypto
flash.data
flash.desktop
flash.display
flash.display3D
flash.display3D.textures
flash.errors
flash.events
flash.external
flash.filesystem
flash.filters
flash.geom
flash.globalization
flash.html
flash.media
flash.net
flash.net.dns
flash.net.drm
flash.notifications
flash.permissions
flash.printing
flash.profiler
flash.sampler
flash.security
flash.sensors
flash.system
flash.text
flash.text.engine
flash.text.ime
flash.ui
flash.utils
flash.xml
flashx.textLayout
flashx.textLayout.compose
flashx.textLayout.container
flashx.textLayout.conversion
flashx.textLayout.edit
flashx.textLayout.elements
flashx.textLayout.events
flashx.textLayout.factory
flashx.textLayout.formats
flashx.textLayout.operations
flashx.textLayout.utils
flashx.undo
ga.controls
ga.layouts
ga.model
ga.uiComponents
ga.util
ga.views
ga.wrappers
lc.foundation
lc.foundation.domain
lc.foundation.events
lc.foundation.ui
lc.foundation.util
lc.preloader
lc.procmgmt
lc.procmgmt.commands
lc.procmgmt.domain
lc.procmgmt.events
lc.procmgmt.formbridge
lc.procmgmt.impl
lc.procmgmt.ui.attachments
lc.procmgmt.ui.controls
lc.procmgmt.ui.controls.card
lc.procmgmt.ui.controls.renderer
lc.procmgmt.ui.help
lc.procmgmt.ui.layout
lc.procmgmt.ui.presentationmodel
lc.procmgmt.ui.process
lc.procmgmt.ui.search
lc.procmgmt.ui.startpoint
lc.procmgmt.ui.task
lc.procmgmt.ui.task.form
lc.procmgmt.ui.task.form.commands
lc.procmgmt.ui.tracking
mx.accessibility
mx.automation
mx.automation.air
mx.automation.delegates
mx.automation.delegates.advancedDataGrid
mx.automation.delegates.charts
mx.automation.delegates.containers
mx.automation.delegates.controls
mx.automation.delegates.controls.dataGridClasses
mx.automation.delegates.controls.fileSystemClasses
mx.automation.delegates.core
mx.automation.delegates.flashflexkit
mx.automation.events
mx.binding
mx.binding.utils
mx.charts
mx.charts.chartClasses
mx.charts.effects
mx.charts.effects.effectClasses
mx.charts.events
mx.charts.renderers
mx.charts.series
mx.charts.series.items
mx.charts.series.renderData
mx.charts.styles
mx.collections
mx.collections.errors
mx.containers
mx.containers.accordionClasses
mx.containers.dividedBoxClasses
mx.containers.errors
mx.containers.utilityClasses
mx.controls
mx.controls.advancedDataGridClasses
mx.controls.dataGridClasses
mx.controls.listClasses
mx.controls.menuClasses
mx.controls.olapDataGridClasses
mx.controls.scrollClasses
mx.controls.sliderClasses
mx.controls.textClasses
mx.controls.treeClasses
mx.controls.videoClasses
mx.core
mx.core.windowClasses
mx.data
mx.data.crypto
mx.data.errors
mx.data.events
mx.data.messages
mx.data.mxml
mx.data.offline.errors
mx.data.utils
mx.effects
mx.effects.easing
mx.effects.effectClasses
mx.events
mx.filters
mx.flash
mx.formatters
mx.geom
mx.graphics
mx.graphics.codec
mx.graphics.shaderClasses
mx.logging
mx.logging.errors
mx.logging.targets
mx.managers
mx.messaging
mx.messaging.channels
mx.messaging.config
mx.messaging.errors
mx.messaging.events
mx.messaging.management
mx.messaging.messages
mx.modules
mx.netmon
mx.olap
mx.olap.aggregators
mx.preloaders
mx.printing
mx.resources
mx.rpc
mx.rpc.events
mx.rpc.http
mx.rpc.http.mxml
mx.rpc.livecycle
mx.rpc.mxml
mx.rpc.remoting
mx.rpc.remoting.mxml
mx.rpc.soap
mx.rpc.soap.mxml
mx.rpc.wsdl
mx.rpc.xml
mx.skins
mx.skins.halo
mx.skins.spark
mx.skins.wireframe
mx.skins.wireframe.windowChrome
mx.states
mx.styles
mx.utils
mx.validators
org.osmf.containers
org.osmf.display
org.osmf.elements
org.osmf.events
org.osmf.layout
org.osmf.logging
org.osmf.media
org.osmf.metadata
org.osmf.net
org.osmf.net.dvr
org.osmf.net.httpstreaming
org.osmf.net.metrics
org.osmf.net.qos
org.osmf.net.rtmpstreaming
org.osmf.net.rules
org.osmf.traits
org.osmf.utils
spark.accessibility
spark.automation.delegates
spark.automation.delegates.components
spark.automation.delegates.components.gridClasses
spark.automation.delegates.components.mediaClasses
spark.automation.delegates.components.supportClasses
spark.automation.delegates.skins.spark
spark.automation.events
spark.collections
spark.components
spark.components.calendarClasses
spark.components.gridClasses
spark.components.mediaClasses
spark.components.supportClasses
spark.components.windowClasses
spark.core
spark.effects
spark.effects.animation
spark.effects.easing
spark.effects.interpolation
spark.effects.supportClasses
spark.events
spark.filters
spark.formatters
spark.formatters.supportClasses
spark.globalization
spark.globalization.supportClasses
spark.layouts
spark.layouts.supportClasses
spark.managers
spark.modules
spark.preloaders
spark.primitives
spark.primitives.supportClasses
spark.skins
spark.skins.mobile
spark.skins.mobile.supportClasses
spark.skins.spark
spark.skins.spark.mediaClasses.fullScreen
spark.skins.spark.mediaClasses.normal
spark.skins.spark.windowChrome
spark.skins.wireframe
spark.skins.wireframe.mediaClasses
spark.skins.wireframe.mediaClasses.fullScreen
spark.transitions
spark.utils
spark.validators
spark.validators.supportClasses
xd.core.axm.enterprise.view.components
xd.core.axm.enterprise.view.skins
xd.core.axm.view.components
xd.core.axm.view.components.support

Taalelementen

Algemene constanten
Algemene functies
Operatoren
Programmeerinstructies, gereserveerde woorden en compileraanwijzingen
Speciale typen

Bijlagen

Nieuw
Compilerfouten
Compilerwaarschuwingen
Uitvoeringsfouten
Migreren naar ActionScript 3
Ondersteunde tekensets
Alleen MXML-labels
Elementen van bewegings-XML
Timed Text-tags
Lijst van vervangen elementen
Constanten voor toegankelijkheidsimplementatie
ActionScript-voorbeelden gebruiken
Juridische kennisgeving
Pakketflashx.textLayout.elements
Klassepublic final class InlineGraphicElement
OverervingInlineGraphicElement Inheritance FlowLeafElement Inheritance FlowElement Inheritance Object

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De InlineGraphicElement-klasse verwerkt grafische objecten die inline in de tekst worden weergegeven.

U kunt een afbeelding of een DisplayObject naar keuze invoegen of een URI opgeven voor de locatie van de afbeelding. De Hoogte en Breedte-eigenschappen van het InlineGraphicElement bepalen de ware grootte van de weergegeven afbeelding. Deze waarden bepalen ook hoeveel ruimte er voor de afbeelding wordt toegewezen in het TextLine-object dat de afbeelding bevat. De Hoogte en Breedte-eigenschappen kunnen elk als volgt worden opgegeven:

  1. Een aanta pixels
  2. Een percentage van de opgemeten grootte van de afbeelding
  3. De constante, "Automatisch", die de grootte berekent (standaardwaarde)
Er zijn drie eigenschappen of accessoren, voor de breedte en hoogte van een afbeelding:
  • De breedte en hoogte-eigenschappen
  • De measuredWidth measuredHeight-eigenschappen, geven de breedte of hoogte van een afbeelding tijdens de laadtijd weer.
  • De actualWidth en actualHeight-eigenschappen, die de werkelijke hoogte en breedte bij de weergave en samenstelling van een afbeelding weergeven. Deze zijn berekend op basis van de Breedte of Hoogte en measuredWidth of measuredHeight.

Totdat de afbeelding is geladen, zijn de waarden van de actualWidth en actualHeight-eigenschappen altijd nul.

Als de bron als een URI is opgegeven, dan wordt de afbeelding asynchroon geladen. Als het een DisplayObject is, gebruikt TextLayout de breedte en hoogte van het tijdstip waarop de afbeelding in het InlineGraphicElement-object is geplaatst als measuredHeight en measuredWidth; de breedte en hoogte worden direct gelezen.

Opmerkingen: voor afbeeldingen die asynchroon worden geladen, moet de gebruiker zoeken naar een StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE-gebeurtenis op de TextFlow en vervolgens IFlowComposer.updateAllControllers() aanroepen om de afbeelding te laten verschijnen. De waarde van measuredWidth en measuredHeight voor afbeeldingen die op dat moment worden geladen, is nul.

Sommige inlineafbeeldingen zijn animaties of video's die audio kunnen bevatten. Ze worden afgespeeld wanneer ze voor het eerst na hun samenstelling worden geladen. Ze stoppen pas met afspelen wanneer de flowComposer op de TextFlow op nul wordt ingesteld. Dan worden ze stopgezet en wordt het laden ongedaan gemaakt.

Op InLineGraphicElement-objecten zijn de volgende beperkingen van toepassing:
  1. Tijdens het exporteren van TLFMarkup wordt de bron in een tekenreeks geconverteerd. Als de afbeelding een klasse is, kan het Text Layout Framework niet correct exporteren.
  2. .
  3. Wanneer u een bewerking kopiëren/plakken van een InlineGraphicElement uitvoert, als een bron niet kan worden gebruikt voor het maken van een nieuw InLineGraphicElement, wordt dit niet geplakt. Als de bron bijvoorbeeld een DisplayObject is of als de afbeelding direct is ingesteld, kan dit niet worden gedupliceerd. De beste resultaten worden bereikt als de bron de klasse van een ingesloten afbeelding is, hoewel deze niet exporteert/importeert.
  4. InLineGraphicElement-objecten werken alleen in de fabriek (TextFlowTextLineFactory) als de bron een klasse is of als u de afbeelding expliciet op een geladen afbeelding instelt. InlineGraphics-objecten die vertraagd laden vereisen, worden over het algemeen niet weergegeven.

Bekijk de voorbeelden

Meer voorbeelden

Verwante API-elementen



Openbare eigenschappen
 EigenschapGedefinieerd door
  actualHeight : Number
[alleen-lezen] De werkelijke hoogte zoals weergegeven.
InlineGraphicElement
  actualWidth : Number
[alleen-lezen] De werkelijke breedte zoals weergegeven.
InlineGraphicElement
 InheritedalignmentBaseline : *
TextLayoutFormat: geeft de basislijn weer, waaraan de dominante basislijn wordt uitgelijnd.
FlowElement
 InheritedbackgroundAlpha : *
TextLayoutFormat: de alfawaarde (transparantie) van de achtergrond (de standaardwaarde wordt overgenomen als de waarde niet is gedefinieerd tijdens de trapsgewijze opmaak).
FlowElement
 InheritedbackgroundColor : *
TextLayoutFormat: de achtergrondkleur (de standaardwaarde wordt overgenomen als de waarde niet is gedefinieerd tijdens de trapsgewijze opmaak).
FlowElement
 InheritedbaselineShift : *
TextLayoutFormat: hoeveelheid dat de basislijn vanaf de dominantBaseline-waarde wordt verschoven.
FlowElement
 InheritedblockProgression : *
TextLayoutFormat: geeft een verticale of horizontale voortgang van lijnplaatsing aan.
FlowElement
 InheritedbreakOpportunity : *
TextLayoutFormat: besturingselementen waarin lijnen onderbroken mogen worden, wanneer tekstomloop in meerdere lijnen wordt opgebroken.
FlowElement
 InheritedcffHinting : *
TextLayoutFormat: het type CFF-hinting dat wordt gebruikt voor deze tekst.
FlowElement
 InheritedclearFloats : *
TextLayoutFormat: bepaalt hoe tekst om een float loopt.
FlowElement
 Inheritedcolor : *
TextLayoutFormat: kleur van de tekst.
FlowElement
 InheritedcolumnCount : *
TextLayoutFormat: het aantal tekstkolommen (neemt de standaardwaarde over als deze tijdens de trapsgewijze opmaak niet is gedefinieerd).
FlowElement
 InheritedcolumnGap : *
TextLayoutFormat: geeft de waarde van de tussenruimte tussen de kolommen in pixels op (neemt de standaardwaarde over als deze tijdens de trapsgewijze opmaak niet gedefinieerd is).
FlowElement
 InheritedcolumnWidth : *
TextLayoutFormat: kolombreedte in pixels (neemt de standaardwaarde over als deze tijdens de trapsgewijze opmaak niet gedefinieerd is).
FlowElement
 InheritedcomputedFormat : flashx.textLayout.formats:ITextLayoutFormat
[overschrijven] [alleen-lezen] De berekende opmaakkenmerken die actief zijn voor dit element.
FlowLeafElement
 Inheritedconstructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie.
Object
 InheritedcoreStyles : Object
[alleen-lezen] Retourneert de coreStyles voor dit FlowElement.
FlowElement
 InheriteddigitCase : *
TextLayoutFormat: het cijfertype dat wordt gebruikt voor deze tekst.
FlowElement
 InheriteddigitWidth : *
TextLayoutFormat: het type cijferbreedte dat wordt gebruikt voor deze tekst.
FlowElement
 Inheriteddirection : *
TextLayoutFormat: geeft het standaardinsluitingsniveau in twee richtingen van de tekst in het tekstblok aan.
FlowElement
 InheriteddominantBaseline : *
TextLayoutFormat: geeft aan welke elementbasislijn vastgezet is op de alignmentBaseline om de verticale positie van het element op de lijn te bepalen.
FlowElement
 InheritedfirstBaselineOffset : *
TextLayoutFormat: geeft de basislijnpositie van de eerste regel in de container aan.
FlowElement
  float : *
Bepaalt de positie van de afbeelding ten opzichte van de tekst.
InlineGraphicElement
 InheritedfontFamily : *
TextLayoutFormat: de naam van het te gebruiken lettertype of een door komma's gescheiden lijst met namen van lettertypen.
FlowElement
 InheritedfontLookup : *
TextLayoutFormat: het gevonden lettertype wordt gebruikt.
FlowElement
 InheritedfontSize : *
TextLayoutFormat: de tekstgrootte in pixels.
FlowElement
 InheritedfontStyle : *
TextLayoutFormat: tekststijl.
FlowElement
 InheritedfontWeight : *
TextLayoutFormat: tekstdikte.
FlowElement
 Inheritedformat : flashx.textLayout.formats:ITextLayoutFormat
TextLayoutFormat-eigenschappen die rechtstreeks op dit element zijn toegepast.
FlowElement
  graphic : DisplayObject
[alleen-lezen] De ingesloten afbeelding.
InlineGraphicElement
  height : *
De hoogte van de afbeelding.
InlineGraphicElement
 Inheritedid : String
Wijst een identificatienaam aan het element toe, waardoor het mogelijk wordt om voor het element een stijl in te stellen door naar de id te verwijzen.
FlowElement
 InheritedjustificationRule : *
TextLayoutFormat: regel die gebruikt wordt om tekst in een alinea uit te vullen.
FlowElement
 InheritedjustificationStyle : *
TextLayoutFormat: de stijl die gebruikt wordt voor de uitvulling van de alinea.
FlowElement
 Inheritedkerning : *
TextLayoutFormat: met tekenspatiëring worden de pixels tussen bepaalde tekenparen aangepast om de leesbaarheid te verbeteren.
FlowElement
 InheritedleadingModel : *
TextLayoutFormat: geeft het regelafstandmodel aan; dit is een combinatie van de regelafstandbasis en de regelafstandrichting.
FlowElement
 InheritedligatureLevel : *
TextLayoutFormat: bepaalt welke ligaturen die in het lettertype gedefinieerd zijn, in de tekst gebruikt kunnen worden.
FlowElement
 InheritedlineBreak : *
TextLayoutFormat: bepaalt de tekstomloop binnen de container (neemt de standaardwaarde over, als deze niet is gedefinieerd tijdens de trapsgewijze opmaak).
FlowElement
 InheritedlineHeight : *
TextLayoutFormat: besturingselementen voor de regelafstand in de tekst.
FlowElement
 InheritedlineThrough : *
TextLayoutFormat: indien true, wordt doorhalen toegepast door een lijn door het midden van de tekst te trekken.
FlowElement
 InheritedlinkActiveFormat : *
TextLayoutFormat: definieert de opmaakkenmerken die worden gebruikt voor koppelingen met normale status.
FlowElement
 InheritedlinkHoverFormat : *
TextLayoutFormat: bepaalt de opmaakkenmerken die worden gebruikt voor koppelingen in aanwijstoestand, wanneer de muis zich binnen de begrenzingen (schuivend over) van een koppeling bevindt.
FlowElement
 InheritedlinkNormalFormat : *
TextLayoutFormat: definieert de opmaakkenmerken die worden gebruikt voor koppelingen met normale status.
FlowElement
 InheritedlistAutoPadding : *
TextLayoutFormat: geeft een automatische inspringing voor de beginrand van lijsten aan wanneer de opvulwaarde van de lijst voor die zijde auto is.
FlowElement
 InheritedlistMarkerFormat : *
TextLayoutFormat: definieert de opmaakkenmerken voor lijstmarkeringen.
FlowElement
 InheritedlistStylePosition : *
TextLayoutFormat: geldige waarden zijn ListStylePosition.INSIDE, ListStylePosition.OUTSIDE, FormatValue.INHERIT. Standaardwaarde is ongedefinieerd, wat aangeeft dat dit niet is ingesteld. Als de waarde niet is gedefinieerd tijdens de trapsgewijze opmaak, neemt deze eigenschap de waarde van een voorouder over.
FlowElement
 InheritedlistStyleType : *
TextLayoutFormat: geldige waarden zijn ListStyleType.UPPER_ALPHA, ListStyleType.LOWER_ALPHA, ListStyleType.UPPER_ROMAN, ListStyleType.LOWER_ROMAN, ListStyleType.NONE, ListStyleType.DISC, ListStyleType.CIRCLE, ListStyleType.SQUARE, ListStyleType.BOX, ListStyleType.CHECK, ListStyleType.DIAMOND, ListStyleType.HYPHEN, ListStyleType.ARABIC_INDIC, ListStyleType.BENGALI, ListStyleType.DECIMAL, ListStyleType.DECIMAL_LEADING_ZERO, ListStyleType.DEVANAGARI, ListStyleType.GUJARATI, ListStyleType.GURMUKHI, ListStyleType.KANNADA, ListStyleType.PERSIAN, ListStyleType.THAI, ListStyleType.URDU, ListStyleType.CJK_EARTHLY_BRANCH, ListStyleType.CJK_HEAVENLY_STEM, ListStyleType.HANGUL, ListStyleType.HANGUL_CONSTANT, ListStyleType.HIRAGANA, ListStyleType.HIRAGANA_IROHA, ListStyleType.KATAKANA, ListStyleType.KATAKANA_IROHA, ListStyleType.LOWER_ALPHA, ListStyleType.LOWER_GREEK, ListStyleType.LOWER_LATIN, ListStyleType.UPPER_ALPHA, ListStyleType.UPPER_GREEK, ListStyleType.UPPER_LATIN, FormatValue.INHERIT. Standaardwaarde is ongedefinieerd, wat aangeeft dat dit niet is ingesteld. Als de waarde niet is gedefinieerd tijdens de trapsgewijze opmaak, neemt deze eigenschap de waarde van een voorouder over.
FlowElement
 Inheritedlocale : *
TextLayoutFormat: de landinstelling van de tekst.
FlowElement
  measuredHeight : Number
[alleen-lezen] De natuurlijke hoogte van de afbeelding.
InlineGraphicElement
  measuredWidth : Number
[alleen-lezen] De natuurlijke breedte van de afbeelding.
InlineGraphicElement
 InheritedpaddingBottom : *
TextLayoutFormat: onderste inzet in pixels.
FlowElement
 InheritedpaddingLeft : *
TextLayoutFormat: linkerinzet in pixels.
FlowElement
 InheritedpaddingRight : *
TextLayoutFormat: rechterinzet in pixels.
FlowElement
 InheritedpaddingTop : *
TextLayoutFormat: bovenste inzet in pixels.
FlowElement
 InheritedparagraphEndIndent : *
TextLayoutFormat: een Getal dat, in pixels, opgeeft hoeveel er aan de eindrand van de alinea moet worden ingesprongen.
FlowElement
 InheritedparagraphSpaceAfter : *
TextLayoutFormat: een getal dat aangeeft hoeveel ruimte in pixels er na een alinea overblijft.
FlowElement
 InheritedparagraphSpaceBefore : *
TextLayoutFormat: een getal dat aangeeft hoeveel ruimte in pixels er vóór een alinea is.
FlowElement
 InheritedparagraphStartIndent : *
TextLayoutFormat: een Getal dat, in pixels, opgeeft hoeveel er aan de beginrand van de alinea moet worden ingesprongen.
FlowElement
 Inheritedparent : FlowGroupElement
[alleen-lezen] Retourneert het bovenliggende object van dit FlowElement-object.
FlowElement
 InheritedparentRelativeEnd : int
[alleen-lezen] Retourneert het relatieve einde van dit FlowElement-object in het bovenliggende object.
FlowElement
 InheritedparentRelativeStart : int
[alleen-lezen] Retourneert de relatieve start van dit FlowElement-object in het bovenliggende object.
FlowElement
 InheritedrenderingMode : *
TextLayoutFormat: de renderingmodus voor deze tekst.
FlowElement
  source : Object
Stelt de bron voor de afbeelding in.
InlineGraphicElement
  status : String
[alleen-lezen] De huidige status van de afbeelding.
InlineGraphicElement
 InheritedstyleName : *
TextLayoutFormat: wijst een identificatieklasse toe aan het element zodat het mogelijk wordt een stijl voor het element in te stellen door te verwijzen naar de styleName.
FlowElement
 Inheritedstyles : Object
[alleen-lezen] Retourneert de stijlen voor dit FlowElement.
FlowElement
 InheritedtabStops : *
TextLayoutFormat: geeft de tabstops aan die gerelateerd zijn aan de alinea.
FlowElement
 Inheritedtext : String
[alleen-lezen] De tekst die aan een FlowLeafElement is gekoppeld: de waarde voor de SpanElement-subklasse De waarde voor de BreakElement-subclasse is een U+2028. De waarde voor de TabElement-subklasseis een tab. De waarde voor InlineGraphicElement-subklasse is U+FDEF.
FlowLeafElement
 InheritedtextAlign : *
TextLayoutFormat: de uitlijning van lijnen in de alinea ten opzichte van de container.
FlowElement
 InheritedtextAlignLast : *
TextLayoutFormat: de uitlijning van de laatste (of enige) lijn in de alinea ten opzichte van de container in de uitgevulde tekst.
FlowElement
 InheritedtextAlpha : *
TextLayoutFormat: alfawaarde (transparantie) voor de tekst.
FlowElement
 InheritedtextDecoration : *
TextLayoutFormat: tekstdecoratie.
FlowElement
 InheritedtextIndent : *
TextLayoutFormat: een Getal dat, in pixels, opgeeft hoeveel er bij de eerste regel van de alinea moet worden ingesprongen.
FlowElement
 InheritedtextJustify : *
TextLayoutFormat: geeft opties op voor het uitvullen van tekst.
FlowElement
 InheritedtextLength : int
[alleen-lezen] Retourneert de totale lengte van tekst die eigendom is van dit FlowElement-object en de bijbehorende onderliggende objecten.
FlowElement
 InheritedtextRotation : *
TextLayoutFormat: bepaalt het aantal graden waarmee deze tekst geroteerd wordt.
FlowElement
 Inheritedtracking : Object
[alleen-schrijven] Hiermee wordt de 'tracking' ingesteld; dit is gelijk aan de trackingRight-eigenschap.
FlowElement
 InheritedtrackingLeft : *
TextLayoutFormat: getal in pixels (of percentage van fontSize, bijvoorbeeld 120%) dat aangeeft hoeveel 'tracking' (handmatige tekenspatiëring) links van elk teken moet worden toegepast.
FlowElement
 InheritedtrackingRight : *
TextLayoutFormat: getal in pixels (of percentage van fontSize, bijvoorbeeld 120%) dat aangeeft hoeveel 'tracking' (handmatige tekenspatiëring) rechts van elk teken moet worden toegepast.
FlowElement
 InheritedtypeName : String
Elk FlowElement heeft een typeName.
FlowElement
 InheritedtypographicCase : *
TextLayoutFormat: het typografische type dat wordt gebruikt voor deze tekst.
FlowElement
 InheriteduserStyles : Object
Stelt u in staat gebruikersstijlen te lezen en weg te schrijven op een FlowElement-object.
FlowElement
 InheritedverticalAlign : *
TextLayoutFormat: verticale uitlijning of uitvulling (neemt de standaardwaarde over als deze tijdens de trapsgewijze opmaak niet gedefinieerd is).
FlowElement
 InheritedwhiteSpaceCollapse : *
TextLayoutFormat: vouwt witruimte samen of behoudt deze tijdens het importeren van tekst in een TextFlow.
FlowElement
  width : *
De breedte van de afbeelding.
InlineGraphicElement
 InheritedwordSpacing : *
TextLayoutFormat: geeft de optimale, minimale en maximale spatiëring (als een vermenigvuldiger van de breedte van een normale spatie) tussen woorden op die moet worden gebruikt tijdens uitvulling.
FlowElement
Openbare methoden
 MethodeGedefinieerd door
  
Constructor: maakt een nieuw InlineGraphicElement-object
InlineGraphicElement
 Inherited
Hiermee wordt de stijl bepaald door de styleProp-parameter van dit FlowElement-object.
FlowElement
 Inherited
deepCopy(relativeStart:int = 0, relativeEnd:int = -1):FlowElement
Maakt een uitgebreide kopie van dit FlowElement-object, inclusief alle onderliggende elementen, waarbij de inhoud tussen de twee opgegeven tekenposities wordt gekopieerd. De kopie wordt geretourneerd als een FlowElement-object.
FlowElement
 Inherited
Vergelijk de userStyles van dit met element met de userStyles van otherElement.
FlowElement
 Inherited
Retourneert de beginlocatie van het element in de tekstflow als een absolute index.
FlowElement
 Inherited
getCharAtPosition(relativePosition:int):String
Retourneert het teken bij de opgegeven positie, relatief ten opzichte van dit FlowElement-object.
FlowElement
 Inherited
getCharCodeAtPosition(relativePosition:int):int
Retourneert de tekencode bij de opgegeven positie, relatief ten opzichte van dit FlowElement-object.
FlowElement
 Inherited
Retourneert het FontMetrics-object voor het bereik.
FlowLeafElement
 Inherited
Retourneert het begin van dit element, relatief ten opzichte van een bovenliggend element.
FlowElement
 Inherited
Retourneert het volgende FlowLeafElement-object.
FlowLeafElement
 Inherited
Retourneert het volgende FlowElement dat zich op hetzelfde niveau bevindt in de tekstflowhiërarchie.
FlowElement
 Inherited
Retourneert het ParagraphElement-object dat is gekoppeld aan dit element.
FlowElement
 Inherited
Retourneert het voorafgaande FlowLeafElement-object.
FlowLeafElement
 Inherited
Retourneert het voorgaande FlowElement dat zich op hetzelfde niveau bevindt in de tekstflowhiërarchie.
FlowElement
 Inherited
getStyle(styleProp:String):*
Retourneert de waarde van de stijl die is opgegeven door de styleProp-parameter, die de stijlnaam aangeeft en eender welke gebruikersstijlnaam kan bevatten.
FlowElement
 Inherited
getText(relativeStart:int = 0, relativeEnd:int = -1, paragraphSeparator:String = " "):String
Haalt het opgegeven tekstbereik uit een flowelement op.
FlowElement
 Inherited
Klimt omhoog in de tekstflowhiërarchie en retourneert het basis-TextFlow-object voor het element.
FlowElement
 Inherited
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd.
Object
 Inherited
Opgeroepen voor MXML-objecten nadat het implementerende object is gemaakt en alle componenteigenschappen die op de MXML-tag zijn opgegeven, zijn geïnitialiseerd.
FlowElement
 Inherited
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven.
Object
 Inherited
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd.
Object
 Inherited
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in.
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
Hiermee wordt de stijl, zoals bepaald door de styleProp-parameter, ingesteld op de waarde die is bepaald door de newValue-parameter.
FlowElement
 Inherited
shallowCopy(relativeStart:int = 0, relativeEnd:int = -1):FlowElement
Maakt een kopie van dit FlowElement-object, zodat de inhoud tussen twee opgegeven tekenposities wordt gekopieerd.
FlowElement
 Inherited
splitAtPosition(relativePosition:int):FlowElement
Hiermee wordt dit FlowElement-object opgedeeld op de positie die wordt bepaald door de relativePosition-parameter. Dit is de relatieve positie in de tekst voor dit element.
FlowElement
 Inherited
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies.
Object
 Inherited
Retourneert een tekenreeksrepresentatie van het opgegeven object.
Object
 Inherited
Retourneert de primitieve waarde van het opgegeven object.
Object
Eigenschapdetails

actualHeight

eigenschap
actualHeight:Number  [alleen-lezen]

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De werkelijke hoogte zoals weergegeven. Dit is de hoogte van de weergave en de samenstelling die is berekend op basis van de hoogte en measuredHeight-eigenschappen.

De waarden van de actualHeight-eigenschap worden berekend volgens de onderstaande tabel:

Hoogte-eigenschapactualHeight
automeasuredHeight
h a Procenth percentage van measuredheight
h a Aantalh

Opmerkingen: als de inlineafbeelding een DisplayObject is, worden de breedte en hoogte ervan direct gelezen. Als de waarde van measuredWidth of measuredHeight nul is, wordt het resultaat van automatische berekeningen waarbij door nul word gedeeld, ingesteld op nul.



Implementatie
    public function get actualHeight():Number

Verwante API-elementen

actualWidth

eigenschap 
actualWidth:Number  [alleen-lezen]

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De werkelijke breedte zoals weergegeven. Dit is de breedte van de weergave en de samenstelling die is berekend op basis van de breedte en measuredWidht-eigenschappen.

De waarden van de actualWidth-eigenschap worden berekend volgens de onderstaande tabel:

Breedte-eigenschapactualWidth
automeasuredWidth
w a Procentw percentage van measuredWidth
w a Aantalw

Opmerkingen: als de inlineafbeelding een DisplayObject is, worden de breedte en hoogte ervan direct gelezen. Als de waarde van measuredWidth of measuredHeight nul is, wordt het resultaat van automatische berekeningen waarbij door nul word gedeeld, ingesteld op nul.



Implementatie
    public function get actualWidth():Number

Verwante API-elementen

float

eigenschap 
float:*

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 2.0

Bepaalt de positie van de afbeelding ten opzichte van de tekst. De afbeelding kan op de regel worden weergegeven, maar ook naast de regel met de tekst er omheen.

Geldige waarden zijn flashx.textLayout.formats.Float.NONE, flashx.textLayout.formats.Float.LEFT, flashx.textLayout.formats.Float.RIGHT, flashx.textLayout.formats.Float.START en flashx.textLayout.formats.Float.END.

Standaardwaarde is ongedefinieerd, wat aangeeft dat dit niet is ingesteld.

Indien ongedefinieerd, wordt de instelling Float.NONE gebruikt.



Implementatie
    public function get float():*
    public function set float(value:any):void

Gegenereerde uitzondering
RangeError — wanneer de ingestelde waarde zich niet binnen het bereik van deze eigenschap bevindt.

Verwante API-elementen

graphic

eigenschap 
graphic:DisplayObject  [alleen-lezen]

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De ingesloten afbeelding.



Implementatie
    public function get graphic():DisplayObject

height

eigenschap 
height:*

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De hoogte van de afbeelding. Kan "automatisch" zijn, een aantal pixels of een percentage van de gemeten hoogte.

Geldige waarden zijn: flashx.textLayout.formats.FormatValue.AUTO en flashx.textLayout.formats.FormatValue.INHERIT.

Geldige waarden zijn getallen tussen 0 en 32000.

Geldige percentagewaarden als getallen tussen 0 en 1000000.

Standaardwaarde is ongedefinieerd, wat aangeeft dat dit niet is ingesteld.

Als het InlineGraphicElement niet gedefinieerd of 'inherit' is, wordt de standaardwaarde van 'auto' gebruikt.



Implementatie
    public function get height():*
    public function set height(value:any):void

Gegenereerde uitzondering
RangeError — wanneer de ingestelde waarde zich niet binnen het bereik van deze eigenschap bevindt.

Verwante API-elementen

measuredHeight

eigenschap 
measuredHeight:Number  [alleen-lezen]

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De natuurlijke hoogte van de afbeelding. Dit is de hoogte van de afbeelding tijdens het laden.



Implementatie
    public function get measuredHeight():Number

Verwante API-elementen

measuredWidth

eigenschap 
measuredWidth:Number  [alleen-lezen]

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De natuurlijke breedte van de afbeelding. Dit is de breedte van de afbeelding tijdens het laden.



Implementatie
    public function get measuredWidth():Number

Verwante API-elementen

source

eigenschap 
source:Object

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

Stelt de bron voor de afbeelding in. De waarde kan een Tekenreeks zijn die wordt geïnterpreteerd als een URI, een klasse die wordt geïnterpreteerd als de klasse van een ingesloten DisplayObject, een DisplayObject-instantie of een URLRequest. Hiermee wordt een DisplayObject gemaakt en, als het InlineGraphicElement-object wordt toegevoegd aan een ParagraphElement in een TextFlow-object, zorgt dat het inline in een tekst verschijnt.



Implementatie
    public function get source():Object
    public function set source(value:Object):void

Voorbeeld  ( Hoe dit voorbeeld te gebruiken )
Dit voorbeeld geeft een tekstblok weer dat wordt gevolgd door een InlineGraphicElement-object.
package flashx.textLayout.elements.examples 
{    
    import flash.display.Sprite;
    import flashx.textLayout.elements.TextFlow;
    import flashx.textLayout.elements.InlineGraphicElement;
    import flashx.textLayout.elements.ParagraphElement;
    import flashx.textLayout.elements.SpanElement;
    import flashx.textLayout.container.ContainerController;
    
    
    public class InlineGraphicElement_sourceExample extends Sprite
    {    
        public function InlineGraphicElement_sourceExample(){
            // create a container and a controller for it
            var container:Sprite = new Sprite();
            this.stage.addChild(container);
            // create the TextFlow, ParagraphElement, SpanElement, and InlineGraphicElement objects    
            var textFlow:TextFlow = new TextFlow();
            var p:ParagraphElement = new ParagraphElement();
            var inlineGraphicElement:InlineGraphicElement = new InlineGraphicElement();
            var span:SpanElement = new SpanElement();
            // add the graphic
            inlineGraphicElement.source = drawRect();
            // add text to the spans, spans and graphic to paragraph        
            span.text = "Too much depends upon a ";
            span.fontSize = 48;
            p.addChild(span); 
            p.addChild(inlineGraphicElement);
            // add paragraph to text flow and update controller to display
            textFlow.addChild(p);
            var controller:ContainerController = new ContainerController(container, 400, 300 );
            textFlow.flowComposer.addController(controller);
            textFlow.flowComposer.updateAllControllers(); 
        }

        private function drawRect():Sprite
        {
            var redRect:Sprite = new Sprite();
            redRect.graphics.beginFill(0xff0000);    // red
            redRect.graphics.drawRect(0,0,30, 30);
            redRect.graphics.endFill();
            return redRect;
        }
    }
}

status

eigenschap 
status:String  [alleen-lezen]

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De huidige status van de afbeelding. Bij elke statuswijziging verstuurt de TextFlow-eigenaar een StatusChangeEvent.



Implementatie
    public function get status():String

Verwante API-elementen

width

eigenschap 
width:*

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

De breedte van de afbeelding. De waarde kan "automatisch" zijn, een aantal pixels of een percentage van de gemeten breedte van de afbeelding.

Geldige waarden zijn: flashx.textLayout.formats.FormatValue.AUTO en flashx.textLayout.formats.FormatValue.INHERIT.

Geldige waarden zijn getallen tussen 0 en 32000.

Geldige percentagewaarden als getallen tussen 0 en 1000000.

Standaardwaarde is ongedefinieerd, wat aangeeft dat dit niet is ingesteld.

Als het InlineGraphicElement niet gedefinieerd of 'inherit' is, wordt de standaardwaarde van 'auto' gebruikt.



Implementatie
    public function get width():*
    public function set width(value:any):void

Gegenereerde uitzondering
RangeError — wanneer de ingestelde waarde zich niet binnen het bereik van deze eigenschap bevindt.

Verwante API-elementen

Constructordetails

InlineGraphicElement

()Constructor
public function InlineGraphicElement()

Taalversie: ActionScript 3.0
Runtimeversies: Flash Player 10, AIR 1.5

Constructor: maakt een nieuw InlineGraphicElement-object

InlineGraphicElementExample.as

In dit voorbeeld wordt een inline-afbeelding tussen twee tekstblokken weergegeven.
package flashx.textLayout.elements.examples 
{    
    import flash.display.Sprite;
    import flashx.textLayout.elements.TextFlow;
    import flashx.textLayout.elements.InlineGraphicElement;
    import flashx.textLayout.elements.ParagraphElement;
    import flashx.textLayout.elements.SpanElement;
    import flashx.textLayout.container.ContainerController;
    
    
    public class InlineGraphicElementExample extends Sprite
    {    
        public function InlineGraphicElementExample(){
            // create a container and a controller for it
            var container:Sprite = new Sprite();
            this.stage.addChild(container);
            var controller:ContainerController = new ContainerController(container, 400, 200 );
            // create the TextFlow, ParagraphElement, SpanElement, and InlineGraphicElement objects    
            var textFlow:TextFlow = new TextFlow();
            var p:ParagraphElement = new ParagraphElement();
            var span1:SpanElement = new SpanElement();
            var span2:SpanElement = new SpanElement();
            var inlineGraphicElement:InlineGraphicElement = new InlineGraphicElement();
            // add the graphic
            inlineGraphicElement.source = drwCircle();
            // add text to the spans, spans and graphic to paragraph        
            span1.text = "You can draw a happy face here ";
            span2.text = " if you like."
            p.fontSize = 16;
            p.addChild(span1);
            p.addChild(inlineGraphicElement);
            p.addChild(span2); 
            // add paragraph to text flow and update controller to display
            textFlow.addChild(p);
            textFlow.flowComposer.addController(controller);
            textFlow.flowComposer.updateAllControllers(); 
                    
            // draw a yellow circle for the graphic element
        }
        private function drwCircle():Sprite
        {
            var yellowCircle:Sprite = new Sprite();
            yellowCircle.graphics.beginFill(0xFFFF33);    // yellow
            yellowCircle.graphics.drawCircle(10,12,10);
            yellowCircle.graphics.endFill();
            return yellowCircle;
        }
    }
}





[ X ]Waarom in het Engels?
Sommige inhoud van de Naslaggids voor ActionScript 3.0 staat in het Engels

Niet alle onderdelen van de Naslaggids voor ActionScript 3.0 zijn in alle talen vertaald. Wanneer een taalelement niet is vertaald, wordt het in het Engels weergegeven. Zo is de klasse ga.controls.HelpBox niet in elke taal vertaald. In de Nederlandse versie van de naslaggids wordt de klasse ga.controls.HelpBox bijvoorbeeld in het Engels weergegeven.